On 10-Dec-2000 Bob Hartung opined:
> Hi again,
> I have my RH 6.2 machine reinstalled, all scripts restored
> and all updates applied. I have what I think is a workable
> firewall script. Now, what I cannot figure out is where can
> I insert a line of code that will call my firewall script
> everytime pppd opens up a new connection.
>
> I have looked in numerous books and man pages. I do not
> see how I can call if from the connection chat script. I do
> not yet understand enough of the relationship or when's of
> the scripts in /etc/sysconfig/network-scripts to know if
> there is one that will fire everytime the ppp0 interface is
> again opened.
>
> Can someone clue me on on the script sequence or suggest
> another script file that will be read each time the
> connection ppp0 is initialized. Is there a particularly
> good book available that will explain this sequence of
> events so I can won't have to post such low level messages
> to the list?
/etc/ppp/ip-up is the logical place to put these things since it gets
called when pppd is run. It says right in it, though, to use
/etc/ppp/ip-up.local instead. ip-up calls ip-up.local on mine.
Either way, that's where you wanna look.
I don't know of a definitive book, though I would imagine there is one. I
just mostly learned it from howtos, searches and places like this list.
--
It's not a bug, it's tradition!
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list