From owner-freebsd-questions@FreeBSD.ORG Tue May 6 05:34:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 578F037B401 for ; Tue, 6 May 2003 05:34:19 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3321E43F75 for ; Tue, 6 May 2003 05:34:18 -0700 (PDT) (envelope-from barner@in.tum.de) Received: from mailrelay1.informatik.tu-muenchen.de (mailrelay1.informatik.tu-muenchen.de [131.159.254.5]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id 1680E6457; Tue, 6 May 2003 14:34:13 +0200 (MEST) Received: from mail.informatik.tu-muenchen.de (mail.informatik.tu-muenchen.de [131.159.0.26]) by mailrelay1.informatik.tu-muenchen.de (Postfix) with ESMTP id CF5277A5F; Tue, 6 May 2003 14:34:10 +0200 (MEST) Received: from zi025.glhnet.mhn.de (unknown [129.187.19.157]) by mail.informatik.tu-muenchen.de (Postfix) with ESMTP id 88B1D70; Tue, 6 May 2003 14:34:16 +0200 (MEST) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 81C5C37866; Tue, 6 May 2003 14:34:13 +0200 (CEST) Date: Tue, 6 May 2003 14:34:13 +0200 From: Simon Barner To: Wayne Swart Message-ID: <20030506123413.GA1493@zi025.glhnet.mhn.de> References: <20030506130814.P2858-100000@gemini.fixx.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <20030506130814.P2858-100000@gemini.fixx.co.za> User-Agent: Mutt/1.5.4i cc: FreeBSD Mailing list Subject: Re: What trigers PPP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 12:34:19 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: =2E.. set log Phase Chat LCP IPCP CCP tun command =2E.. When you add TCP/IP at the end of this line, all TCP/IP packets will be log= ged in /var/log/ppp.log. Beware: This will generate a huge log file, so it should be used for debugg= ing 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 =20 /usr/share/examples/ppp/ppp.conf.sample Simon --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+t6vFCkn+/eutqCoRAtVmAJ9tOLceufjHUAF0qRScuc54w+OSegCg6Uwd p34NpcFRC565FHMdX4dK7Dg= =CUvE -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--