Re: Netgraph question - multiple kernels

2009-10-27 Thread Julian Elischer
remodeler wrote: My understanding is that I can bind multiple machines running netgraph into one large netgraph, by using something like ng_ksocket nodes bound with a tunneling device. you COULD do that, yes, but the two netgraphs are unaware of each other. By doing this, is the restriction

Netgraph question - multiple kernels

2009-10-27 Thread remodeler
My understanding is that I can bind multiple machines running netgraph into one large netgraph, by using something like ng_ksocket nodes bound with a tunneling device. By doing this, is the restriction of one ng_ipfw node per netgraph global to all of the machines (one, and only one, ng_ipfw node)

Re: A netgraph question.

2008-11-02 Thread Joe Pellegrino
On Sat, 1 Nov 2008, Julian Elischer wrote: Joe Pellegrino wrote: On Sat, 1 Nov 2008, Julian Elischer wrote: have you done man 3 netgraph to look at the netgraph management library? Looked at that today and I might be able to get something going. I tried to use the ng_echo node in a module

Re: A netgraph question.

2008-11-01 Thread Julian Elischer
Joe Pellegrino wrote: On Sat, 1 Nov 2008, Julian Elischer wrote: I'll try answer your questions.. Hooks are created on demand.. you need to send a 'connect' or 'mkpeer' message to the node(s) on which you want t script level, you just use the ngctl program to do it for you. Hooks are always m

Re: A netgraph question.

2008-11-01 Thread Joe Pellegrino
On Sat, 1 Nov 2008, Julian Elischer wrote: I'll try answer your questions.. Hooks are created on demand.. you need to send a 'connect' or 'mkpeer' message to the node(s) on which you want t script level, you just use the ngctl program to do it for you. Hooks are always made in pairs. so you ne

Re: A netgraph question.

2008-11-01 Thread Julian Elischer
Joe Pellegrino wrote: OK so here it goes. I actually have two seperate questions involving netgraph, I am new to this subject so please bare with me. If there is a better way to achieve these goals too, please suggest them but I think netgraph is the way to go. I'll try answer your questi

A netgraph question.

2008-11-01 Thread Joe Pellegrino
OK so here it goes. I actually have two seperate questions involving netgraph, I am new to this subject so please bare with me. If there is a better way to achieve these goals too, please suggest them but I think netgraph is the way to go. The first part involves allowing a userland program

Netgraph question

2005-08-10 Thread Nathanael M Van Vorst
can pass netgraph items to, then later on have a netgraph node get them back. Thanks! --Nate Original Message Subject: Re: netgraph question From:"Nathanael M Van Vorst" <[EMAIL PROTECTED]> Date:Wed, July 27,

Re: netgraph question

2005-07-15 Thread Julian Elischer
Nathanael M Van Vorst wrote: I have some questions about netgraph. I have been using the framework for project for a little while. I am at the point where I want to hand-off netgraph items to a kernel thread or a kernel module. Then I want the module or thread to do some processing and hand th

netgraph question

2005-07-15 Thread Nathanael M Van Vorst
I have some questions about netgraph. I have been using the framework for project for a little while. I am at the point where I want to hand-off netgraph items to a kernel thread or a kernel module. Then I want the module or thread to do some processing and hand this back to netgraph. I looked thr

Re: Netgraph question

2005-06-14 Thread Julian Elischer
Petri Helenius wrote: Aziz Kezzou wrote: Hi all, I worked a bit with netgraph nodes and I find them very amazing and powerfull... Since my netgraph experience is still quite limited ( they are out of the scope of my project actually) I would like to know if the following claim is true, I nee

Re: Netgraph question

2005-06-14 Thread Petri Helenius
Aziz Kezzou wrote: Hi all, I worked a bit with netgraph nodes and I find them very amazing and powerfull... Since my netgraph experience is still quite limited ( they are out of the scope of my project actually) I would like to know if the following claim is true, I need to be sure because it is

Netgraph question

2005-06-14 Thread Aziz Kezzou
Hi all, I worked a bit with netgraph nodes and I find them very amazing and powerfull... Since my netgraph experience is still quite limited ( they are out of the scope of my project actually) I would like to know if the following claim is true, I need to be sure because it is for my master thesis

Re: netgraph question : how to intercept incoming IP packets of a certain type?

2005-03-02 Thread Julian Elischer
Ruslan Ermilov wrote: On Tue, Mar 01, 2005 at 10:47:07PM -0500, Aziz KEZZOU wrote: Hi folks, Here is what I want to do : "Intercept all incoming IP packets on an Ethernet interface of a certain type (e.g RSVP) and call my own function to process, all inside the kernel" Netgraph nodes : ng_iface

Re: netgraph question : how to intercept incoming IP packets of a certain type?

2005-03-02 Thread Ruslan Ermilov
On Tue, Mar 01, 2005 at 10:47:07PM -0500, Aziz KEZZOU wrote: > Hi folks, > Here is what I want to do : "Intercept all incoming IP packets on an > Ethernet interface of a certain type (e.g RSVP) and call my own > function to process, all inside the kernel" > > Netgraph nodes : ng_iface, nf_bpf (and

netgraph question : how to intercept incoming IP packets of a certain type?

2005-03-01 Thread Aziz KEZZOU
Hi folks, Here is what I want to do : "Intercept all incoming IP packets on an Ethernet interface of a certain type (e.g RSVP) and call my own function to process, all inside the kernel" Netgraph nodes : ng_iface, nf_bpf (and probably ng_ether) look promising for this task but I can not figure out

netgraph question

2004-03-04 Thread Will Saxon
Is it possible to force a name onto an unnamed node? I would like to use ng_vlan together with ng_fec, but since ng_fec does not seem to provide any hooks I thought I could create an ng_ether node and use that. However, the ng_ether node cannot capture the name 'fec0' since it is already in use

Re: Netgraph question

2002-04-09 Thread Sebastien Petit
On Wednesday 10 April 2002 01:01, you wrote: > Sebastien Petit wrote: > > And I apologize for my duplicate thread about this... > > None needed - I wasn't trying to imply that the thread back then was > about the netgraph issue you described and you had missed it (it was > about the apparently in

Re: Netgraph question

2002-04-09 Thread Lars Eggert
Sebastien Petit wrote: > And I apologize for my duplicate thread about this... None needed - I wasn't trying to imply that the thread back then was about the netgraph issue you described and you had missed it (it was about the apparently incorrect checksums with tcpdump), and I'm sorry if I ca

Re: Netgraph question

2002-04-09 Thread Julian Elischer
On Wed, 10 Apr 2002, Sebastien Petit wrote: > On Tuesday 09 April 2002 22:29, Julian Elischer wrote: > > On Tue, 9 Apr 2002, Sebastien Petit wrote: > > > Ok julian, > > > > > > So I must write loadd with ng_ether for the moment and wait for ng_etf > > > include in FreeBSD 4.x. > > > I can modif

Re: Netgraph question

2002-04-09 Thread Sebastien Petit
On Wednesday 10 April 2002 00:42, Lars Eggert wrote: > Sebastien Petit wrote: > > With tcpdump I see bad cksum 0!, so I think I must recompute ip checksum > > before resending the packet. > > The xl interface offloads checksumming to the NIC now, which is why you > see zero checksums when you tcpd

Re: Netgraph question

2002-04-09 Thread Lars Eggert
Sebastien Petit wrote: > With tcpdump I see bad cksum 0!, so I think I must recompute ip checksum > before resending the packet. The xl interface offloads checksumming to the NIC now, which is why you see zero checksums when you tcpdump on the source or sink hosts. (There was a thread on this

Re: Netgraph question

2002-04-09 Thread Sebastien Petit
On Tuesday 09 April 2002 22:29, Julian Elischer wrote: > On Tue, 9 Apr 2002, Sebastien Petit wrote: > > Ok julian, > > > > So I must write loadd with ng_ether for the moment and wait for ng_etf > > include in FreeBSD 4.x. > > I can modify my code after if ng_etf is available... > > Last question,

Re: Netgraph question

2002-04-09 Thread Julian Elischer
I've been wondering if I shouldn't incorporate the etf functionality into the ether node.. On Tue, 9 Apr 2002, Sebastien Petit wrote: > > Sebastien Petit writes: > > > Actually I rewrote loadd (a load balancing daemon) for running with > netgraph. In the original version, loadd use Divert socke

Re: Netgraph question

2002-04-09 Thread Julian Elischer
; NgSendData(dsock, HOOKNAME, buf, bytesread); > } printf("Neither!"); also: what does `ngctl show xl0:` show? (while it's supposed to be connected) > } > } > > Thanks, > Sebastien. > -- > [EMAIL PROTECTED] > > - Origin

Re: Netgraph question

2002-04-09 Thread Julian Elischer
On Tue, 9 Apr 2002, Archie Cobbs wrote: > Sebastien Petit writes: > > Actually I rewrote loadd (a load balancing daemon) for running with netgraph. In >the original version, loadd use Divert sockets with ipfw for taking incoming/outgoing >traffic. > > What node I must use for doing the same t

Re: Netgraph question

2002-04-09 Thread Sebastien Petit
> Sebastien Petit writes: > > Actually I rewrote loadd (a load balancing daemon) for running with netgraph. In the original version, loadd use Divert sockets with ipfw for taking incoming/outgoing traffic. > > What node I must use for doing the same thing ? > > I try to use ng_ether but if I do th

Re: Netgraph question

2002-04-09 Thread Sebastien Petit
HOOKNAME, buf, bytesread); } } } Thanks, Sebastien. -- [EMAIL PROTECTED] - Original Message - From: "Julian Elischer" <[EMAIL PROTECTED]> To: "Sebastien Petit" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 9:35

Re: Netgraph question

2002-04-09 Thread Archie Cobbs
Sebastien Petit writes: > Actually I rewrote loadd (a load balancing daemon) for running with netgraph. In the >original version, loadd use Divert sockets with ipfw for taking incoming/outgoing >traffic. > What node I must use for doing the same thing ? > I try to use ng_ether but if I do that,

Re: Netgraph question

2002-04-09 Thread Julian Elischer
there is a node called etf (ethertype filter) that can allow different nodes to share an ethernet interface The ppp daemon needs to be modified a bit to be able to use it.. Brian, what does it take to allow one to specify a different node and hook? I.e. if I hook an ethertype filter onto the int

Netgraph question

2002-04-09 Thread Sebastien Petit
Hi,   Actually I rewrote loadd (a load balancing daemon) for running with netgraph. In the original version, loadd use Divert sockets with ipfw for taking incoming/outgoing traffic. What node I must use for doing the same thing ? I try to use ng_ether but if I do that, People that run pppoe

Netgraph question

2001-11-12 Thread Alex N. Zhuravlev
Hi all ! Previously I used a trivial scheme of using netgraph Frame-Relay: FreeBSD router with Cronyx-Tau-E1 || VDAS-300 from RADWIZ Ltd | | | | Ipair1 Ipair2 Ipair6 VDAS and Ipairs connected with each other via Frame-relay. Ipairs and FreeBSD are connecte

mpd-netgraph question

2000-12-21 Thread danh
hi i'm trying to get mpd-netgraph to work on a 4.1 machine my setup is simple, these machines live the internal interface on a 10.x.x.x net of this box is 10.0.0.3 | | V V ___