AF_DIVERT family restored & compiling: full socket family (PF_DIVERT=32, sock_register), blocking recv/poll, divert_output-compatible sendmsg reinject, mtag type passthrough; pfk_api decls
This commit is contained in:
1 parent
fe6f767561
commit
ac56534c3b
30 files changed
+2273
-62
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# M2 gate 2: block drop + block return-rst
|
||||
set -uo pipefail; cd "$(dirname "$0")"; . ./lib.sh
|
||||
pfensure; pf0 '/opt/pf/pfctl -e' >/dev/null
|
||||
pf0 'insmod /tmp/pf.ko 2>/dev/null || insmod /opt/pf/pf.ko; true'; pf0 '/opt/pf/pfctl -e' >/dev/null
|
||||
cat > /tmp/g2a.conf <<'C'
|
||||
block drop in quick proto icmp from any to any
|
||||
pass out quick
|
||||
|
||||
Reference in new issue
Block a user