bin/189471: ipfw table regression

Dennis Yusupoff dyr at smartspb.net
Thu May 8 14:00:01 UTC 2014


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


More information about the freebsd-bugs mailing list