From owner-freebsd-questions Fri Jul 3 04:53:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA15431 for freebsd-questions-outgoing; Fri, 3 Jul 1998 04:53:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA15422 for ; Fri, 3 Jul 1998 04:53:50 -0700 (PDT) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.8/8.8.8) with ESMTP id MAA07095; Fri, 3 Jul 1998 12:53:32 +0100 (BST) (envelope-from kpielorz@tdx.co.uk) Message-ID: <359CC63B.1EBE5AF5@tdx.co.uk> Date: Fri, 03 Jul 1998 12:53:31 +0100 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: THIERRY.HERBELOT@telspace.alcatel.fr CC: freebsd-questions@FreeBSD.ORG Subject: Re: tcpdump on a dial-in PPP connection ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG THIERRY.HERBELOT@telspace.alcatel.fr wrote: > > Hello, > > I would like to see what packets are exchanged on a dialin PPP link > > I manage my modem with mgetty (as indicated in the handbook) - on an > incoming call, all goes well : ppp is established, .... [snip] > > Any ideas ? Try configuring your kernel to use bpfilters - i.e. add pseudo-device bpfilter 2 To your kernel, recompile it, install it, restart the system... When your connected via PPP you should be able to do something like: tcpdump -i tun0 (I think bpf's work with tun interfaces ;-) Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message