What trigers PPP?

Simon Barner barner at in.tum.de
Tue May 6 05:34:19 PDT 2003


Hi Wayne,

> Something triggers the ppp on this box and I can't find what exactly it
> is.

ppp has a logging facility.

If your /etc/ppp/ppp.conf is an adapted version of the example file, there
should be already a line similar to this one in the "default:" section:

default:
...
set log Phase Chat LCP IPCP CCP tun command
...

When you add TCP/IP at the end of this line, all TCP/IP packets will be logged
in /var/log/ppp.log.

Beware: This will generate a huge log file, so it should be used for debugging
only. Once you know the packets that cause the connection to be initialized, you
can build so-called dial-filters in order to prevent connections from being
established or being kept alive for certain types of traffic.

References:
man ppp
 -> LOGGING FACILITY
 -> PACKET FILTERING
 
/usr/share/examples/ppp/ppp.conf.sample

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030506/f233bd7d/attachment.bin


More information about the freebsd-questions mailing list