From owner-freebsd-net@FreeBSD.ORG Sun Feb 25 22:57:57 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D29B916A402 for ; Sun, 25 Feb 2007 22:57:57 +0000 (UTC) (envelope-from ml.diespammer@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.freebsd.org (Postfix) with ESMTP id 540B913C478 for ; Sun, 25 Feb 2007 22:57:57 +0000 (UTC) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-ull-235-229.51-151.net24.it [151.51.229.235]) (authenticated bits=128) by parrot.aev.net (8.14.0/8.13.8) with ESMTP id l1PN53IT066236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Feb 2007 00:05:10 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Received: from [10.1.2.18] (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.0/8.13.8) with ESMTP id l1PMvs2i059709; Sun, 25 Feb 2007 23:57:54 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Message-ID: <45E21468.4060200@netfence.it> Date: Sun, 25 Feb 2007 23:57:44 +0100 From: Andrea Venturoli User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.61 on 212.31.247.179 Cc: kris@obsecurity.org Subject: LOR with divert sockets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 22:57:57 -0000 Hello. I posted the following message to questions and Kris (which I thank) kindly suggested I should ask here wether someone is working on this. I'll also forward it for inclusion on the list at http://sources.zabbadoz.net/freebsd/lor.html. BTW, I don't think the hangs I'm experiencing depend on this, but they might be important to you anyway. bye & Thanks av. ------------------------ Hello. As I have already written to this list, several of my 6.2 servers are hanging very frequently. I've managed to turn on the following options on one of them: > options KDB > options DDB > options KDB_UNATTENDED > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options DEBUG_LOCKS > options DEBUG_VFS_LOCKS > options DIAGNOSTIC I hope I can do that soon on the others too. In the meanwhile I have seen this in the log: > Feb 24 17:51:53 soth kernel: lock order reversal: > Feb 24 17:51:53 soth kernel: 1st 0xc6a37090 inp (divinp) @ /usr/src/sys/netinet/ip_divert.c:336 > Feb 24 17:51:53 soth kernel: 2nd 0xc070a18c tcp (tcp) @ /usr/src/sys/netinet/ip_fw2.c:1982 > Feb 24 17:51:53 soth kernel: KDB: stack backtrace: > Feb 24 17:51:53 soth kernel: kdb_backtrace(0,ffffffff,c06c8f10,c06cadb0,c0694084,...) at kdb_backtrace+0x29 > Feb 24 17:51:53 soth kernel: witness_checkorder(c070a18c,9,c0665b07,7be) at witness_checkorder+0x578 > Feb 24 17:51:53 soth kernel: _mtx_lock_flags(c070a18c,0,c0665b07,7be) at _mtx_lock_flags+0x78 > Feb 24 17:51:53 soth kernel: check_uidgid(c6a890b0,6,c6507800,46c046c1,6e,...) at check_uidgid+0xdf > Feb 24 17:51:53 soth kernel: ipfw_chk(e6cc49f0,c6cfdb00,c6507800,0,0,...) at ipfw_chk+0xd74 > Feb 24 17:51:53 soth kernel: ipfw_check_out(0,e6cc4ae8,c6507800,2,0) at ipfw_check_out+0xe0 > Feb 24 17:51:53 soth kernel: pfil_run_hooks(c0709d40,e6cc4b5c,c6507800,2,0,...) at pfil_run_hooks+0xc9 > Feb 24 17:51:53 soth kernel: ip_output(c6cfdb00,0,e6cc4b28,22,0,...) at ip_output+0x66a > Feb 24 17:51:53 soth kernel: div_output(c67a8000,c6cfdb00,c6b35be0,0,e6cc4c08,...) at div_output+0x185 > Feb 24 17:51:53 soth kernel: div_send(c67a8000,0,c6cfdb00,c6b35be0,0,...) at div_send+0x3f > Feb 24 17:51:53 soth kernel: > Feb 24 17:51:53 soth kernel: sosend(c67a8000,c6b35be0,e6cc4c3c,c6cfdb00,0,0,c657aa80) at sosend+0x5eb > Feb 24 17:51:53 soth kernel: kern_sendit(c657aa80,3,e6cc4cbc,0,0,0) at kern_sendit+0x104 > Feb 24 17:51:53 soth kernel: sendit(c657aa80,3,e6cc4cbc,0,bfbdebc4,...) at sendit+0x163 > Feb 24 17:51:53 soth kernel: sendto(c657aa80,e6cc4d04) at sendto+0x4d > Feb 24 17:51:53 soth kernel: syscall(3b,3b,3b,2,34,...) at syscall+0x25b > Feb 24 17:51:53 soth kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f > Feb 24 17:51:53 soth kernel: --- syscall (133, FreeBSD ELF32, sendto), eip = 0x2812ef43, esp = 0xbfbdeafc, ebp = 0xbfbeeba8 --- > Feb 24 17:51:53 soth kernel: ipfw: 65534 Deny TCP 192.168.0.3:52325 193.70.192.70:110 out via xl0 Any comments? I hope I can provide other, possibly more useful informations, in the near future. bye & Thanks av. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"