Wierd networking.

Eygene Ryabinkin rea-fbsd at codelabs.ru
Wed Jul 18 07:24:00 UTC 2007


Andre, good day.

Wed, Jul 18, 2007 at 08:57:47AM +0200, Andre Oppermann wrote:
> >Seems like it is the effect of the SS_NOFDREF check in the
> >netinet/tcp_input.c, at least it is present in the rev. 1.281.2.5.
> >See the post
> >    http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074837.html
> >I believe it discuisses the same problem, but for -CURRENT.  In
> >short, Squid child closes the descriptor, so connection is present
> >in the TCP/IP stack only.  And SS_NOFDREF check provokes RST and
> >invokes tcp_close().
> 
> I think your analysis is correct.  Have to find out who to deal properly
> with a closed socket before the TCP is closed as well.

OK, please, drop a letter when you will produce some patch or will
find out how to deal with this -- I am keen to test and/or discuiss.

Thank you!
-- 
Eygene


More information about the freebsd-net mailing list