From owner-freebsd-net Fri Mar 16 6:58: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 524AB37B718; Fri, 16 Mar 2001 06:58:05 -0800 (PST) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f2GF2Ff09814; Fri, 16 Mar 2001 09:02:15 -0600 (CST) (envelope-from nick@rogness.net) Date: Fri, 16 Mar 2001 09:02:15 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Ruslan Ermilov Cc: net@FreeBSD.ORG Subject: Re: natd divert injecting clarifications In-Reply-To: <20010316095627.C62097@sunbay.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 16 Mar 2001, Ruslan Ermilov wrote: > Pretty much correct. > > 1) kernel sends packet to divert socket > 2) natd reads from divert socket > 3) natd screws with it > 4) natd writes the packet to divert socket; the packet > is treated as a completely new entity > 5) divert socket's output routine reinjects the packet > back "into the normal kernel IP packet processing", not into > firewall Hmm. You pass it a 'tag' which, I thought, is the ipfw rule number of the firewall after which rule processing should restart. I think I understand your point though. > > > Such questions are best answered on -net > I sent it to freebsd-ipfw and waited for a day before sending this to hackers. I send lots of email to -net and rarely receive anything back. I wonder if people just skip over it or what? The only list were I can get (at least) a response is -hackers. It is very frustrating finding answers sometimes. Especially when I just need a clarification on something that most programmer's think 'duh stupid'. Anyway, Thanks for the reply...I appreciate it. [Sorry for the rant]. Nick Rogness - Keep on routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message