Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Oct 2009 10:01:28 -0700
From:      Julian Elischer <julian@elischer.org>
To:        "Ahrenholz, Jeffrey M" <jeffrey.m.ahrenholz@boeing.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: can't find routing entry for network routes
Message-ID:  <4ACE1AE8.60409@elischer.org>
In-Reply-To: <FD98F9C3CBABA74E89B5D4B5DE0263B9250B79AE39@XCH-NW-12V.nw.nos.boeing.com>
References:  <20091007002615.M76095@alentogroup.org>	<4ACBF0ED.2070905@elisch	er.org>	<20091007043721.M28730@alentogroup.org>	<4ACC2536.9030701@elischer.	org>	<4ACCE73A.5000502@elischer.org>	<20091007222310.M23322@alentogroup.org	>	<4ACD1A29.4070207@elischer.org><20091007234005.M40001@alentogroup.org> <4ACD3091.9000709@elischer.org> <FD98F9C3CBABA74E89B5D4B5DE0263B9250B79AE39@XCH-NW-12V.nw.nos.boeing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ahrenholz, Jeffrey M wrote:
>>> Will netgraph let you create a gif or other tunneling 
>> socket and plug 
>>> it in directly to the graph? Would the alternative be piping a 
>>> userland tunneling socket and ng_socket?
>> there is an ng_gif node but I've never used it.
>>
>> look in /usr/src/sys/netgraph to see what exists. They are 
>> supposed to all have man pages.
>>
>> I like mpd for tunneling..
>> it is a higher level user of netgraph.
> 
> Another good one is ng_ksocket(4), which you can use to directly connect the netgraph systems of two different kernels across the network. It behaves like a bare-bones tunnel where the netgraph data is sent directly over UDP or TCP.
> 
> -Jeff


in fact mpd knows how to use ksockets to do just that when it usws tcp 
or udp as a transport mechanism for it's ppp stream.

I have also used ksockets directly and used ipsec to encrypt the outer 
layer..





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