Date: Fri, 01 Dec 2023 14:37:12 +0000 From: bugzilla-noreply@freebsd.org To: ipfw@FreeBSD.org Subject: [Bug 275470] Kernel Panic in IPFW when adding entries to table Message-ID: <bug-275470-8303-xBbu9IIIaS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275470-8303@https.bugs.freebsd.org/bugzilla/> References: <bug-275470-8303@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275470 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=3D`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=20 0.179u 0.242s 0:00.42 97.6% 158+184k 0+0io 0pf+0w # ipfw table 53 list | wc 65698 131396 1278284 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275470-8303-xBbu9IIIaS>