syncookie in 6.x and 7.x

Maxim Konovalov maxim at macomnet.ru
Fri Sep 28 09:23:01 PDT 2007


On Thu, 16 Aug 2007, 18:24+0400, Igor Sysoev wrote:

> During testing 7.0-CURRENT I have found that it always sends syncookies
> while on early FreeBSD versions "netstat -s -p tcp" always shows:
>
>         0 cookies sent
>         0 cookies received
>
> I have looked sources and found that in early versions the sent counter
> was simply not incremented at all. The patch attached.
>
> After the patch has been applied I have found that 6 always sends
> syncookies too, however, 6 unlike 7 never receives them. Why ?
>
Mine does:

$ netstat -sp tcp | grep cook
        51588 cookies sent
        25 cookies received
$ uname -r
6.2-STABLE

-- 
Maxim Konovalov


More information about the freebsd-net mailing list