From nobody@FreeBSD.org  Sun Jul 21 21:54:01 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 1EDE361B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Jul 2013 21:54:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 11940652
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Jul 2013 21:54:01 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6LLs0vG073912
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Jul 2013 21:54:00 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6LLs0Dl073908;
	Sun, 21 Jul 2013 21:54:00 GMT
	(envelope-from nobody)
Message-Id: <201307212154.r6LLs0Dl073908@oldred.freebsd.org>
Date: Sun, 21 Jul 2013 21:54:00 GMT
From: Vitalii Duk <dv@v-gal.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: problem with displaying 255.255.255.255 address in ipfw table
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180731
>Category:       kern
>Synopsis:       [ipfw] problem with displaying 255.255.255.255 address in ipfw table
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ipfw
>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:  Fri Jul 26 21:48:05 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jul 26 21:47:32 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180731 
>Unformatted:
