diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-21 03:55:31 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-26 12:35:06 +0200 |
commit | 79a7dc4da9702d05c5085acffe1c4f9cf72c26a6 (patch) | |
tree | df8160a06c0d7ed61a71b014b970bd8f0e8add9c /src/tests | |
parent | curve25519: keep certain sandy2x functions in C (diff) | |
download | wireguard-monolithic-historical-79a7dc4da9702d05c5085acffe1c4f9cf72c26a6.tar.xz wireguard-monolithic-historical-79a7dc4da9702d05c5085acffe1c4f9cf72c26a6.zip |
ratelimiter: rewrite from scratch
This not only removes the depenency on x_tables, but it also gives us
much better performance and memory usage. Now, systems are able to have
millions of WireGuard interfaces, without having to worry about a
thundering herd of garbage collection.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/debug.mk | 2 | ||||
-rw-r--r-- | src/tests/qemu/kernel.config | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/debug.mk b/src/tests/debug.mk index 9e34e53..5078a87 100644 --- a/src/tests/debug.mk +++ b/src/tests/debug.mk @@ -18,9 +18,7 @@ endif test: debug -sudo modprobe ip6_udp_tunnel -sudo modprobe udp_tunnel - -sudo modprobe x_tables -sudo modprobe ipv6 - -sudo modprobe xt_hashlimit -sudo modprobe nf_conntrack_ipv4 -sudo modprobe nf_conntrack_ipv6 -sudo rmmod wireguard diff --git a/src/tests/qemu/kernel.config b/src/tests/qemu/kernel.config index 4e4f573..5469448 100644 --- a/src/tests/qemu/kernel.config +++ b/src/tests/qemu/kernel.config @@ -9,6 +9,7 @@ CONFIG_NET_NS=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IPV6=y +CONFIG_NETFILTER=y CONFIG_NF_CONNTRACK=y CONFIG_NF_NAT=y CONFIG_NETFILTER_XTABLES=y |