1) Protocol 17 is UDP, look in /etc/protocols
2) Rule 22 is the 22nd line in a trimmed diald config file.

Th simplest way of trimming the file I've found is something like this:

    cat diald.filter standard.filter |
    egrep '^[        ]*(accept|ignore|keepup|impulse|bringup)' |
    nl

The list of files has to include all that have the commands mentioned in
the second line _in_the_correct_order_.

Those particular lines work for me ... yours will be different. We
probably need a short perl/shell script to do this for all cases.

In your case the link is _probably_ being brought up by a domain name
lookup. I always blame "sendmail -q15m" ...

If it's not DNS then the 'Bigger Hammer' approach might be to change the line:

   accept udp 120 any

to something like

   accept udp 120 udp.dest=udp.fsp
   accept udp 120 udp.source=udp.fsp
   keepup udp 120 any

Duplicate the first two lines for every service you want to be allowed to
bring the link up. (remove the if you don't want fsp)

-- 
Rob.                          (Robert de Bath <http://www.cix.co.uk/~mayday>)
                                                <http://poboxes.com/rdebath>

On Sat, 10 Oct 1998, 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?
> 
> Sorry to be such a bother,
> Sean
> 
> ------------------
> Theo. Sean Schulze
> [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
> 


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

Reply via email to