aboutsummaryrefslogtreecommitdiffstats
path: root/TODO.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-04-21 15:21:52 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-04-22 00:02:28 -0600
commit2018285962935293a0da19f16378169d9521342f (patch)
tree59baa87dd4640aab1d18fb8fd0adc1d9036be823 /TODO.md
parentwg_cookie: ensure gc is called regularly (diff)
downloadwireguard-freebsd-2018285962935293a0da19f16378169d9521342f.tar.xz
wireguard-freebsd-2018285962935293a0da19f16378169d9521342f.zip
if_wg: port allowedips selftest from Linux code and fix bugs
And then fix broken allowedips implementation for the static unit tests to pass. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index a69ac25..9f56bdb 100644
--- a/TODO.md
+++ b/TODO.md
@@ -7,8 +7,7 @@
- Work out `priv_check` from vnet perspective. (There's no `ns_capable()` on
FreeBSD, just `capable()`, which makes it a bit weird for one jail to have
permissions in another.)
-- Audit allowedips / radix tree checks, and make sure it's actually behaving as
- expected. (It might be useful to port [this selftest](https://git.zx2c4.com/wireguard-linux/tree/drivers/net/wireguard/selftest/allowedips.c).)
+- Port ratelimiter and counter [selftests](https://git.zx2c4.com/wireguard-linux/tree/drivers/net/wireguard/selftest).
- Make code style consistent with one FreeBSD way, rather than a mix of styles.
- Run ratelimiter gc in a properly scheduled manner.
- Make sure noise state machine is correct.