[Bug 280834] pf: set skip on <interface> persists and can't be removed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Aug 2024 20:08:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280834
--- Comment #2 from mike@sentex.net ---
Created attachment 252785
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252785&action=edit
add agrs to allow interface flag clearing
Not sure if notionally and functionally this is correct. But if you have
something like
--- /tmp/pf.conf.on 2024-08-15 16:06:15.950332000 -0400
+++ /tmp/pf.conf.off 2024-08-15 16:06:18.927081000 -0400
@@ -1,4 +1,4 @@
-set skip on lo0
+#set skip on lo0
it seems to work
1{july04apu}# pfctl -f /tmp/pf.conf.on
0{july04apu}# pfctl -v -s Interfaces
No ALTQ support in kernel
ALTQ related functions disabled
all
bridge
bridge0
igc0
igc1
igc2
igc3
lo
lo0 (skip)
pflog
pflog0
tap
tap0
0{july04apu}# pfctl -f /tmp/pf.conf.o
pf.conf.off pf.conf.on
0{july04apu}# pfctl -f /tmp/pf.conf.off
0{july04apu}# pfctl -v -s Interfaces
No ALTQ support in kernel
ALTQ related functions disabled
all
bridge
bridge0
igc0
igc1
igc2
igc3
lo
lo0 (skip)
pflog
pflog0
tap
tap0
0{july04apu}# pfctl -FInterfaces
pf: interface flags reset
0{july04apu}#
0{july04apu}# pfctl -v -s Interfaces
No ALTQ support in kernel
ALTQ related functions disabled
all
bridge
bridge0
igc0
igc1
igc2
igc3
lo
lo0
pflog
pflog0
tap
tap0
0{july04apu}#
--
You are receiving this mail because:
You are the assignee for the bug.