Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jul 1998 12:53:31 +0100
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        THIERRY.HERBELOT@telspace.alcatel.fr
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: tcpdump on a dial-in PPP connection ?
Message-ID:  <359CC63B.1EBE5AF5@tdx.co.uk>
References:  <H000057c016b6bb7@MHS>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?359CC63B.1EBE5AF5>