From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 21 21:50:03 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6CD66312 for ; Sun, 21 Jul 2013 21:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE64601 for ; Sun, 21 Jul 2013 21:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6LLo3IO068285 for ; Sun, 21 Jul 2013 21:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6LLo3Ag068284; Sun, 21 Jul 2013 21:50:03 GMT (envelope-from gnats) Resent-Date: Sun, 21 Jul 2013 21:50:03 GMT Resent-Message-Id: <201307212150.r6LLo3Ag068284@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vitalii Duk Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 07F8E16D for ; Sun, 21 Jul 2013 21:41:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id EDC313E9 for ; Sun, 21 Jul 2013 21:41:37 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6LLfaNw066763 for ; Sun, 21 Jul 2013 21:41:36 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6LLfaSq066762; Sun, 21 Jul 2013 21:41:36 GMT (envelope-from nobody) Message-Id: <201307212141.r6LLfaSq066762@oldred.freebsd.org> Date: Sun, 21 Jul 2013 21:41:36 GMT From: Vitalii Duk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/180730: ipfw nat show empty output X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 21:50:03 -0000 >Number: 180730 >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:02 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@router:/usr/obj/usr/src/sys/WEST-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: