From owner-freebsd-net Sun May 26 14: 0:18 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 40F0637B401 for ; Sun, 26 May 2002 14:00:14 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020526210013.XIBG11426.rwcrmhc51.attbi.com@InterJet.elischer.org>; Sun, 26 May 2002 21:00:13 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA03164; Sun, 26 May 2002 13:57:38 -0700 (PDT) Date: Sun, 26 May 2002 13:57:37 -0700 (PDT) From: Julian Elischer To: Rocco Lucia Cc: freebsd-net@freebsd.org Subject: Re: ng_fwdswitch netgraph node In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 26 May 2002, Rocco Lucia wrote: > On Fri, May 24, 2002 at 10:31:54AM -0700, Julian Elischer wrote: > > some comments.. > > > > 1/ it may be more useful to not make any distinction between > > 'in' and 'out' hooks but just have connections.. > > The hooks could be given purely arbitrary names > > e.g. "source1" and "suspicious" > > a hook could be configured as being 'read-only' by command > > rather than by special name.. (though special names are > > not a very bad way of doing it.. > > "out-normal" > > and > > "out-dubious" > > > > Ah, sure, that's a good idea, I'm going to rework it to be able > to set node behavior sending it messages... that would consume > some more cycles per packet tho. Thank you for the suggestion :) not neccesarily.. use the per-hook private pointer to point to pre-configured stuff. k > > -- > Rocco Lucia - rlucia@iscanet.com Iscanet Internet Services > http://elisa.utopianet.net/~rlucia System and Network Admin > C6E6 AC9A 1361 FB38 B47A 2792 9FC4 C52F 7A68 4468 > > Free unices for a free world. Support *BSD. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message