Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 21:54:00 GMT
From:      Vitalii Duk <dv@v-gal.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/180731: problem with displaying 255.255.255.255 address in ipfw table
Message-ID:  <201307212154.r6LLs0Dl073908@oldred.freebsd.org>
Resent-Message-ID: <201307212200.r6LM00WK070025@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307212154.r6LLs0Dl073908>