kern/180729: ipfw nat show empty output

Vitalii Duk dv at v-gal.com
Sun Jul 21 21:50:01 UTC 2013


>Number:         180729
>Category:       kern
>Synopsis:       ipfw nat show empty output
>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:   Sun Jul 21 21:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at router:/usr/obj/usr/src/sys/ROUTER  amd64

>Description:
There is no output when I use command 'ipfw nat show'.

[#router:/]# ipfw nat 1 show config
ipfw nat 1 config ip 10.100.205.32 deny_in same_ports reset
[#router:/]# ipfw nat show config
ipfw nat 1 config ip 10.100.205.32 deny_in same_ports reset
[#router:/]# ipfw show | grep nat
00241 18216302455 6828102082082 nat tablearg ip from table(3) to any out xmit igb1
00242 25131883529 28254818004159 nat tablearg ip from any to table(2) in recv igb1
[#router:/]# ipfw nat 1 show
[#router:/]#
[#router:/]# ipfw nat show
[#router:/]#

I think that output must be like next one, but it's empty.
[#router:/]# ipfw nat show
nat 1: icmp=106, udp=34388, tcp=115736, pptp=0, proto=0, frag_id=14 frag_ptr=0 / tot=150244
[#router:/]#

>How-To-Repeat:
/sbin/ipfw table 11 add 10.100.205.32/32 1
/sbin/ipfw table 12 add 10.100.0.0/24 1
/sbin/ipfw nat 1 config ip 10.100.205.32 same_ports reset deny_in
/sbin/ipfw add 242 nat tablearg ip from any to table\(11\) in recv igb1
/sbin/ipfw add 241 nat tablearg ip from table\(12\) to any out xmit igb1
/sbin/ipfw nat 1 show config
/sbin/ipfw show | grep nat
/sbin/ipfw nat 1 show
>Fix:
There is no fix right now.

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


More information about the freebsd-bugs mailing list