Re: FreeBSD 7 TCP syncache fix: request for testers




On Fri, 20 Jul 2007, Peter Wemm wrote:

TCP: [127.0.0.1]:52446 to [127.0.0.1]:1128 tcpflags 0x10<ACK>;
syncache_expand: Segment failed SYNCOOKIE authentication, segment
rejected (probably spoofed)
[...]

How on earth can localhost be spoofing itself? This is getting quite
absurd. :-(

Any extra ACK that arrives is probably being processed by the syncookie code is my guess. So, I think that the problem is probably anywhere except in the syncookie code.

I'll give your patch a shot and see if it improves things at all.

It won't, not for this case. :(

But I'll get it committed ASAP, because it fixes other cases. Unless, that is, things IRL keep interrupting me.

Mike "Silby" Silbersack
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: FreeBSD 7 TCP syncache fix: request for testers
    ... Segment failed SYNCOOKIE authentication, ... How on earth can localhost be spoofing itself? ... Any extra ACK that arrives is probably being processed by the syncookie code is my guess. ...
    (freebsd-current)
  • Re: FreeBSD 7 TCP syncache fix: request for testers
    ... Segment failed SYNCOOKIE authentication, ... Any extra ACK that arrives is probably being processed by the syncookie code is my guess. ... FYI, I received an informal report a few days ago that the SYN cache was ignoring RSTs, and kept transmitting SYN/ACK's even though a RST had been sent. ... This was during some local network testing where a host sends SYN packets out to a large number of other hosts, then quickly resets the connections after getting SYN/ACK's. ...
    (freebsd-current)
  • Re: FreeBSD 7 TCP syncache fix: request for testers
    ... Segment failed SYNCOOKIE authentication, ... Any extra ACK that arrives is probably being processed by the syncookie code is my guess. ... FYI, I received an informal report a few days ago that the SYN cache was ignoring RSTs, and kept transmitting SYN/ACK's even though a RST had been sent. ... This was during some local network testing where a host sends SYN packets out to a large number of other hosts, then quickly resets the connections after getting SYN/ACK's. ...
    (freebsd-net)
  • [PATCH 11/12] random pt4: Move syncookies to net/
    ... Move syncookie code off to networking land. ... hash collisions will occur no more often than chance. ... * Secure SYN cookie computation. ...
    (Linux-Kernel)