From owner-freebsd-net@FreeBSD.ORG Wed Dec 24 21:59:04 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 0B80B106564A for ; Wed, 24 Dec 2008 21:59:04 +0000 (UTC) (envelope-from ivo.vachkov@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id AC4198FC19 for ; Wed, 24 Dec 2008 21:59:03 +0000 (UTC) (envelope-from ivo.vachkov@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1838371yxb.13 for ; Wed, 24 Dec 2008 13:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WXwqXgYX2YPVuh2WnsfisHYhksKzZoy9AB2/oXydo/8=; b=FwnKf3zWpBqAkJvyDqGnD5qXc7DzzJuKmM5lSrrMUc5aUBjGEclYiVA1KAWUxM6t26 WN6kO3mtXCULEgXIyZVyDI4mYHFtc1BIvaCntMlsmna17d2+hOo/em/JbPuBEvyxtcxM 6PlORlRSwkLtjhArqM0/Gu1uVnvXQycDrK/Ho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wKjPxlpVHl23+RWM+9SjL0X/EEBG4glUc2WkOX8nsHH3/kX5k2EzmoULRxd+NN09cF yiXocXXwU9EUXWkEbgJCFVgAwHvwL40q7lcLrm6M0spVqS/tnmA7J3TeJAm5g8f2F984 OifUkNXLu8WstRJCsDhZPIc8/UV82m95kz5gI= Received: by 10.151.143.3 with SMTP id v3mr11811623ybn.61.1230154701232; Wed, 24 Dec 2008 13:38:21 -0800 (PST) Received: by 10.150.51.10 with HTTP; Wed, 24 Dec 2008 13:38:21 -0800 (PST) Message-ID: Date: Wed, 24 Dec 2008 23:38:21 +0200 From: "Ivo Vachkov" To: "Julian Elischer" In-Reply-To: <495290EF.6020400@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> Cc: 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: Wed, 24 Dec 2008 21:59:04 -0000 On Wed, Dec 24, 2008 at 9: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 would like to see usage scenarios, sample scripts, tips and hits :) Documentation on module design would be nice too. I have some source code (sample module) which I created for educational purposes and I'd be glad to contribute in such project. /ipv