Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-21 Thread Dinesh Nair
On Wed, 21 Jan 2004, Andrew Riabtsev wrote: > And now befor send out packet throw one of "many" hook just overwrite > ip-src address with address given in > node->private->enabledLinks[hook->private->numb] or whatever it is > called in ng_one2many.c you'd also need to overwrite the destination e

Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-21 Thread Dinesh Nair
On Wed, 21 Jan 2004, Andrew Riabtsev wrote: > 1 let default route be to fxp0 > 2 conncet fxp0's upper hook to "one" hook of ng_one2many > 3 connect lower hooks of fxp0 and aue0 to "many" hooks of ng_one2many > 4 u have what u r accept for the overwriting src ip > 5 time for uber hack ng_one2many:

Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-21 Thread Andrew Riabtsev
Tuesday, January 20, 2004, 9:51:52 PM, you wrote: DN> On Tue, 20 Jan 2004, Gleb Smirnoff wrote: >> Isn't ng_etf(4) the one you need? DN> ng_etf does filtering, i'm planning on doing round robin IP tranmission, DN> with source IP address set accordingly. see ng_one2many which gives an DN> exampl

Re: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Dinesh Nair
On Tue, 20 Jan 2004, Gleb Smirnoff wrote: > Isn't ng_etf(4) the one you need? ng_etf does filtering, i'm planning on doing round robin IP tranmission, with source IP address set accordingly. see ng_one2many which gives an example for ethernet frames. i want to do the same thing in ng_one2many's

Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Andrew Riabtsev
GS> On Tue, Jan 20, 2004 at 11:48:44AM +0300, Andrew Riabtsev wrote: A>> >> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it A>> >> do something but not what you are waiting for, i think. A>> A>> DN> i know, hence was asking if there was something i could do, even if it A>>

Re: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Gleb Smirnoff
On Tue, Jan 20, 2004 at 11:48:44AM +0300, Andrew Riabtsev wrote: A> >> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it A> >> do something but not what you are waiting for, i think. A> A> DN> i know, hence was asking if there was something i could do, even if it A> DN> meant

Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Andrew Riabtsev
Hi, Dinesh, Monday, January 19, 2004, 8:29:23 PM, you wrote: DN> On Mon, 19 Jan 2004, Andrew Riabtsev wrote: >> DN> connecting the ng_iface hook inet to ng_ether's upper or lower doesnt make >> DN> any sense because ng_ether itself does not do an encasulation of the IP >> DN> packet into an eth

Re: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-19 Thread Dinesh Nair
On Mon, 19 Jan 2004, Andrew Riabtsev wrote: > DN> connecting the ng_iface hook inet to ng_ether's upper or lower doesnt make > DN> any sense because ng_ether itself does not do an encasulation of the IP > DN> packet into an ethernet frame. or am i wrong here, and just configuring it > DN> wrongly

Re: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-19 Thread Andrew Riabtsev
Hi all, Monday, January 19, 2004, 12:34:25 PM, you wrote: DN> hey all, skiped DN> i need some understanding on what exactly ng_iface achieves, as it makes a DN> reference to the hook inet being connected to something. however, DN> connecting the ng_iface hook inet to ng_ether's upper or lower

netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-19 Thread Dinesh Nair
hey all, am beginning to learn on how to manipulate netgraph nodes. i've read archie cobbs' paper at http://www.daemonnews.org/23/netgraph.html and it provided a good backgrounder on using netgraph. i'm now playing around with ng_socket, ng_tee, ng_one2many and ng_iface to accomplish round ro

Re: More mpd-netgraph questions

2001-11-22 Thread Archie Cobbs
Thor Legvold writes: > The "default" connection speed seems to be 64000 bps according to the log. > The manual states you don't need to set anything regarding bandwidth or > speed unless you're on an asynchronous dialup (modem, etc). I'm on a 11Mbs > wireless WAN, and would like to know if and

More mpd-netgraph questions

2001-11-22 Thread Thor Legvold
A few things I've noticed: The "default" connection speed seems to be 64000 bps according to the log. The manual states you don't need to set anything regarding bandwidth or speed unless you're on an asynchronous dialup (modem, etc). I'm on a 11Mbs wireless WAN, and would like to know if and h

Re: netgraph questions

2001-04-13 Thread Brooks Davis
On Thu, Apr 12, 2001 at 11:56:22PM -0700, Julian Elischer wrote: > in -current there is the eiface node that makes a virtual > ethernet interface. > > it is available elsewhere for 4.x but not yet checked in. it is not built by > default in -current but IS checked in. > Is that what you want? No

Re: netgraph questions

2001-04-12 Thread Julian Elischer
Brooks Davis wrote: > > I'm looking at a project at work using netgraph which will need nodes for > tunnels like those for ethernet devices. I'll definatly need to do tun > devices and possiably gif devices as well. First, is this a reasonable > thing to attempt? I'm pretty sure it is, but if

netgraph questions

2001-04-12 Thread Brooks Davis
I'm looking at a project at work using netgraph which will need nodes for tunnels like those for ethernet devices. I'll definatly need to do tun devices and possiably gif devices as well. First, is this a reasonable thing to attempt? I'm pretty sure it is, but if it's not I've got the opportuni