Date: Thu, 15 Mar 2001 21:48:24 -0600 (CST) From: Nick Rogness <nick@rogness.net> To: freebsd-hackers@freebsd.org Subject: natd divert injecting clarifications Message-ID: <Pine.BSF.4.21.0103151635120.5717-100000@cody.jharris.com>
next in thread | raw e-mail | index | archive | help
Just to be sure I have it right. When the kernel diverts the packet to natd, via ipfw: 1) kernel sends packet to natd 2) natd read() the packet 3) natd screws with it (changes dest addr,etc) 4) natd write() the packet 5) kernel reinjects the packet back into the firewall That's what I could get out of divert(4) and some of the natd source. Bare with me...I'm a novice programmer. Is this correct? Nick Rogness <nick@rogness.net> - Keep on routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103151635120.5717-100000>