[Bug 275470] Kernel Panic in IPFW when adding entries to table
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Dec 2023 14:37:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275470 Eugene Perevyazko <john@dnepro.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john@dnepro.net --- Comment #1 from Eugene Perevyazko <john@dnepro.net> --- Skipping the problem of kernel panic itself I'd like to propose a workaround for your script: TMPFILE=`mktemp -t tbl53` || exit 1 awk '/^[0-9]/ && !/127.0.0/ {print "table 53 add "$1}' /tmp/dnsbl/dnsbl-1.uceprotect.net > $TMPFILE ipfw -q $TMPFILE rm $TMPFILE It also should be much faster and lighter on CPU. for example it takes less than a second of wall time on ancient core2: # ipfw table 53 flush # ipfw table 53 list | wc 0 0 0 # time ipfw -q /tmp/tbl53.0kfeoXCu 0.179u 0.242s 0:00.42 97.6% 158+184k 0+0io 0pf+0w # ipfw table 53 list | wc 65698 131396 1278284 -- You are receiving this mail because: You are the assignee for the bug.