Hello,

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.

103 9.443254 192.168.1.6 -> 205.166.76.40 TCP pacmand > https [SYN] Seq=0 Ack=0 Win=2920 Len=0 MSS=536 104 9.443364 192.168.1.2 -> 205.166.76.40 TCP pacmand > https [SYN] Seq=0 Ack=0 Win=2920 Len=0 MSS=536 105 9.443617 192.168.1.6 -> 205.166.76.40 TCP pacmand > https [SYN] Seq=0 Ack=0 Win=2920 Len=0 MSS=536 106 9.443654 192.168.1.2 -> 205.166.76.40 TCP pacmand > https [SYN] Seq=0 Ack=0 Win=2920 Len=0 MSS=536 107 9.496102 205.166.76.40 -> 192.168.1.2 TCP https > pacmand [SYN, ACK] Seq=0 Ack=1 Win=1608 Len=0 MSS=1460 108 9.496185 192.168.1.2 -> 205.166.76.40 TCP pacmand > https [RST] Seq=1 Ack=341266652 Win=0 Len=0

(192.168.1.1 = next hop, 192.168.1.2 = this computer, 192.168.1.6 = the client)

Any ideas on how to stop the net stack from resetting my connections, preferably programmatically?

--ness

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to