From owner-freebsd-net Thu Jan 21 14:34:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07081 for freebsd-net-outgoing; Thu, 21 Jan 1999 14:34:04 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07015; Thu, 21 Jan 1999 14:33:56 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id OAA29260; Thu, 21 Jan 1999 14:26:20 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdX29256; Thu Jan 21 22:26:14 1999 Date: Thu, 21 Jan 1999 14:26:08 -0800 (PST) From: Julian Elischer To: phk@FreeBSD.ORG cc: net@FreeBSD.ORG Subject: Netgraph new version Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org A prerelease version is available at: The release version is waiting for 'make world' to work again, so We can do our last tests on it. This is substantially production quality code, as we have spent a week cleaning and preening. ftp://ftp.whistle.com/pub/archie/misc/netgraph.tgz This file includes a USEFUL README file, a tar file of new files and a patch file to change existing files.. (including a patch to netstat to allow it to report netgraph 'socket' nodes.) Man pages for all the node types patches to if_sr.c and if_ar.c compile cleanly and give examples of how a sync card should be interfaced.. (if_ar.c is easier to understand) (these cannot be tested as we don't have those cards, but the netgraph code has been tested with our own proprietary card) All nodes except the sync cards can be loaded as KLD modules however to compile the sync cards in you also need the base netgraph module in the kernel. requires newest version of uipc_domain.c and domian.h If you want to test it without the sync cards, you can load the whole thing into a new kernel as modules and try it from there. You should read the man pages: netgraph(4) ng_socket netgraph(3) ngctl(8) nghook(8) ng_{other tyes} probably in that order The following modules are supplied: base - the base framework. UI - simple node t add/strip "Un-numbered Information" header (0x03) async - do rfc 1662 framing/unframing on a packet cisco - 'cisco' hdlc framing and protocol. echo - echoes packets back at sender hole - blackhole (discard device) iface - netgraph node on one side, regular interface on the other rfc1490 - rfc1490 frame-relay protocol encapsulation lmi - frame relay link management protocol handler. frame-relay - frame-relay channel multiplexor/demultiplexor socket - netgraph node on one side, socket on the other tee - assist debugging by tapping a link tty - netgraph node on one side, tty line disciplin on the other. plus: if_sr.c, if_ar.c patches to make these netgraph capable. ppp - unfinished ppp node vjc - unfinished van-jacobson compression node patches are also available for mpd to allow mpd to run multilink ppp into a netgraph socket. (not supplied) Netgraph is designed to allow quick development of production quality modules that can be re-used in such environments as ATM, fram-relay, ppp, async-ppp, ISDN. Each module knows how to do ONE thing. you hook them together to do more. julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message