DragonFlyBSD Kernel Audit
DF-0474 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
#!/bin/sh
# DF-0474 run: install buggy rule (F_LEN=0) to trigger infinite loop.
# Requires: sysctl net.filters_default_to_accept=1; kldload ipfw3; kldload ipfw3_basic
# On UNFIXED kernel: outgoing packets hang after this; kldunload ipfw3_basic hangs.
# On FIXED kernel: ip_fw3_chk skips the rule (break on cmdlen==0); no hang.
cd "$(dirname "$0")"
./df0474_install