Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2003 12:53:23 +0100
From:      Juan Rodriguez Hervella <jrh@it.uc3m.es>
To:        freebsd-net@freebsd.org
Subject:   Question about Netgraph  (I'm in a mess :)
Message-ID:  <200311261253.26282.jrh@it.uc3m.es>

next in thread | raw e-mail | index | archive | help
Hello,

I'd like to make some modifications to the IPv6 hearder of some packets
before sending them out the interface. I'm thinking where's the best
way of doing this. So, I've found out the Netgraph tool (I didn't know it 
before :) but now I'm wondering how to use it properly.

As far as I understand, I could have a "ng_iface" node which would
have a "ipv6" hook to my new node, which would change the IPv6
packet.... I would grab the packets installing a new route towards the
"ng_iface" node, right ? Then, if I want to insert the modified packet
to send it out the interface, I should connect my new node to the
"ng_ether" node ? or again sending out the packet through the same
"ng_iface" node ? 

I'm a bit mix up with all this stuff, any help will be very appreciated.

-- 
******
JFRH
******

With every passing hour our solar system comes forty-three thousand
miles closer to globular cluster M13 in the constellation Hercules, and
still there are some misfits who continue to insist that there is no
such thing as progress.
		-- Ransom K. Ferm



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