Just some more comments on this all-too-frequent problem...

> 
> On Sat, Oct 10, 1998 at 08:12:39PM +0200, Theo. Sean Schulze wrote:
> 
> > Well, I've now gotten diald to connect when I want it to, but I guess I
> > need to work on keeping it from connecting when I don't want it to.  It
> > seems that over the last hour or so that I have had diald up and running
> > on my system it has dialed my ISP at each quarter hour minus one minute
> > (e.g., 18:59, 19:14).  Looking at the tail of /var/log/messages, I see
> > that rule 22 proto 17 seems to be the culprit.  What is this rule?  I
> > don't see any numbers in /usr/lib/diald/standard.filter.  Where in the man
> > pages is this addressed?
> 
> In my experience, seemingly unnecessary connects like this are usually caused
> by something generating a host-lookup request which generates traffic
> destined for your dns server.  Something as simple as a "route" command to
> display the routing table can do this.
> 
> If this is the case, you can:
> 
>  1) Figure out what's doing the lookup and make it stop

This is indeed the first step. I use  

        tcpdump -vv -s 1024 port domain

To see who is doing what.  -vv decodes more, and -s 1024 saves more
of the packet.  You can also just look at the ppp link with -i ppp0,
which picks the interface.  But this can get a bit confusing with
diald since some things go in/out the sl0 interface.  At least I
get confused sometimes.

>  2) Add frequently requested hosts to your hosts file and make sure
>     resolv.conf checks the host file first.

Plus you may have to add other local machines to \windows\hosts on
the win95 machines.  This is, in typical microsoft anti-any-other
system fashon, not automated.  You need to do this with edit from
a dos box.

>  3) Run a name-server daemon (it can cache addresses and prevent external
>     lookups).
>     
> I haven't tried 3 yet.    
> 

I tried once and did not succeed in the time I allocated myself.
I intend to try again.

-- cary


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to