> Hiya,
>> What is the best way to start logging tcp traffic once a ppp link has been
> bought up by pppd?
>> What I want to do is start:
>> tcpdump -i ppp0 -w somefileorother
>> immediately after the ppp link is established.
>> The machine I want this to run on, is acting as a test ppp dialin sever.
>> I had a go at adding "record logfile" to the pppd options, but
> unfortunately, when I run this through tcpdump, it barfs. I want a logfile
> which can be read by tcpdump, and ultimately ethereal.
Would putting the tcpdump command in /etc/ppp/ip-up (or ip-up.local)
get the info you want? You'd miss the very early connection
options negotiation stuff.
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!