Telling BSD to stop resetting the connection!

David S. Madole david at madole.net
Wed Jan 11 18:25:02 PST 2006


From: "Dan Joumaa" <nessup at gmail.com>
>
> I'm trying to code a software gateway with divert sockets. So far basic 
> things are working, but the net stack constantly resets the connection 
> whenever a SYN-ACK is sent to it.
>
> Any ideas on how to stop the net stack from resetting my connections, 
> preferably programmatically?

I think you are doing something wrong, either not diverting packets that 
should be, or reinjecting packets from your code that are incorrect in 
some way.

Without seeing the ipfw rules or code, there's not much else that can be 
said.

David



More information about the freebsd-hackers mailing list