Date: Mon, 12 Oct 1998 17:42:07 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Richard Wackerbarth <rkw@Dataplex.NET>, Mike Smith <mike@smith.net.au> Cc: fjaccard@urbanet.ch, current@FreeBSD.ORG Subject: Re: [GIMPS] /proc/net/route needed Message-ID: <19981012174207.A16615@emsphone.com> In-Reply-To: <l03130300b2482ed2e601@[208.2.87.5]>; from "Richard Wackerbarth" on Mon Oct 12 17:14:11 GMT 1998 References: <000001bdf603$663ab460$0100a8c0@sicel-3-213.urbanet.ch> <199810121806.LAA07090@dingo.cdrom.com> <l03130300b2482ed2e601@[208.2.87.5]>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 12), Richard Wackerbarth said: > At 1:06 PM -0500 10/12/98, Mike Smith wrote: > >I can't imagine why a user-space application needs to access *routing* > >information. Why not complain to the people that wrote it? > > From what I know about the GIMPS project, it is probably attempting > to determine if there is an active route to the outside. It does this > so that it can decide whether, or not, to attempt to connect to its > external server. > > I suspect that this was done to avoid bringing up a dialup > connection, etc. In which case, an active-filter on pppd (or a dfilter on user-ppp, but Linux doesn't have user-ppp :) would be a better solution. Think of a two-machine network; the second machine has its default route always pointing to the one with the modem on it, so GIMPS's route test wouldn't help. I say create a dummy /compat/linux/proc/net/route with a suitable default gateway defined. Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT eth0 00000000 0100000A 03 0 1 0 00000000 1500 0 0 should provide a default route via 10.0.0.1 for any program that thinks it needs to know. -Dan Nelson dnelson@emsphone.com 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?19981012174207.A16615>