Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2024 20:08:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 280834] pf: set skip on <interface> persists and can't be removed
Message-ID:  <bug-280834-16861-AOCkfC6NS5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280834-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280834-16861@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=3D280834

--- Comment #2 from mike@sentex.net ---
Created attachment 252785
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252785&action=
=3Dedit
add agrs to allow interface flag clearing

Not sure if notionally and functionally this is correct.  But if you have
something like=20

--- /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=20=20=20
0{july04apu}# pfctl -f /tmp/pf.conf.off=20
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}#=20
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}#

--=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-280834-16861-AOCkfC6NS5>