Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 1997 01:33:57 +0200 (MET DST)
From:      Eivind Eklund <perhaps@yes.no>
To:        Brian Somers <brian@awfulhak.org>
Cc:        bruce@zuhause.mn.org, freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail and ppp -auto 
Message-ID:  <199709272333.BAA13407@bitbox.follo.net>
In-Reply-To: Brian Somers's message of Tue, 23 Sep 1997 23:48:04 %2B0100
References:  <199709231400.JAA02114@zuhause.mn.org> <199709232248.XAA07776@awfulhak.demon.co.uk>

index | next in thread | previous in thread | raw e-mail

> 
> > 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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709272333.BAA13407>