Date: Thu, 11 Dec 2025 11:51:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 291570] ipfw table add fail to add unique address from file after flush Message-ID: <bug-291570-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291570 Bug ID: 291570 Summary: ipfw table add fail to add unique address from file after flush Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: work+freebsd@vvv.kiev.ua Starting from 15.0-RELEASE, ipfw table add command returns an error when adding a unique address from file. Steps to reproduce: 1. Create file with rules named ipfw.conf: -------------------------------------------------- table TEST1 create or-flush table TEST1 add 0.0.0.1 table TEST1 add 0.0.0.2 -------------------------------------------------- 2. Destroy the table if it exists: # ipfw table TEST1 destroy # ipfw table TEST1 destroy ipfw: failed to destroy table TEST1: No such process 3. Apply the rules: # ipfw /path/to/ipfw.conf added: 0.0.0.1/32 0 added: 0.0.0.2/32 0 # echo $? 0 # ipfw table TEST1 list 0.0.0.1/32 0 0.0.0.2/32 0 4. Apply the rules again: # ipfw /path/to/ipfw.conf added: 0.0.0.1/32 0 Line 2: Adding record failed: record already exists # echo $? 71 # ipfw table TEST1 list 0.0.0.1/32 0 The same behavior if replace table TEST1 create or-flush with table TEST1 create missing table TEST1 flush Workaround: use -q option: # ipfw -q /path/to/ipfw.conf # echo $? 0 # ipfw table TEST1 list 0.0.0.1/32 0 0.0.0.2/32 0 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291570-227>
