FreeBSD 7.0: sockets stuck in CLOSED state...

Eygene Ryabinkin rea-fbsd at codelabs.ru
Fri Jun 27 14:06:22 UTC 2008


Paul, good day.

Fri, Jun 27, 2008 at 08:45:50AM -0400, Paul wrote:
> I have the same 'problem' if that helps any.. Sockets stuck for over a 
> month in CLOSED and they have a * for the port on the source IP.
> tcp4       0      0  67.1.1.1.*         67.1.1.2.1261       CLOSED
> 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #6: Thu Apr 17 18:11:49 EDT 2008   
> amd64
> Doesn't seem to cause any issues though.

And what is listening to that port?  Can you identify the application?
Just for the record -- may be it will narrow down the search list.

Robert Watson told us today at the morning that he spotted the bug
that lead to the '*' instead of port number.  Robert, can you post
the patch -- it seems to be not yet committed, at least cvs-src
list has no signs of it?

By the way, is the patch touches in_pcbdrop() in /sys/netinet/in_pcb.c,
removing instruction 'inp->inp_lport = 0;'?
-- 
Eygene

Remember that it is hard to read the on-line manual while single-stepping
the kernel.  -- FreeBSD Developers handbook


More information about the freebsd-net mailing list