From owner-freebsd-net@FreeBSD.ORG Sun Dec 28 17:30:36 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 852F2106564A; Sun, 28 Dec 2008 17:30:36 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from proxy.meer.net (proxy.meer.net [64.13.141.13]) by mx1.freebsd.org (Postfix) with ESMTP id 49C988FC17; Sun, 28 Dec 2008 17:30:36 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [64.13.141.3]) by proxy.meer.net (8.14.2/8.14.2) with ESMTP id mBSHUVcC002182; Sun, 28 Dec 2008 09:30:33 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id mBSHU9Po039910; Sun, 28 Dec 2008 09:30:11 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from [172.16.1.197] (cpe-68-175-68-135.nyc.res.rr.com [68.175.68.135]) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.1) with ESMTP id mBSHU2h1004583 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 28 Dec 2008 09:30:08 -0800 (PST) (envelope-from gnn@neville-neil.com) Message-Id: <3BE32C00-3AF8-4C8F-B48D-45F50D55A2B2@neville-neil.com> From: George Nevill-Neil To: Julian Elischer In-Reply-To: <495290EF.6020400@elischer.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 28 Dec 2008 12:30:02 -0500 References: <7ihc4u3adr.wl%gnn@neville-neil.com> <4951515C.4030706@elischer.org> <495215A6.2040002@oltrelinux.com> <20081224111546.GA59523@onelab2.iet.unipi.it> <495290EF.6020400@elischer.org> X-Mailer: Apple Mail (2.930.3) X-Canit-CHI2: 0.50 X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-Spam-Score: 0.00 () [Tag at 5.00] X-CanItPRO-Stream: default X-Canit-Stats-ID: 2848020 - 2c18ad79d617 X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.141.13 Cc: gnn@freebsd.org, Luigi Rizzo , net@freebsd.org Subject: Re: A new tool for low level testing... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 17:30:36 -0000 On Dec 24, 2008, at 2:43 PM, Julian Elischer wrote: > Luigi Rizzo wrote: >> On Wed, Dec 24, 2008 at 11:57:42AM +0100, Paolo Pisati wrote: >>> Julian Elischer wrote: >>>> OR >>>> >>>> ngctl mkpeer em0: echo lower echo >>>> >>>> >>>> hmmmmm no this would leave the source and destination headers in >>>> hte same order.. they need to be swapped.. >>>> >>>> ok so I need to make a patch, but it would be much quicker than a >>>> user utility.. >>> what about a netgraph cookbook? >> indeed, that would be a nice Xmas present! >> cheers >> luigi > > > I'm curious, what sort of things would you expect to see in such a > document? Maybe we could get everyone to contribute their favourite > netgraph recipes (scripts?). > I have often thought of updating the docs I've found but as usual $paidwork gets in the way. I may be about to use netgraph at work so I might be able to help with this. The things that I find to be missing in the current netgraph documentation are: 1) Developers Guide How do I write new nodes? Walk through a non trivial node step by step. 2) Updated overall use guide I've found a few docs on netgraph on the net, but I bet most people are still looking at Archie Cobb's old document and it's out of date. 3) Recipes Sure, a fine idea, but it's not the first thing I need. Best, George