From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Jones Subject: Re: [PATCH net-next] tcp: be more strict before accepting ECN negociation Date: Fri, 04 May 2012 14:01:42 -0700 Message-ID: <4FA443B6.9010106@hp.com> References: <1336144442.3752.348.camel@edumazet-glaptop> <4FA41B5B.5080103@hp.com> <1336155815.3752.365.camel@edumazet-glaptop> <4FA42491.2020104@hp.com> <1336158359.3752.382.camel@edumazet-glaptop> <4FA43A03.4090707@hp.com> <4FA43DCE.8040901@hp.com> <1336164546.3752.460.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: David Miller , netdev , Perry Lorier , Matt Mathis , Yuchung Cheng , Neal Cardwell , Tom Herbert , Wilmer van der Gaast , =?UTF-8?B?RGF2ZSBUw6RodA==?= , Ankur Jain To: Eric Dumazet Return-path: Received: from g4t0016.houston.hp.com ([15.201.24.19]:30946 "EHLO g4t0016.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932592Ab2EDVBo (ORCPT ); Fri, 4 May 2012 17:01:44 -0400 In-Reply-To: <1336164546.3752.460.camel@edumazet-glaptop> Sender: netdev-owner@vger.kernel.org List-ID: > > Interesting indeed ;) > > Did you check if it was spoofed ? > > (did the 3WHS really completed) Well, the tcpdump command was still: tcpdump -i eth0 -vvv '(tcp[tcpflags]& tcp-syn != 0)&& (ip[1] != 0x0)' I didn't see any SYN|ACKs go out, but netperf.org would have had to set ECT for me to see a SYN|ACK going out. FWIW, this is on a 2.6.31-15 (Ubuntu) kernel with net.ipv4.tcp_ecn = 2 and I don't think the SYNs themselves were negotiating ECN: 13:26:16.866007 IP (tos 0x3,CE, ttl 41, id 28850, offset 0, flags [DF], proto TCP (6), length 64) somesystemin.de.55363 > www.netperf.org.www: Flags [S], cksum 0x4cfc (correct), seq 304457158, win 65535, options [mss 1460,nop,wscale rick