----- Original Message -----
From: "Gatis Gailis" <[EMAIL PROTECTED]>
To: "IP Filter" <[EMAIL PROTECTED]>; "Jerry Murdock"
<[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 5:11 PM
Subject: Re: Filtering with a dynamic address


> Hmm, isn't it possible to write a script, that changes some strings in
> ipf.rules, e.g., your ext. int. address in necessary rules? I am
absolutely
> positive, that it can be done. Then startup 1) runs dhcpcient, gets IP and
> gives it to ifconfig, 2) executes something like

As said, such a script should be trivial using your seach-and-replace tool
of choice.  Grepping around ifconfig output shouldn't be neccessary as
ppp.linkup and ISC's dhclient both provide variables with the current(new)
ip address.

Jerry



Reply via email to