From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 29 13:00:13 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DB171065675 for ; Mon, 29 Mar 2010 13:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0C08FC24 for ; Mon, 29 Mar 2010 13:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2TD0DLN057312 for ; Mon, 29 Mar 2010 13:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2TD0Dbg057311; Mon, 29 Mar 2010 13:00:13 GMT (envelope-from gnats) Resent-Date: Mon, 29 Mar 2010 13:00:13 GMT Resent-Message-Id: <201003291300.o2TD0Dbg057311@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, Dmitry Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F3251065676 for ; Mon, 29 Mar 2010 12:55:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 72BD88FC12 for ; Mon, 29 Mar 2010 12:55:09 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2TCsx0p051012 for ; Mon, 29 Mar 2010 12:54:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2TCsx2V051011; Mon, 29 Mar 2010 12:54:59 GMT (envelope-from nobody) Message-Id: <201003291254.o2TCsx2V051011@www.freebsd.org> Date: Mon, 29 Mar 2010 12:54:59 GMT From: Dmitry To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/145167: ipfw nat does not follow its documentation X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2010 13:00:13 -0000 >Number: 145167 >Category: kern >Synopsis: ipfw nat does not follow its documentation >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 29 13:00:12 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dmitry >Release: 8.0-STABLE >Organization: Telekom Servis T >Environment: FreeBSD mail.mcm.ru 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Mar 25 10:43:17 MSK 2010 root@kazarov.mcm.ru:/var/tmp/obj/usr/src/sys/MCM i386 >Description: man ipfw says "To let the packet continue after being (de)aliased, set the sysctl variable net.inet.ip.fw.one_pass to 0." But on my system ~[550]# sysctl net.inet.ip.fw.one_pass net.inet.ip.fw.one_pass: 1 and testing ipfw rules with ipfwpcap showed that packets continue after nat # ipfw show | fgrep 10007 00050 173098 71536791 allow ip from any to any tagged 10001,10003,10004,10005,10007 30200 310 185892 nat 7 tag 10007 ip from 192.168.15.0/24{232-234} to any out xmit vlan0 30201 310 185892 allow ip from any to any tagged 10007 Also, please solve kern/143653 (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/143653) - it's really annoying >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: