Date: Wed, 11 Jan 2006 17:55:06 -0800 From: Julian Elischer <julian@elischer.org> To: Dan Joumaa <nessup@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Telling BSD to stop resetting the connection! Message-ID: <43C5B6FA.4050909@elischer.org> In-Reply-To: <ca819c8f74a6f6518ac6f2b588f56de8@gmail.com> References: <ca819c8f74a6f6518ac6f2b588f56de8@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Joumaa wrote: > 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) sounds like the SYN ACK is not getting diverted? > > 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 > "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C5B6FA.4050909>
