From owner-freebsd-net Wed Oct 25 15: 3: 2 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id EDB2737B4D7 for ; Wed, 25 Oct 2000 15:02:58 -0700 (PDT) Received: from bissau-38.budapest.interware.hu ([195.70.53.166] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13oYdJ-0003wT-00; Thu, 26 Oct 2000 00:02:53 +0200 Message-ID: <39F75886.A6EBD94@elischer.org> Date: Wed, 25 Oct 2000 15:02:46 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Fausak Cc: freebsd-net@FreeBSD.ORG Subject: Re: BPF usage questions References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Fausak wrote: > > >What is netgraph? > > whoops... Foot in mouth. I have done some research now and see this > is great! Is there somewhere I can look at examples of > ng implemented nodes? Specifically, I'd like to experiment with > frame relay (DSL), multi-link (node multiplexing-demultiplexing) and > vpn. welllll, start with the netgraph(4) manpage (not netgraph(3)) then you'll find MOST of the implemented nodes in /sys/netgraph, though there are a couple of others (sync cards) the mpd-netgraph port (under ports/net) can use netgraph to run pptp vpns and the ppp daemon (ppp(8)) can use netgraph to connect to pppoe sessions running through DSL. (though it needs a ethernet attached DSL modem.) there is also an article on netgraph on Daemonnews in the "blueprints (?)" section that is illuminating.. also check out /usr/share/examples/netgraph for examples of how you might set up some configurations. For a very conoluted example you may write yur own setup and control C program using the netgraph(3) library to control it. (that's what mpd and ppp do) > > Thanks, > > ---greg -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v ' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message