Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 14:02:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ipfw@FreeBSD.org
Subject:   [Bug 200169] ipfw table list uses IPv6 format for zero IPv4 addresses
Message-ID:  <bug-200169-7515-nBmrfPVJsE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200169-7515@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200169-7515@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200169

egypcio@googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egypcio@googlemail.com

--- Comment #3 from egypcio@googlemail.com ---
(In reply to Kurt Jaeger from comment #2)

HEAD is okay.

# uname -a
FreeBSD box 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r287824: Tue Sep 15 14:35:24
BRT 2015     root@box:/usr/obj/panzer/freebsd/base/sys/BOX  amd64
# kldload ipfw
# ipfw table 123 create
# ipfw table 123 add 0.0.0.0/8
added: 0.0.0.0/8 0
# ipfw table 123 list
--- table(123), set(0) ---
0.0.0.0/8 0

STABLE/10 still not patched. How to reproduce:

# sysctl -n hw.model
Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
# fetch
ftp://ftp.geo.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/10.2-STABLE/i386/Latest/FreeBSD-10.2-STABLE-i386.raw.xz
FreeBSD-10.2-STABLE-i386.raw.xz               100% of  125 MB  192 kBps 11m06s
# xz -d FreeBSD-10.2-STABLE-i386.raw.xz
# kldload vmm
# /bin/sh /usr/share/examples/bhyve/vmrun.sh -d FreeBSD-10.2-STABLE-i386.raw
vm0

[bhyve]
  root@:~ # uname -a
  FreeBSD  10.2-STABLE FreeBSD 10.2-STABLE #0 r287435: Thu Sep  3 22:15:32 UTC
2015     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
  root@:~ # kldload ipfw
  ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny,
logging disabled
  root@:~ # ipfw table 123 add 0.0.0.0/8
  root@:~ # ipfw table 123 list
  ::/8 0
[/bhyve]

-- 
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-7515-nBmrfPVJsE>