Commit Graph

6 Commits

Author SHA1 Message Date
Jason A. Donenfeld 395d925470 netns: use massive datagrams
This tests the mbuf fragment code more heavily.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-01 15:27:11 +02:00
Jason A. Donenfeld 1fb21d1665 netns: account for FreeBSD 12 quirks
In ping6, -W -> -x, and DAD affects bind(), so disable it.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-01 15:27:11 +02:00
Jason A. Donenfeld 3be23818a1 netns: trim test to working parts and rework jail logic
Rather than agonizing on and on about finishing this, just get what
actually works in a tidy place.

We also make everything happen in a dedicated child jail, and work with
JIDs instead of labels. This should improve isolation and reliability.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-01 15:12:30 +02:00
Ed Maste f324db0677 netns: use `exit 0` for early exit
It appears that much of netns is not yet ported/usable on FreeBSD, and
we previously used `exit 1` to exit early and skip the remainder.  Exit
without error instead, for CI purposes.

Signed-off-by: Ed Maste <emaste@FreeBSD.org>
2021-05-19 00:29:27 +02:00
Jason A. Donenfeld f0d2d14e83 netns: enable debug logging
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-04-28 13:44:10 -04:00
Jason A. Donenfeld 362884e650 Initial import
There's still more to do with wiring this up properly.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-03-17 09:35:54 -06:00