[Bug 184355] rc.firewall: ipfw failed to restart if tables are used
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Dec 2025 13:56:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184355 --- Comment #6 from Oleg Streejak <oleg@pcbtech.ru> --- update: quite the same on just runned qcow2 image (FreeBSD-15.0-RELEASE-amd64-ufs.qcow2): root@freebsd:~ # ipfw table all destroy root@freebsd:~ # ipfw table all list root@freebsd:~ # ipfw table all info root@freebsd:~ # ipfw tmp/test.rules added: 172.16.0.0/12 0 added: 192.168.0.0/16 0 root@freebsd:~ # ipfw /tmp/test.rules added: 172.16.0.0/12 0 Line 2: Adding record failed: record already exists root@freebsd:~ # ipfw /tmp/test.rules added: 172.16.0.0/12 O Line 2: Adding record failed: record already exists root@freebsd:~ # root@freebsd:~ # cat /tmp/test.rules table test create or-flush table test add 172.16.0.0./12 table test add 192.168.0.0./16 the only way to make it work is to combine all the addresses in one add clause: table test add 172.16.0.0./12 0 192.168.0.0./16 0 it print errors but fills the table w/ supplied addresses it seems to me that `or-flush' doesn't flush table in real - that's the possible cause of those errors -- You are receiving this mail because: You are the assignee for the bug.