[Bug 127814] [pf] The flush in pf_reload in /etc/rc.d/pf does not work as intended
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 21 09:58:33 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=127814
--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:
Author: kp
Date: Wed Mar 21 09:57:30 UTC 2018
New revision: 331289
URL: https://svnweb.freebsd.org/changeset/base/331289
Log:
MFC 330105:
pf: Do not flush on reload
pfctl only takes the last '-F' argument into account, so this never did what
was intended.
Moreover, there is no reason to flush rules before reloading, because pf
keeps
track of the rule which created a given state. That means that existing
connections will keep being processed according to the rule which originally
created them. Simply reloading the (new) rules suffices. The new rules will
apply to new connections.
PR: 127814
Submitted by: Andreas Longwitz <longwitz at incore.de>
Changes:
_U stable/10/
stable/10/etc/rc.d/pf
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pf
mailing list