Date: Sat, 23 Sep 2000 09:41:57 +0200 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: freebsd-current@FreeBSD.ORG Subject: Re: ppp.linkdown Message-ID: <20000923094156.E5065@speedy.gsinet> In-Reply-To: <Pine.BSF.4.21.0009222343110.93358-100000@arnold.neland.dk>; from leifn@neland.dk on Fri, Sep 22, 2000 at 11:43:49PM %2B0200 References: <200008122034.VAA02385@hak.lan.Awfulhak.org> <Pine.BSF.4.21.0009222343110.93358-100000@arnold.neland.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 22, 2000 at 23:43 +0200, Leif Neland wrote: > > On Sat, 12 Aug 2000, Brian Somers wrote: > > > > Is ppp.linkdown executed before or after the link is down? > > > > > > I'd like to change a dyndns, but will link activity done in > > > linkdown defeat the timeout, or start a new call? > > > > It'll start a new call in auto mode. > > > So any ideas how to use dyndns? Simply the way it was designed -- with short TTLs (in a few minutes' order). Have your entry expire instead of "logging off". Your dyndns provider should support such a feature. This means to refresh the entry periodically when you're online -- with a refresh cycle longer than your idle timeout. Doing network actions and damaging your idle timeout by "waving good bye" is just as bad as turning timeouts off close to idlehup time and unconditionally hanging up -- this will collide with "regular" traffic which might have occured by chance (or due to the service's nature? Think of how long it takes to read a webpage and follow the next link). Even hacking a "pre hup hook" into ppp will have the latter problem. The only way out I could see it to have a clear way of recognizing what's data and what's logon/logoff traffic. Then you could teach your ppp not to take into account the dyndns traffic when calculating idlehup times. This could be done by looking at the ports or ipnumbers or whatever ppp(8)'s filter allows for. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000923094156.E5065>