From owner-freebsd-hackers Mon Sep 8 19:41:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA26225 for hackers-outgoing; Mon, 8 Sep 1997 19:41:58 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA26220 for ; Mon, 8 Sep 1997 19:41:54 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id MAA04233; Tue, 9 Sep 1997 12:11:48 +0930 (CST) Message-ID: <19970909121148.26417@lemis.com> Date: Tue, 9 Sep 1997 12:11:48 +0930 From: Greg Lehey To: "Daniel J. O'Connor" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Divert sockets.. References: <199709082306.QAA05241@bubba.whistle.com> <199709090200.LAA06125@lofty.ist.flinders.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199709090200.LAA06125@lofty.ist.flinders.edu.au>; from Daniel J. O'Connor on Tue, Sep 09, 1997 at 11:29:57AM +0930 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Sep 09, 1997 at 11:29:57AM +0930, Daniel J. O'Connor wrote: > >> 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... I don't understand. Which packets do you want to use? If they're not destined for that interface, they shouldn't cause a dialup. > (So its too bad if you have dialon demand ISDN :) I don't understand this statement, either. Greg