From owner-freebsd-hackers Sun Sep 7 01:53:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA08849 for hackers-outgoing; Sun, 7 Sep 1997 01:53:27 -0700 (PDT) Received: from gateway.senet.com.au (root@gateway.senet.com.au [203.11.90.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA08831 for ; Sun, 7 Sep 1997 01:53:22 -0700 (PDT) Received: from holly.rd.net (root@c3-p48.senet.com.au [203.56.237.177]) by gateway.senet.com.au (8.8.7/8.8.7) with ESMTP id SAA09407 for ; Sun, 7 Sep 1997 18:23:30 +0930 Received: from holly (darius@localhost [127.0.0.1]) by holly.rd.net (8.8.5/8.8.5) with ESMTP id SAA03149 for ; Sun, 7 Sep 1997 18:23:34 +0930 (CST) Message-Id: <199709070853.SAA03149@holly.rd.net> To: freebsd-hackers@freebsd.org Subject: Divert sockets.. Reply-to: doconnor@ist.flinders.edu.au Date: Sun, 07 Sep 1997 18:23:32 +0930 From: "Daniel J. O'Connor" Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, 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). I know ijppp can do this, but I have problems with ijppp =) 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 :) Thanks. Seeya Darius ~~~~~~