kern/180731: problem with displaying 255.255.255.255 address in ipfw table

Vitalii Duk dv at v-gal.com
Sun Jul 21 22:00:00 UTC 2013


>Number:         180731
>Category:       kern
>Synopsis:       problem with displaying 255.255.255.255 address in ipfw table
>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 Jul 21 22:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Vitalii Duk
>Release:        9.1 amd64
>Organization:
Vizor-Gal
>Environment:
FreeBSD router 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r253313M: Sat Jul 13 07:13:57 EEST 2013     root at router:/usr/obj/usr/src/sys/ROUTER  amd64

>Description:
There is a problem with listing 255.255.255.255 (broadcast address) in ipfw table. You can add/delete 255.255.255.255 address in ipfw tables, but I can't see it in 'ipfw table all list' output.

[#router:/]# ipfw table 7 list
127.0.0.0/8 0
224.0.0.0/4 0
[#router:/]# ipfw table 7 add 255.255.255.255
[#router:/]# ipfw table 7 list
127.0.0.0/8 0
224.0.0.0/4 0
[#router:/]# ipfw table 7 add 255.255.255.255
ipfw: setsockopt(IP_FW_TABLE_XADD): File exists
[#router:/]# ipfw table 7 delete 255.255.255.255
[#router:/]# ipfw table 7 list
127.0.0.0/8 0
224.0.0.0/4 0
[#router:/]# ipfw table 7 add 255.255.255.255
[#router:/]# ipfw table 7 list
127.0.0.0/8 0
224.0.0.0/4 0
[#router:/]# ipfw table 7 add 10.100.0.0/28
[#router:/]# ipfw table 7 list
127.0.0.0/8 0
224.0.0.0/4 0
10.100.0.0/28
[#router:/]# 

>How-To-Repeat:
/sbin/ipfw table 1 list
/sbin/ipfw table 1 add 255.255.255.255
/sbin/ipfw table 1 list
/sbin/ipfw table 1 add 255.255.255.255
/sbin/ipfw table 1 list
/sbin/ipfw table 1 delete 255.255.255.255
/sbin/ipfw table 1 list
>Fix:
There is no fix right now.

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


More information about the freebsd-bugs mailing list