Skip site navigation (1)Skip section navigation (2)
Date:      22 Dec 00 00:42:11 MST
From:      John Smith <tiburon359@usa.net>
To:        Archie Cobbs <archie@dellroad.org>
Cc:        freebsd-net@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: [Re: New netgraph features?]
Message-ID:  <20001222074211.20124.qmail@nw174.netaddress.usa.net>

next in thread | raw e-mail | index | archive | help
Archie Cobbs <archie@dellroad.org> wrote:
>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

Well, I was thinking about this. I would like to share
this pre-idea and to receive your opinions.
I have one question here. Why should it be limited
to UDP... (or whatever protocol)? Are we going to
loose something, if we, say, create special node
for 'netgraph tunneling' (so that it may ot may not
be included into a running kernel) then connect
this node to another one, which will be used for
'transport' layer. Such a node could possibly be
used to encode/decode the inter-netgraph messages.
Other nodes' names then should include
the transport layer address. This way I think we
won't get limited to one protcol... =


Comments?
>
>- 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


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=3D=
1


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001222074211.20124.qmail>