1
mirror of git://git.zx2c4.com/wireguard-freebsd synced 2024-09-22 08:29:43 +02:00
wireguard-freebsd/TODO.md
Jason A. Donenfeld eb2d6d7d14 selftests: fixup headers
Also remove the stale entry from the TODO list.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-04-22 00:02:45 -06:00

1.2 KiB

Primary systems TODO

  • Finish porting this script to ./tests/netns.sh using vnets and epairs.
  • Rework locking and epoch lifetimes; come up with consistent set of rules.
  • Shore up vnet support and races/locking around moving between vnets.
  • 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.)
  • 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.
  • Clear mbuf tags and other members properly.

Crypto TODO

  • Do packet encryption using opencrypto/ with sg lists on the mbuf, so that we don't need to linearize mbufs.
  • Send 25519 upstream to sys/crypto, and port to it.
  • Send simple chapoly upstream to sys/crypto, and port to it.
  • Port to sys/crypto's blake2s implementation.

Tooling TODO

  • Relicense wg(8) as MIT and integrate into upstream build system.
  • Examine possibility of a non-bash wg-quick(8) for sending upstream.