From owner-freebsd-hackers Mon Sep 8 20:57:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA29876 for hackers-outgoing; Mon, 8 Sep 1997 20:57:19 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA29870 for ; Mon, 8 Sep 1997 20:57:16 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id UAA17309; Mon, 8 Sep 1997 20:56:46 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017307; Mon Sep 8 20:56:38 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id UAA26970; Mon, 8 Sep 1997 20:56:38 -0700 (PDT) From: Archie Cobbs Message-Id: <199709090356.UAA26970@bubba.whistle.com> Subject: Re: Divert sockets.. In-Reply-To: <199709090200.LAA06125@lofty.ist.flinders.edu.au> from "Daniel J. O'Connor" at "Sep 9, 97 11:29:57 am" To: doconnor@ist.flinders.edu.au (Daniel J. O'Connor) Date: Mon, 8 Sep 1997 20:56:38 -0700 (PDT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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? :) Mpd is basically a multi-link version of ijppp.. originally based on it but completely rewritten... there's a new version available at ftp://ftp.whistle.com/pub/archie/mpd-1.0b4.tgz Some functionality was removed, such as LQR, filtering, and terminal mode. It has a (IMHO) better scripting language though, which allows you to auto-detect the modem type, etc. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com