From owner-freebsd-net@FreeBSD.ORG Mon May 28 07:57:37 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 33A9116A46B for ; Mon, 28 May 2007 07:57:37 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outU.internet-mail-service.net (outU.internet-mail-service.net [216.240.47.244]) by mx1.freebsd.org (Postfix) with ESMTP id 1D78A13C457 for ; Mon, 28 May 2007 07:57:37 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Mon, 28 May 2007 00:57:36 -0700 Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 5BACE125B26; Mon, 28 May 2007 00:57:36 -0700 (PDT) Message-ID: <465A8B7B.7060204@elischer.org> Date: Mon, 28 May 2007 00:57:47 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Nikos Vassiliadis References: <200705221006.49359.nvass@teledomenet.gr> <200705281033.08968.nvass@teledomenet.gr> In-Reply-To: <200705281033.08968.nvass@teledomenet.gr> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: ng_pptpgre + netmask_change results to lock 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: Mon, 28 May 2007 07:57:37 -0000 Nikos Vassiliadis wrote: > On Tuesday 22 May 2007 10:06, I wrote: >> Hello everybody, >> >> I just managed to lock my box and I want to report it define "lock"? Does it still respond to on the keyboard? (Assuming you have the debugger in your kernel?). Does it still ping? Sometimes these still respond even though the rest of the system appears dead. >> in case it's known(or it helps in some way). It is a >> 6.2-STABLE from March 13. > > I did update to RELENG_6. > >> The procedure that triggers >> the lock is simple: >> >> 1) Create a pptp tunnel. >> 2) Set is as your default gateway. >> 3) Play a bit with the netmask of the physical inteface. >> In my case doing a few times: >> ifconfig fxp0 192.168.1.71/16 >> ifconfig fxp0 192.168.1.71/24 >> locks the box. > > I also have to mention that the PPTP > server is not on 192.168.1.0/24. > > My kernel cf contains: > options KDB > options DDB > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options WITNESS_KDB > options DEBUG_LOCKS > options DIAGNOSTIC > options SOCKBUF_DEBUG > options BREAK_TO_DEBUGGER > > options NETGRAPH > options NETGRAPH_DEBUG > and several netgraph nodes. > > I still cannot break to the debugger, is there anything > else I should add to my kernel cf? > > root:0:~# ngctl list > There are 19 total nodes: > Name: ngctl18236 Type: socket ID: 0000003c Num hooks: 0 > Name: Type: pppoe ID: 00000037 Num hooks: 2 > Name: Type: socket ID: 00000036 Num hooks: 1 > Name: mpd1899-sam-bpf Type: bpf ID: 00000035 Num hooks: 5 > Name: mpd1899-sam-vjc Type: vjc ID: 00000034 Num hooks: 4 > Name: mpd1899-sam Type: ppp ID: 00000033 Num hooks: 7 > Name: ng1 Type: iface ID: 00000032 Num hooks: 2 > Name: mpd1899-sam-so Type: socket ID: 00000031 Num hooks: 2 > Name: Type: socket ID: 00000030 Num hooks: 0 > Name: Type: ksocket ID: 0000002f Num hooks: 1 > Name: Type: pptpgre ID: 0000002e Num hooks: 2 > Name: mpd1899-mss Type: tcpmss ID: 0000002d Num hooks: 4 > Name: mpd1899-vpn-bpf Type: bpf ID: 0000002c Num hooks: 5 > Name: mpd1899-vpn-vjc Type: vjc ID: 0000002b Num hooks: 4 > Name: mpd1899-vpn Type: ppp ID: 0000002a Num hooks: 8 > Name: ng0 Type: iface ID: 00000029 Num hooks: 2 > Name: mpd1899-vpn-so Type: socket ID: 00000028 Num hooks: 2 > Name: fxp0 Type: ether ID: 00000002 Num hooks: 0 > Name: rl0 Type: ether ID: 00000001 Num hooks: 1 > > Any ideas what to do next? > > Thanks in advance, Nikos > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"