Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2020 22:42:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251414] pf sometimes panics when reloading ruleset with tables
Message-ID:  <bug-251414-227-0qYA9XOYzk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251414-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251414-227@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=3D251414

--- Comment #7 from sigsys@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 cr=
ash
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)

--=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-251414-227-0qYA9XOYzk>