Modifications to wireguard-go so it can (sorta) run on NetBSD
Go to file
Jason A. Donenfeld a040786645 global: Add SPDX tags and copyright header
Mathias should probably add his copyright headers to each file too.
2018-05-03 15:06:25 +02:00
ratelimiter global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +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
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.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
conn_default.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
conn_linux.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
constants.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
cookie.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
cookie_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
COPYING Initial scaffolding 2017-05-30 00:13:20 +02:00
device.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
device_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
endpoint_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
helper_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
index.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +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 global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
logger.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
main.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
Makefile Align with go library layout 2018-02-04 16:08:26 +01:00
misc.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
noise-helpers.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
noise-protocol.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
noise-types.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
noise_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
peer.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
README.md MPLv2 for App Store 2018-02-13 19:43:47 +01:00
receive.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
replay_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
routing.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
send.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
signal.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
timer.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
timers.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
trie.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
trie_rand_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
trie_test.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
tun.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
tun_darwin.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
tun_linux.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
tun_windows.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
uapi.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
uapi_darwin.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
uapi_linux.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
uapi_windows.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
warning_default.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +02:00
warning_linux.go global: Add SPDX tags and copyright header 2018-05-03 15:06:25 +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/).