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]
Date:	Thu, 24 Jan 2013 08:59:08 +0200
From:	Pasi Kärkkäinen <pasik@....fi>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Hannes Frederic Sowa <hannes@...essinduktion.org>,
	Stephen Hemminger <stephen@...workplumber.org>,
	netdev@...r.kernel.org
Subject: Re: Linux 3.6.x kernel crash in tcp_slow_start / bictcp_cong_avoid
 with wfica

On Wed, Jan 23, 2013 at 03:47:11PM -0800, Eric Dumazet wrote:
> On Thu, 2013-01-24 at 00:41 +0100, Hannes Frederic Sowa wrote:
> > On Wed, Jan 23, 2013 at 03:26:42PM -0800, Stephen Hemminger wrote:
> > > I see no problems when using Citrix.
> > > This is a normal strace of the program wifca (in idle loop)
> > 
> > Thanks, could you also have a look at setsockopts while socket creation and
> > connection establishment?
> 
> As I said, tp->snd_cwnd is set to 0 by a bug in TCP stack.
> 
> Probably a combination of changed sysctls, and a genuine bug.
> 
> Please give us /etc/sysctl.conf content.
> 

This is my /etc/sysctl.conf contents:


net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1

net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

vm.min_free_kbytes = 131072
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.wmem_default = 262144
net.core.rmem_default = 262144
net.ipv4.tcp_rmem = 4096 262144 16777216
net.ipv4.tcp_wmem = 4096 262144 16777216


> Adding some BUG_ON(!tp->snd_cwnd) on every writes to tp->snd_cwnd should
> catch the bug.
> 

Hmm, I think I'll try this..


-- Pasi
 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists