Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2008 08:08:18 -0700
From:      Mark Atkinson <atkin901@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   Re: panic: tcp_addoptions: TCP options too long w/ with	TCP_SIGNATURE support
Message-ID:  <ft07h2$ukj$1@ger.gmane.org>
References:  <fstmm9$oci$1@ger.gmane.org> <20080401191246.GA1491@fnop.net>	<fsu2c6$6iv$1@ger.gmane.org> <47F29471.10901@freebsd.org> <47F29DE0.6080500@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andre Oppermann wrote:
> Before:
> 
>    MSS (4) + NOP (1) + Window scale (3) + SACK permitted (2) +
>    Timestamp (10) + Signature (18) = 38 bytes out of a maximum of 40.
> 
> After:
> 
>   MSS (4) + NOP (1) + Window scale (3) + NOP (2) + Timestamp (10) +
>   NOP (2) + Signature (18) + SACK permitted (2) + EOL (1) + PAD (1) =
>   44 bytes out of a maximum of 40.
> 
> With the attached patch it will omit the SACK permitted option (disabling
> SACK) and limiting it to 40 bytes.

Appears to work with patch.

08:06:38.324770 IP 172.16.15.254.41869 > 172.16.1.145.7: S
1106204761:1106204761(0) win 65535 <mss 1460,nop,wscale 3,nop,nop,timestamp
684040 0,nop,nop,md5:valid>

-- 
Mark Atkinson
atkin901@yahoo.com
(!wired)?(coffee++):(wired);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ft07h2$ukj$1>