Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 16:24:55 -0600 (CST)
From:      Nick Rogness <nick@rogness.net>
To:        freebsd-ipfw@freebsd.org
Subject:   natd divert injecting clarifications
Message-ID:  <Pine.BSF.4.21.0103151611380.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
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 still a novice programmer.

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-ipfw" 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.0103151611380.5717-100000>