From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 10 07:00:16 2007 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 EB9B416A417 for ; Mon, 10 Sep 2007 07:00:16 +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 B9F5213C461 for ; Mon, 10 Sep 2007 07:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8A70GGD099639 for ; Mon, 10 Sep 2007 07:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8A70Grg099638; Mon, 10 Sep 2007 07:00:16 GMT (envelope-from gnats) Date: Mon, 10 Sep 2007 07:00:16 GMT Message-Id: <200709100700.l8A70Grg099638@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Andrey V. Elsukov" Cc: Subject: Re: misc/116238: natd/ipfw not maintaining interface of udp packets (maybe tcp too?) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Andrey V. Elsukov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2007 07:00:17 -0000 The following reply was made to PR misc/116238; it has been noted by GNATS. From: "Andrey V. Elsukov" To: Joe Acosta Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/116238: natd/ipfw not maintaining interface of udp packets (maybe tcp too?) Date: Mon, 10 Sep 2007 10:53:53 +0400 Joe Acosta wrote: >> Description: > natd is natting everything and messing up certain outgoing packets. No. natd is natting only packets wich it gets from the divert socket. You should make *correct* "ipfw divert" rules. >> How-To-Repeat: > install dhcp, on a dual nic box. > setup a firewall and nat on ext nic using ipfw/natd > try to get dhcp ip address on internal lan Why you pass DHCP packets into divert socket? Don't do it. -- WBR, Andrey V. Elsukov