[Bug 251414] pf sometimes panics when reloading ruleset with tables

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 26 22:42:41 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251414

--- Comment #7 from sigsys at gmail.com ---
OOOPS.  Sorry, I made a mistake.  I kept editing my pf.conf while trying to
figure this out and got confused as to what edits I had on exactly when the
crashes happen.

It seems to be related to the "counters" keyword of tables.  I had it on at
some point and it can cause crashes later on when you reload.

        table <firehol-level1> persist counters file
"/etc/pf/firehol-level1-blocklist.tab"

If I've been reading this stack trace and the disassembly correctly, the crash
must be happening right there:

https://github.com/freebsd/freebsd/blob/releng/12.2/sys/netpfil/pf/pf_table.c#L2112-L2113

   2c228: 65 48 83 01 01                addq    $1, %gs:(%rcx)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list