Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2019 03:16:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 238796] ipfilter: failure to detect the same rules when arguments ordered differently
Message-ID:  <bug-238796-7501-DkyPMxVPVg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238796-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238796-7501@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=3D238796

--- Comment #26 from WHR <msl0000023508@gmail.com> ---
(In reply to Cy Schubert from comment #23)

This patch seems break adding rules:

[root@ipfilter-test /usr/obj]# kldload
usr/src/amd64.amd64/sys/modules/ipfilter/ipl.ko=20
[root@ipfilter-test /usr/obj]# kldstat
Id Refs Address                Size Name
 1    7 0xffffffff80200000  24ffe50 kernel
 2    1 0xffffffff82819000     2538 intpm.ko
 3    1 0xffffffff8281c000      a50 smbus.ko
 4    1 0xffffffff8281d000    3b468 ipl.ko
[root@ipfilter-test /usr/obj]# echo "pass in quick reply-to tun0:10.1.1.1 on
tun0 proto tcp from any to 10.1.1.11 port =3D 22 flags S/FSRPAU keep state"=
 | ipf
-f -
8:1:ioctl(add/insert rule): no data provided with filter rule
[root@ipfilter-test /usr/obj]# echo "pass in quick reply-to tun1:10.1.2.1 on
tun1 proto tcp from any to 10.1.2.11 port =3D 22 flags S/FSRPAU keep state"=
 | ipf
-f -
8:1:ioctl(add/insert rule): no data provided with filter rule
[root@ipfilter-test /usr/obj]# echo "pass in quick reply-to tun0:10.1.1.1 on
tun0 proto tcp from any to 10.1.1.11 port =3D 22 flags S/FSRPAU keep state"=
 | ipf
-f -
8:1:ioctl(add/insert rule): no data provided with filter rule
[root@ipfilter-test /usr/obj]# ipfstat -Rion
# empty list for ipfilter(out)
# empty list for ipfilter(in)

Kernel version is 13.0-CURRENT r350103.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238796-7501-DkyPMxVPVg>