Re: natd divert injecting clarifications

2001-03-16 Thread Ruslan Ermilov
On Fri, Mar 16, 2001 at 09:02:15AM -0600, Nick Rogness wrote: > 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; th

Re: natd divert injecting clarifications

2001-03-16 Thread Nick Rogness
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 outpu

Re: natd divert injecting clarifications

2001-03-15 Thread Ruslan Ermilov
[Redirected to -net] On Thu, Mar 15, 2001 at 09:48:24PM -0600, Nick Rogness wrote: > > 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) n