lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0805261724280.16829@wrl-59.cs.helsinki.fi>
Date:	Mon, 26 May 2008 17:43:09 +0300 (EEST)
From:	"Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
To:	Ingo Molnar <mingo@...e.hu>
cc:	LKML <linux-kernel@...r.kernel.org>,
	Netdev <netdev@...r.kernel.org>,
	"David S. Miller" <davem@...emloft.net>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+

On Mon, 26 May 2008, Ingo Molnar wrote:

> 
> * Ingo Molnar <mingo@...e.hu> wrote:
> 
> > i also ran this for 15 minutes:
> > 
> >   [root@...ope ~]# tcpdump src and dst 10.0.1.15 -n
> >   tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> >   listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
> > 
> > but there was no output at all - i.e. TCP has not attempted to do 
> > anything to these connections.
> 
> ... which is not surprising as it traced eth0 ;-) [10.0.1.15 is the IP 
> of the box and routes back to loopback]

Thanks, it's much easier to diagnose right with symptoms that are based
on reality :-).

> with the proper tcpdump it gave:
> 
> [root@...ope ~]# tcpdump -i lo
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes
> 16:15:05.260000 IP europe.37198 > europe.distcc: . ack 2022529163 win 257 <nop,nop,timestamp 209526 197526>
> 16:15:05.260000 IP europe.distcc > europe.37198: . ack 1 win 0 <nop,nop,timestamp 209526 7020>
> 
> hm, a window of 257 and zero, is that right?

...Yes, though that 257 is lacks the effect of window scaling (and it's 
mostly irrelevant anyway since the problem occurs in opposite dir). The 
sender is using just window probes (/proc/net/tcp shows that too), that's 
why you see them occassionally. So the main problem seems to be that 
receiver doesn't read, rest is just a consequence of that (from TCP POV). 
I doubt that tcp_frto will affect to that (and I read what a stale 
retrans_stamp could do, it would hard cause any troubles, and those minor 
things wouldn't realize in your setup anyway).

I'll take a look into pre -rc1 changes now but it may well be beoynd
what I'm able to figure out.

-- 
 i.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ