From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Pidoux Subject: Re: ax25ipd issue Date: Thu, 23 Jun 2005 18:13:11 +0200 Message-ID: <42BADF97.8000802@ccr.jussieu.fr> References: <620c90570506110638c4a2659@mail.gmail.com> <1118518985.1275.1.camel@oh2bns.ampr.org> <1118520574.1282.10.camel@oh2bns.ampr.org> <6299972ae763a89e9fb7d206490cf1b7@utac.net> <620c905705061113454d208a97@mail.gmail.com> <42BAA242.3000809@sierra.apana.org.au> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42BAA242.3000809@sierra.apana.org.au> Sender: linux-hams-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Steve Fraser Cc: Linux-hams List Hi Steve, I have two dynamic IP partners and would be glad to test your patch for ax25ipd. Please feel free to send me your patch. 73 de Bernard, f6bvp > Hi All, > > Regarding the problem of IP addresses changing for AXIP links, Chuck > Hast wrote: > >> Yes, we need to come up on a work around, Stewart Wilkinson sent >> me a set of scripts that kill and restart ax25ipd when they detect a >> out of date address. Would be much better to figure out how to come >> up with a solution that will get a new one and go from there. > > > I've done some changes to the code. I've altered it so that every five > minutes and after 10 seconds of inactivity (or every 15 minutes > regardless) the IP entries for all route lines that have hostnames > rather than IP numbers get requeried by DNS. (It would have been better > to use TTL's, but I couldnt find any way to get the TTL without a lot of > coding!) > > Anyway, if you specify an IP number on a route line, then it's clearly > fixed. If you use a FQDN then the IP number may change, so is > re-checked. (If it is found to be invalid upon re-checking, the old IP > number is re-used). > > I think this will work OK, (without the overhead of a DNS lookup of > every packet) but I dont have any partners who use dynamic dns, so I > guess I need a volunteer to try it out for me.......... > > Drop me a line if you'd like to try it out. > > 73 > > Steve, vk5asf > > - > To unsubscribe from this list: send the line "unsubscribe linux-hams" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >