From owner-freebsd-net Thu Dec 21 13:57:17 2000 From owner-freebsd-net@FreeBSD.ORG Thu Dec 21 13:57:13 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id F0A9C37B400; Thu, 21 Dec 2000 13:57:12 -0800 (PST) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id NAA37433; Thu, 21 Dec 2000 13:57:11 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.11.0/8.11.0) id eBLLvAU78207; Thu, 21 Dec 2000 13:57:10 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200012212157.eBLLvAU78207@curve.dellroad.org> Subject: Re: New netgraph features? In-Reply-To: <20001220161908.3866.qmail@nwcst288.netaddress.usa.net> "from John Smith at Dec 20, 2000 09:19:08 am" To: John Smith Date: Thu, 21 Dec 2000 13:57:10 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Smith writes: > Well, may be I didn't said exactly what I wanted to. > If we use say, ksocket nodes as a tunnel, we will > transfer the data - ok, but what about metadata? > May be I should say 'to connect two netgraphs'? > May be this is a lost cause, but that's why I'm asking. Yes, there would need to be some extra stuff. Here are some quick possibilities.. - We'd need to enhace the definition of a netgraph address to include, say, an IP address, eg.: $ ngctl msg 192.168.1.12:foo: blah blah - Encode control messsages in their ASCII forms for transit across the network - Pick a well known UDP port to be used for netgraph messages and data packets - Create a node type that could listen on this port (using ng_ksocket) and do the required encoding/decoding. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message