Date: Wed, 11 Jan 2006 17:58:28 -0700 From: Dan Joumaa <nessup@gmail.com> To: freebsd-hackers@freebsd.org Subject: Telling BSD to stop resetting the connection! Message-ID: <ca819c8f74a6f6518ac6f2b588f56de8@gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca819c8f74a6f6518ac6f2b588f56de8>