summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile (renamed from src/Makefile)0
-rwxr-xr-xbuild.cmd (renamed from src/build.cmd)0
-rw-r--r--conn.go (renamed from src/conn.go)0
-rw-r--r--conn_default.go (renamed from src/conn_default.go)0
-rw-r--r--conn_linux.go (renamed from src/conn_linux.go)0
-rw-r--r--constants.go (renamed from src/constants.go)0
-rw-r--r--cookie.go (renamed from src/cookie.go)0
-rw-r--r--cookie_test.go (renamed from src/cookie_test.go)0
-rw-r--r--daemon_darwin.go (renamed from src/daemon_darwin.go)0
-rw-r--r--daemon_linux.go (renamed from src/daemon_linux.go)0
-rw-r--r--daemon_windows.go (renamed from src/daemon_windows.go)0
-rw-r--r--device.go (renamed from src/device.go)0
-rw-r--r--helper_test.go (renamed from src/helper_test.go)0
-rw-r--r--index.go (renamed from src/index.go)0
-rw-r--r--ip.go (renamed from src/ip.go)0
-rw-r--r--kdf_test.go (renamed from src/kdf_test.go)0
-rw-r--r--keypair.go (renamed from src/keypair.go)0
-rw-r--r--logger.go (renamed from src/logger.go)0
-rw-r--r--main.go (renamed from src/main.go)0
-rw-r--r--misc.go (renamed from src/misc.go)0
-rw-r--r--noise_helpers.go (renamed from src/noise_helpers.go)0
-rw-r--r--noise_protocol.go (renamed from src/noise_protocol.go)0
-rw-r--r--noise_test.go (renamed from src/noise_test.go)0
-rw-r--r--noise_types.go (renamed from src/noise_types.go)0
-rw-r--r--peer.go (renamed from src/peer.go)0
-rw-r--r--ratelimiter.go (renamed from src/ratelimiter.go)0
-rw-r--r--ratelimiter_test.go (renamed from src/ratelimiter_test.go)0
-rw-r--r--receive.go (renamed from src/receive.go)0
-rw-r--r--replay.go (renamed from src/replay.go)0
-rw-r--r--replay_test.go (renamed from src/replay_test.go)0
-rw-r--r--routing.go (renamed from src/routing.go)0
-rw-r--r--send.go (renamed from src/send.go)0
-rw-r--r--signal.go (renamed from src/signal.go)0
-rw-r--r--tai64.go (renamed from src/tai64.go)0
-rwxr-xr-xtests/netns.sh (renamed from src/tests/netns.sh)4
-rw-r--r--timer.go (renamed from src/timer.go)0
-rw-r--r--timers.go (renamed from src/timers.go)0
-rw-r--r--trie.go (renamed from src/trie.go)0
-rw-r--r--trie_rand_test.go (renamed from src/trie_rand_test.go)0
-rw-r--r--trie_test.go (renamed from src/trie_test.go)0
-rw-r--r--tun.go (renamed from src/tun.go)0
-rw-r--r--tun_darwin.go (renamed from src/tun_darwin.go)0
-rw-r--r--tun_linux.go (renamed from src/tun_linux.go)4
-rw-r--r--tun_windows.go (renamed from src/tun_windows.go)0
-rw-r--r--uapi.go (renamed from src/uapi.go)0
-rw-r--r--uapi_darwin.go (renamed from src/uapi_darwin.go)0
-rw-r--r--uapi_linux.go (renamed from src/uapi_linux.go)0
-rw-r--r--uapi_windows.go (renamed from src/uapi_windows.go)0
-rw-r--r--xchacha20.go (renamed from src/xchacha20.go)0
-rw-r--r--xchacha20_test.go (renamed from src/xchacha20_test.go)0
50 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/Makefile
index 5b23ecc..5b23ecc 100644
--- a/src/Makefile
+++ b/Makefile
diff --git a/src/build.cmd b/build.cmd
index 52cb883..52cb883 100755
--- a/src/build.cmd
+++ b/build.cmd
diff --git a/src/conn.go b/conn.go
index fb30ec2..fb30ec2 100644
--- a/src/conn.go
+++ b/conn.go
diff --git a/src/conn_default.go b/conn_default.go
index 5b73c90..5b73c90 100644
--- a/src/conn_default.go
+++ b/conn_default.go
diff --git a/src/conn_linux.go b/conn_linux.go
index cdba74f..cdba74f 100644
--- a/src/conn_linux.go
+++ b/conn_linux.go
diff --git a/src/constants.go b/constants.go
index 71dd98e..71dd98e 100644
--- a/src/constants.go
+++ b/constants.go
diff --git a/src/cookie.go b/cookie.go
index a13ad49..a13ad49 100644
--- a/src/cookie.go
+++ b/cookie.go
diff --git a/src/cookie_test.go b/cookie_test.go
index d745fe7..d745fe7 100644
--- a/src/cookie_test.go
+++ b/cookie_test.go
diff --git a/src/daemon_darwin.go b/daemon_darwin.go
index 913af0e..913af0e 100644
--- a/src/daemon_darwin.go
+++ b/daemon_darwin.go
diff --git a/src/daemon_linux.go b/daemon_linux.go
index e1aaede..e1aaede 100644
--- a/src/daemon_linux.go
+++ b/daemon_linux.go
diff --git a/src/daemon_windows.go b/daemon_windows.go
index d5ec1e8..d5ec1e8 100644
--- a/src/daemon_windows.go
+++ b/daemon_windows.go
diff --git a/src/device.go b/device.go
index c041987..c041987 100644
--- a/src/device.go
+++ b/device.go
diff --git a/src/helper_test.go b/helper_test.go
index 41e6b72..41e6b72 100644
--- a/src/helper_test.go
+++ b/helper_test.go
diff --git a/src/index.go b/index.go
index 1ba040e..1ba040e 100644
--- a/src/index.go
+++ b/index.go
diff --git a/src/ip.go b/ip.go
index 752a404..752a404 100644
--- a/src/ip.go
+++ b/ip.go
diff --git a/src/kdf_test.go b/kdf_test.go
index a89dacc..a89dacc 100644
--- a/src/kdf_test.go
+++ b/kdf_test.go
diff --git a/src/keypair.go b/keypair.go
index 283cb92..283cb92 100644
--- a/src/keypair.go
+++ b/keypair.go
diff --git a/src/logger.go b/logger.go
index 0872ef9..0872ef9 100644
--- a/src/logger.go
+++ b/logger.go
diff --git a/src/main.go b/main.go
index b12bb09..b12bb09 100644
--- a/src/main.go
+++ b/main.go
diff --git a/src/misc.go b/misc.go
index 80e33f6..80e33f6 100644
--- a/src/misc.go
+++ b/misc.go
diff --git a/src/noise_helpers.go b/noise_helpers.go
index 1e2de5f..1e2de5f 100644
--- a/src/noise_helpers.go
+++ b/noise_helpers.go
diff --git a/src/noise_protocol.go b/noise_protocol.go
index c9713c0..c9713c0 100644
--- a/src/noise_protocol.go
+++ b/noise_protocol.go
diff --git a/src/noise_test.go b/noise_test.go
index 5e9d44b..5e9d44b 100644
--- a/src/noise_test.go
+++ b/noise_test.go
diff --git a/src/noise_types.go b/noise_types.go
index 1a944df..1a944df 100644
--- a/src/noise_types.go
+++ b/noise_types.go
diff --git a/src/peer.go b/peer.go
index dc04811..dc04811 100644
--- a/src/peer.go
+++ b/peer.go
diff --git a/src/ratelimiter.go b/ratelimiter.go
index 6e5f005..6e5f005 100644
--- a/src/ratelimiter.go
+++ b/ratelimiter.go
diff --git a/src/ratelimiter_test.go b/ratelimiter_test.go
index 13b6a23..13b6a23 100644
--- a/src/ratelimiter_test.go
+++ b/ratelimiter_test.go
diff --git a/src/receive.go b/receive.go
index 1f44df2..1f44df2 100644
--- a/src/receive.go
+++ b/receive.go
diff --git a/src/replay.go b/replay.go
index 5d42860..5d42860 100644
--- a/src/replay.go
+++ b/replay.go
diff --git a/src/replay_test.go b/replay_test.go
index 228fce6..228fce6 100644
--- a/src/replay_test.go
+++ b/replay_test.go
diff --git a/src/routing.go b/routing.go
index 2a2e237..2a2e237 100644
--- a/src/routing.go
+++ b/routing.go
diff --git a/src/send.go b/send.go
index 7488d3a..7488d3a 100644
--- a/src/send.go
+++ b/send.go
diff --git a/src/signal.go b/signal.go
index 2cefad4..2cefad4 100644
--- a/src/signal.go
+++ b/signal.go
diff --git a/src/tai64.go b/tai64.go
index 2299a37..2299a37 100644
--- a/src/tai64.go
+++ b/tai64.go
diff --git a/src/tests/netns.sh b/tests/netns.sh
index 02d428b..6c47a44 100755
--- a/src/tests/netns.sh
+++ b/tests/netns.sh
@@ -80,11 +80,11 @@ pp ip netns add $netns2
ip0 link set up dev lo
# ip0 link add dev wg1 type wireguard
-n0 $program wg1
+n0 $program -f wg1 &
ip0 link set wg1 netns $netns1
# ip0 link add dev wg1 type wireguard
-n0 $program wg2
+n0 $program -f wg2 &
ip0 link set wg2 netns $netns2
key1="$(pp wg genkey)"
diff --git a/src/timer.go b/timer.go
index f00ca49..f00ca49 100644
--- a/src/timer.go
+++ b/timer.go
diff --git a/src/timers.go b/timers.go
index 7092688..7092688 100644
--- a/src/timers.go
+++ b/timers.go
diff --git a/src/trie.go b/trie.go
index 405ffc3..405ffc3 100644
--- a/src/trie.go
+++ b/trie.go
diff --git a/src/trie_rand_test.go b/trie_rand_test.go
index 840d269..840d269 100644
--- a/src/trie_rand_test.go
+++ b/trie_rand_test.go
diff --git a/src/trie_test.go b/trie_test.go
index 9d53df3..9d53df3 100644
--- a/src/trie_test.go
+++ b/trie_test.go
diff --git a/src/tun.go b/tun.go
index 6259f33..6259f33 100644
--- a/src/tun.go
+++ b/tun.go
diff --git a/src/tun_darwin.go b/tun_darwin.go
index 87f6af6..87f6af6 100644
--- a/src/tun_darwin.go
+++ b/tun_darwin.go
diff --git a/src/tun_linux.go b/tun_linux.go
index 9756169..daa2462 100644
--- a/src/tun_linux.go
+++ b/tun_linux.go
@@ -313,7 +313,7 @@ func CreateTUNFromFile(name string, fd *os.File) (TUNDevice, error) {
}
go device.RoutineNetlinkListener()
- // go device.RoutineHackListener() // cross namespace
+ go device.RoutineHackListener() // cross namespace
// set default MTU
@@ -369,7 +369,7 @@ func CreateTUN(name string) (TUNDevice, error) {
}
go device.RoutineNetlinkListener()
- // go device.RoutineHackListener() // cross namespace
+ go device.RoutineHackListener() // cross namespace
// set default MTU
diff --git a/src/tun_windows.go b/tun_windows.go
index 0711032..0711032 100644
--- a/src/tun_windows.go
+++ b/tun_windows.go
diff --git a/src/uapi.go b/uapi.go
index caaa498..caaa498 100644
--- a/src/uapi.go
+++ b/uapi.go
diff --git a/src/uapi_darwin.go b/uapi_darwin.go
index 63d4d8d..63d4d8d 100644
--- a/src/uapi_darwin.go
+++ b/uapi_darwin.go
diff --git a/src/uapi_linux.go b/uapi_linux.go
index f97a18a..f97a18a 100644
--- a/src/uapi_linux.go
+++ b/uapi_linux.go
diff --git a/src/uapi_windows.go b/uapi_windows.go
index a4599a5..a4599a5 100644
--- a/src/uapi_windows.go
+++ b/uapi_windows.go
diff --git a/src/xchacha20.go b/xchacha20.go
index 5d963e0..5d963e0 100644
--- a/src/xchacha20.go
+++ b/xchacha20.go
diff --git a/src/xchacha20_test.go b/xchacha20_test.go
index 0f41cf8..0f41cf8 100644
--- a/src/xchacha20_test.go
+++ b/xchacha20_test.go