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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 05 Jan 2010 16:39:11 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	netdev@...r.kernel.org
CC:	nhorman@...driver.com, ilpo.jarvinen@...sinki.fi
Subject: BSD 4.2 style TCP keepalives


To make a long story short, there are still some Windows 2000
machines out there emitting BSD 4.2 style keepalives (one garbage
byte instead of an empty out-of-window probe frame).

We don't ACK these because of how tcp_sequence() sees ->end_seq
as being equal to ->rcv_wup

But we can't change tcp_sequence() to reject these frames, because if
we do then we end up mishandling connection attempts (SYN, SYN+ACK)
and retransmits of such.

Neil has shown me a patch that does a by-hand special case of this
one-garbage-byte keepalive inside of tcp_rcv_established().

Anyone have suggestions for an alternative and perhaps cleaner
implementation of a fix?

Thanks!
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ