bin/61502: Incorrect ip6fw output when adding rules
Roderick van Domburg
r.s.a.vandomburg at student.utwente.nl
Sat Jan 17 14:30:23 PST 2004
>Number: 61502
>Category: bin
>Synopsis: Incorrect ip6fw output when adding rules
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 17 14:30:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Roderick van Domburg
>Release: FreeBSD 5.2-CURRENT sparc64
>Organization:
University of Twente
>Environment:
System: FreeBSD stud187236.mobiel.utwente.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Jan 11 14:03:52 CET 2004 roderick at magog.student.utwente.nl:/usr/obj/usr/src/sys/MAGOG sparc64
>Description:
When adding IPv6 firewall rules without specifying a set rulenumber,
'ip6fw' incorrectly lists the new rule as being added as number 0000
even though it is added under a different rulenumber.
>How-To-Repeat:
1. Enable the IPv6 firewall service
2. Add any rule without specifying a number.
Example: `ip6fw add allow tcp from any to any`
ip6fw reports the rule being added as 0000.
3. Execute `ip6fw show`. The rule will have been added as 0100, assuming
the ruleset was flushed. No matter if it was, the rule will have been
assigned a correct number different from 0000.
However, executing `ip6fw add 100 allow tcp from any to any` during (2)
produces output as expected.
This incorrect behavior is _not_ displayed on plain IPv6 ipfw on sparc64.
I had no architectures readily available to see if all this was platform-
specific.
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list