Go to file
Jason A. Donenfeld 08d7602dc3 Improve makefile
2018-05-15 02:16:51 +02:00
ratelimiter Cleanup ratelimiter 2018-05-13 18:42:06 +02:00
rwcancel No more finalizer for rwcancel 2018-05-14 06:10:08 +02:00
tai64n global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
tests Moved test-processes to background 2018-02-11 23:31:53 +01:00
xchacha20poly1305 global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
.gitignore Added binary to .gitignore 2018-01-31 10:11:36 +01:00
allowedips_rand_test.go Odds and ends 2018-05-13 19:34:28 +02:00
allowedips_test.go Better common bits function 2018-05-14 15:49:20 +02:00
allowedips.go Print utun name on darwin 2018-05-14 19:33:35 +02:00
bind_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
build.cmd Align with go library layout 2018-02-04 16:08:26 +01:00
conn_default.go Look up route for every peer 2018-05-14 03:26:38 +02:00
conn_linux.go Cancelable netlink writes and better response correlation 2018-05-14 14:18:26 +02:00
conn.go Look up route for every peer 2018-05-14 03:26:38 +02:00
constants.go Rewrite timers and related state machines 2018-05-10 16:08:03 +02:00
cookie_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
cookie.go Clean more 2018-05-14 12:27:29 +02:00
COPYING Initial scaffolding 2017-05-30 00:13:20 +02:00
device_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
device.go Clean more 2018-05-14 12:27:29 +02:00
endpoint_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
helper_test.go Fix up tests 2018-05-13 19:35:11 +02:00
indextable.go Rework index hashtable 2018-05-13 18:26:09 +02:00
ip.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
kdf_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
keypair.go Odds and ends 2018-05-13 19:34:28 +02:00
logger.go Optional logging even in background 2018-05-14 03:38:06 +02:00
main.go Use /dev/null as place holder 2018-05-14 20:06:33 +02:00
Makefile Improve makefile 2018-05-15 02:16:51 +02:00
misc.go Introduce rwcancel 2018-05-14 00:30:52 +02:00
noise_test.go Fix noise test 2018-05-14 14:47:31 +02:00
noise-helpers.go Odds and ends 2018-05-13 19:34:28 +02:00
noise-protocol.go Clean more 2018-05-14 12:27:29 +02:00
noise-types.go Odds and ends 2018-05-13 19:34:28 +02:00
peer.go No need for padding any more 2018-05-14 04:36:20 +02:00
README.md MPLv2 for App Store 2018-02-13 19:43:47 +01:00
receive.go More refactoring 2018-05-13 23:20:13 +02:00
replay_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
replay.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
send.go More refactoring 2018-05-13 23:20:13 +02:00
timers.go More refactoring 2018-05-13 23:20:13 +02:00
tun_darwin.go Print utun name on darwin 2018-05-14 19:33:35 +02:00
tun_linux.go Netlink sockets can't be shutdown 2018-05-14 14:08:03 +02:00
tun_windows.go Odds and ends 2018-05-13 19:34:28 +02:00
tun.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
uapi_darwin.go Cleanup socket file 2018-05-14 13:05:37 +02:00
uapi_linux.go Cleanup socket file 2018-05-14 13:05:37 +02:00
uapi_windows.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
uapi.go Optional logging even in background 2018-05-14 03:38:06 +02:00

Do not use this Go code.

This is not a complete implementation of WireGuard. If you're interested in using WireGuard, use the implementation for Linux found here and described on the main wireguard website. There is no group of users that should be using the code in this repository here under any circumstances at the moment, not even beta testers or dare devils. It simply isn't complete. However, if you're interested in assisting with the Go development of WireGuard and contributing to this repository, by all means dig in and help out. But users: stay far away, at least for now.


Go Implementation of WireGuard

This is a work in progress for implementing WireGuard in Go.

License

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

---------------------------------------------------------------------------
Additional Permissions For Submission to Apple App Store: Provided that you
are otherwise in compliance with the GPLv2 for each covered work you convey
(including without limitation making the Corresponding Source available in
compliance with Section 3 of the GPLv2), you are granted the additional
the additional permission to convey through the Apple App Store
non-source executable versions of the Program as incorporated into each
applicable covered work as Executable Versions only under the Mozilla
Public License version 2.0 (https://www.mozilla.org/en-US/MPL/2.0/).