Date: Mon, 08 Sep 1997 10:45:18 +1000 From: Mike Smith <mike@smith.net.au> To: doconnor@Ist.flinders.edu.au Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Divert sockets.. Message-ID: <199709080045.KAA00615@word.smith.net.au> In-Reply-To: Your message of "Sun, 07 Sep 1997 18:23:32 %2B0930." <199709070853.SAA03149@holly.rd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> I was wondering if its possible to write a program which would do > 'dial on demand', by grabbing packets, and seeing if they are destined > to go out of the system, and if so, run a script(which would cause a > dialup). You could hang something off a divert socket to do this. > I know ijppp can do this, but I have problems with ijppp =) Fix your problems. 8) > The only problem I can see is that since a default route wouldn't be > established yet(since you aren't dialed up), the packets would be > killed off before they pass through a divert socket.(I don't know much > about how that stuff works :) Bingo. You would have to configure an interface before any packets would be submitted to it. mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709080045.KAA00615>