kern/186570: ipfw interprets incomplete (3 octets) ip in a table as an wildcard that match whole traffic.

Marcin Mazur willyvmm at gmail.com
Sun Feb 9 00:20:00 UTC 2014


>Number:         186570
>Category:       kern
>Synopsis:       ipfw interprets incomplete (3 octets) ip in a table as an wildcard that match whole traffic.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 09 00:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Mazur
>Release:        9.2 RELEASE
>Organization:
>Environment:
FreeBSD browar.ITit.dk 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I just upgraded from 9.0 to 9.2, and lost contact to server, finally after investigation i found that ipfw interprets incomplete (3 octets) ip in a table as an wildcard that match whole traffic.

>How-To-Repeat:
ipfw table 4 add 1.2.3.4/24
ipfw table 4 list
1.2.3.0/24 0
ipfw table 4 add 1.2.3/24
ipfw table 4 list
::/0 0
1.2.3.0/24 0

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list