Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Apr 2008 10:57:46 -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:  <fstt2r$ifm$1@ger.gmane.org>
References:  <fstmm9$oci$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Atkinson wrote:

> I have a 8-CURRENT kernel compiled with the following options, from about
> march 5th.
> 
> options        IPSEC
> options        TCP_SIGNATURE           #include support for RFC 2385
> device         crypto
> device         cryptodev
> 
> device          pf
> device          pflog
> 
> device         vlan
> 
> I also have a external server supporting MD5 tcp signatures.  If I give
> the following command:
> 
> /usr/src/tools/regression/netinet/tcpconnect/tcpconnect client
> 172.16.1.145 7 1 tcpmd5
> 
> panic: tcp_addoptions: TCP options too long
> cpuid = 0
> KDB: enter: panic
> [thread pid 63738 tid 100052 ]
> Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
> db>
> db> bt
> Tracing pid 63738 tid 100052 td 0xc5065690
> kdb_enter(c0b5e1c7,c0b5e1c7,c0b739e8,e8114ad4,0,...) at kdb_enter+0x3a
> panic(c0b739e8,c0af8d24,4,e8114ba8,e8114ba4,...) at panic+0x12c
> tcp_addoptions(e8114ba0,e8114bbc,c0b73a24,26f,c5065690,...) at
> tcp_addoptions+0x367
> tcp_output(c5711910,c50d7720,c0b75546,1d8,c570f2b8,...) at
> tcp_output+0x9a9
> tcp_usr_connect(c577f308,c50d7720,c5065690,25,e8114c60,...) at
> tcp_usr_connect+0x125
> soconnect(c577f308,c50d7720,c5065690,c0800646,bfbfebf0,...)
> atsoconnect+0x52 kern_connect(c5065690,3,c50d7720,c50d7720,3,...) at
> kern_connect+0x96 connect(c5065690,e8114cfc,c,c0b63e42,c0c19b70,...) at
> connect+0x46 syscall(e8114d38) at syscall+0x2b3 Xint0x80_syscall() at
> Xint0x80_syscall+0x20 --- syscall (98, FreeBSD ELF32, connect), eip =
> 0x2813b1bb, esp = 0xbfbfebac, ebp = 0xbfbfec18 ---
> db>
> 

Confirmed to still be in a kernel built from todays sources.

-- 
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?fstt2r$ifm$1>