diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-21 15:21:52 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-22 00:02:28 -0600 |
commit | 2018285962935293a0da19f16378169d9521342f (patch) | |
tree | 59baa87dd4640aab1d18fb8fd0adc1d9036be823 /TODO.md | |
parent | wg_cookie: ensure gc is called regularly (diff) | |
download | wireguard-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.md | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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. |