On Sun, 24 Jan 1999, Michael Hutchinson wrote:
>This is the original post on the ip-goingdown patch.
>
>Thought it might be of interest, given recent posts.
>
> -- Michael
>
>Forwarded by Michael Hutchinson <[EMAIL PROTECTED]>
>---------------- Original message follows ----------------
> From: Erv Walter <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Sat, 7 Mar 1998 19:21:26 -0600 (CST)
> Subject: ip-goingdown patch
>--
>
>I have patched diald to add ip-goingdown functionality. I thought
>other people might be interested in this. ip-goingdown is like ip-down
>except that it is run immediatly *before* the connection is taken down.
>This is useful for people who use services like ml.org that need to
>send a quick packet to deactivate their dynamic DNS resolution. The
>patch addes a ip-goingdown configfile option that works just like
>ip-down. ip-goingdown is called with the same options as ip-down. I
>believe that I have it so activity in ip-goingdown will not make the
>link non-idle again (it shouldn't restart right away). In anycase, I
>added ignore lines to prevent the specific site I connect to from
>affecting the connection.
>
>NOTE: ip-goingdown is not called in the background. diald waits for
>this to return so don't put things in here that take a long time.
>There is a 1 second delay after the script returns before diald closes
>the link to allow trafic to make it out.
>
>ip-goingdown is not called if the link dies on it's own (HANGUP or
>direct pppd killing). Therefore, I have also added a line in my
>personal ip-down to kill my dynamic-ip client in cases where this
>happens.
>
>Modify this at will, ignore it, or add it to the offical sources :)
>
This is _exactly_ what I'd like. I would vote for it going into the
official sources ...
Regards
Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]