From owner-freebsd-questions Sat Sep 27 16:34:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA20230 for questions-outgoing; Sat, 27 Sep 1997 16:34:07 -0700 (PDT) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA20222 for ; Sat, 27 Sep 1997 16:34:03 -0700 (PDT) Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id BAA13407; Sun, 28 Sep 1997 01:33:57 +0200 (MET DST) Date: Sun, 28 Sep 1997 01:33:57 +0200 (MET DST) Message-Id: <199709272333.BAA13407@bitbox.follo.net> From: Eivind Eklund To: Brian Somers CC: bruce@zuhause.mn.org, freebsd-questions@FreeBSD.ORG In-reply-to: Brian Somers's message of Tue, 23 Sep 1997 23:48:04 +0100 Subject: Re: sendmail and ppp -auto References: <199709231400.JAA02114@zuhause.mn.org> <199709232248.XAA07776@awfulhak.demon.co.uk> Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > I just started using ppp -auto, and whenever sendmail starts up or I > > get any new mail, ppp connects to my ISP. How do I trace this? I > > don't know how. Is there something I should add to my sendmail > > configuration? For that matter, how do I attach bpf0 to tun0, and where > > is documentation on setting up ipfilters to reject the packet sendmail > > is sending? Would it help to set up a caching named? > > There's a bit in the FAQ now (in the networking section - 10.7.9 > currently). > > Essentially, you need to "set log +tcp/ip", determine the rogue > program (sendmail in your case) and add a few lines to ppp.conf: > > set dfilter 1 deny udp src eq 25 > set dfilter 2 deny udp dst eq 25 > set dfilter 3 permit 0/0 0/0 Eh - this looks completely bogus to me. set dfilter 1 deny udp src eq 53 set dfilter 2 deny udp dst eq 53 set dfilter 3 permit 0/0 0/0 would be it, wouldn't it? But - this denies all DNS requests the ability do dial out. Not Good. It is much better to fix sendmail (and Win95). Eivind.