From owner-freebsd-hackers Mon Sep 8 19:00:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA24185 for hackers-outgoing; Mon, 8 Sep 1997 19:00:33 -0700 (PDT) Received: from adam.ist.flinders.edu.au (root@adam.ist.flinders.edu.au [129.96.1.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA24178 for ; Mon, 8 Sep 1997 19:00:23 -0700 (PDT) Received: from lofty.ist.flinders.edu.au (root@lofty.ist.flinders.edu.au [129.96.43.66]) by adam.ist.flinders.edu.au (8.8.5/8.8.5) with ESMTP id LAA12443 for ; Tue, 9 Sep 1997 11:30:38 +0930 (CST) Received: from lofty.ist.flinders.edu.au (doconnor@localhost [127.0.0.1]) by lofty.ist.flinders.edu.au (8.8.5/8.8.5) with ESMTP id LAA06125 for ; Tue, 9 Sep 1997 11:30:07 +0930 (CST) Message-Id: <199709090200.LAA06125@lofty.ist.flinders.edu.au> To: freebsd-hackers@freebsd.org Subject: Re: Divert sockets.. In-reply-to: Your message of "Mon, 08 Sep 1997 16:06:20 MST." <199709082306.QAA05241@bubba.whistle.com> Date: Tue, 09 Sep 1997 11:29:57 +0930 From: "Daniel J. O'Connor" Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > IMHO, the proper way to do this is to let the PPP daemon handle it > by installing a route first (so you let the routing code determine > whether packets are supposed to go over the WAN link or not, as it > should) and then checking each outgoing packet for suitability as > "demand" (not all are, e.g., NTP packets). When "demand" is seen, > it should start dialing, etc. The same "demand" test can also apply > to idle timeout calculations. This is how mpd does it, anyway. Yeah, same with ijppp, but it means you can only use those packages to do a connection, ie its not very general... (So its too bad if you have dialon demand ISDN :) Err, whats mpd do? :) Seeya Darius ~~~~~~