Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 13:53:20 GMT
From:      Dennis Yusupoff <dyr@smartspb.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/189471: ipfw table regression
Message-ID:  <201405081353.s48DrKpL094143@cgiserv.freebsd.org>
Resent-Message-ID: <201405081400.s48E00Rj075134@freefall.freebsd.org>

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

>Number:         189471
>Category:       bin
>Synopsis:       ipfw table regression
>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:   Thu May 08 14:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dennis Yusupoff
>Release:        10.0-STABLE, 9.2-RELEASE
>Organization:
Smart Telecom
>Environment:
FreeBSD nata1 10.0-STABLE FreeBSD 10.0-STABLE #1 r261884M: Mon Mar 31 16:01:36 MSK 2014     root@nata1:/usr/obj/usr/src/sys/ROUTER_HN  amd64

FreeBSD utm.leskolovo.ru 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
There is regression in ipfw table adding, in compare with, for example, 9.0-RELEASE.
Adding some hostname in a ipfw table leading in appearance of record '::/0 0' instead of correct IPv4 address. See below ("how to repeat the problem").
After this record appeared in ipfw table it passing ALL traffic, even all IPv4 addresses.

>How-To-Repeat:
# uname -a
FreeBSD nata1 10.0-STABLE FreeBSD 10.0-STABLE #1 r261884M: Mon Mar 31 16:01:36 MSK 2014     root@nata1:/usr/obj/usr/src/sys/ROUTER_HN  amd64
# ipfw table 100 flush
# host 3ds.ubrr.ru
3ds.ubrr.ru has address 91.208.121.209
# ipfw table 100 add 3ds.ubrr.ru
# ipfw table 100 list
::/0 0

---
# uname -a
FreeBSD utm.leskolovo.ru 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
# ipfw table 92 flush
# host 3ds.ubrr.ru
3ds.ubrr.ru has address 91.208.121.209
# ipfw table 92 add 3ds.ubrr.ru
# ipfw table 92 list
::/0 0

----
# uname -a
FreeBSD stek 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Fri Mar 16 05:08:15 MSK 2012     root@bsd9:/usr/obj/usr/src/sys/ROUTER_HOME_NETS  amd64
# ipfw table 90 flush
# host 3ds.ubrr.ru
3ds.ubrr.ru has address 91.208.121.209
# ipfw table 90 add 3ds.ubrr.ru
# ipfw table 90 list
91.208.121.209/32 0


>Fix:
Don't know

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



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