From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 20 11:00:44 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 059FC16A4CE for ; Mon, 20 Dec 2004 11:00:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B17C443D1D for ; Mon, 20 Dec 2004 11:00:43 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBKB0h62045921 for ; Mon, 20 Dec 2004 11:00:43 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBKB0h3v045919; Mon, 20 Dec 2004 11:00:43 GMT (envelope-from gnats) Resent-Date: Mon, 20 Dec 2004 11:00:43 GMT Resent-Message-Id: <200412201100.iBKB0h3v045919@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, Andrew Chikin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 679A216A4CE for ; Mon, 20 Dec 2004 10:54:33 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5246E43D3F for ; Mon, 20 Dec 2004 10:54:33 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBKAsWFL053087 for ; Mon, 20 Dec 2004 10:54:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iBKAsW22053086; Mon, 20 Dec 2004 10:54:32 GMT (envelope-from nobody) Message-Id: <200412201054.iBKAsW22053086@www.freebsd.org> Date: Mon, 20 Dec 2004 10:54:32 GMT From: Andrew Chikin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/75297: I`ve got one more via in my ipfw rule. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 11:00:44 -0000 >Number: 75297 >Category: misc >Synopsis: I`ve got one more via in my ipfw rule. >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: Mon Dec 20 11:00:43 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Andrew Chikin >Release: 5_3_RELEASE >Organization: frnet >Environment: # uname -a FreeBSD cerber.xxx 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Thu Dec 16 11:37:21 MSK 2004 root@cerber.xxx:/usr/obj/usr/src/sys/CERBER i386 >Description: #ipfw list -- ..skipped 02000 divert 8668 ip from any to any via 192.168.2.6 via ---------------------------------------------------- ^^^ 02100 tee 199 ip from any to any via rl1 ..skipped -- /etc/rc.firewall: case ${natd_enable} in [Yy][Ee][Ss]) if [ -n "${natd_interface}" ]; then ${fwcmd} add divert natd all from any to any via ${natd_interface} fi ;; esac -> # ipfw del 2000 # ipfw add 2000 divert natd all from any to any via 192.168.2.6 02000 divert 8668 ip from any to any via 192.168.2.6 via # ipfw del 2000 # ipfw add 2000 divert natd all from any to any 02000 divert 8668 ip from any to any # ipfw del 2000 # ipfw add 2000 divert natd ip from any to any via rl0 02000 divert 8668 ip from any to any via rl0 So, if the natd_interface is given in numerical form, I`ve got on more "via" in my ipfw_rule. But if natd_interface is given in alphabetic form - no problems. p.s. natd work properly in both cases. p.p.s. sorry for my english. >How-To-Repeat: # ipfw add 2000 divert natd all from any to any via 192.168.2.6 02000 divert 8668 ip from any to any via 192.168.2.6 via >Fix: no idea. use alphabetical form :) >Release-Note: >Audit-Trail: >Unformatted: