Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 12:42:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200169] ipfw table list uses IPv6 format for zero IPv4 addresses
Message-ID:  <bug-200169-8@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200169

            Bug ID: 200169
           Summary: ipfw table list uses IPv6 format for zero IPv4
                    addresses
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: zuborg@gmail.com

`ipfw table N list` command print '::' string instead of '0.0.0.0' for some
reason. Even on systems without IPv6 support.
While `ipfw table N delete` require 0.0.0.0 to operate correctly.

Here is log of terminal:
(System without IPv6 support)
# ipfw table 1 list
# ipfw table 1 add 0.0.0.0/8
# ipfw table 1 list
::/8 0
# ipfw table 1 delete ::/8
ipfw: setsockopt(IP_FW_TABLE_XDEL): Invalid argument
# ipfw table 1 list
::/8 0
# ipfw table 1 delete 0.0.0.0/8
# ipfw table 1 list
# 

(System with IPv6 support)
# ipfw table 1 list
# ipfw table 1 add ::/8
# ipfw table 1 list
::/8 0
# ipfw table 1 add 0.0.0.0/8
# ipfw table 1 list
::/8 0
::/8 0
# ipfw table 1 delete ::/8
# ipfw table 1 list
::/8 0
# ipfw table 1 delete ::/8
ipfw: setsockopt(IP_FW_TABLE_XDEL): No such process
# ipfw table 1 list
::/8 0
# ipfw table 1 delete 0.0.0.0/8
# ipfw table 1 list
#

-- 
You are receiving this mail because:
You are the assignee for the bug.



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