[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:57:30 UTC 2018


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

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kp
Date: Wed Mar 21 09:57:06 UTC 2018
New revision: 331288
URL: https://svnweb.freebsd.org/changeset/base/331288

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/11/
  stable/11/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