TCP options order changed in FreeBSD 7, incompatible with some routers

Bjoern A. Zeeb bz at FreeBSD.org
Fri Mar 14 03:15:08 PDT 2008


On Fri, 14 Mar 2008, Mike Silbersack wrote:

> On Thu, 13 Mar 2008, Bjoern A. Zeeb wrote:
>
>> It should give you output like this:
>> 
>> <mss 1396,nop,wscale 3,nop,nop,timestamp 3321226304 
>> 19549200,sackOK,eol,0x01[bad padding]>
>
> I like the [bad padding].

:-)


>> <mss 1396,nop,wscale 3,nop,nop,timestamp 574483947 
>> 19641135,sackOK,eol,0x00>
>
> But I think the "good" case should look like it did before, per POLA.

Ok, I am only printing it in case bad padding happens or one gave -v.

The new patch is here:

http://sources.zabbadoz.net/freebsd/patchset/20080314-01-tcpdump-print-tcp-option-padding.diff

-- 
Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
Software is harder than hardware  so better get it right the first time.


More information about the freebsd-net mailing list