From owner-freebsd-net@FreeBSD.ORG Tue Apr 1 16:08:55 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E7D2106567D for ; Tue, 1 Apr 2008 16:08:55 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE508FC1B for ; Tue, 1 Apr 2008 16:08:54 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jgj2Y-0002fp-Qv for freebsd-net@freebsd.org; Tue, 01 Apr 2008 16:08:51 +0000 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2008 16:08:50 +0000 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2008 16:08:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Mark Atkinson Date: Tue, 01 Apr 2008 09:08:35 -0700 Lines: 47 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.5 Sender: news Subject: panic: tcp_addoptions: TCP options too long w/ with TCP_SIGNATURE support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 16:08:55 -0000 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> -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired);