Re: bpf/netgraph interaction

2002-07-01 Thread Arthur Peet
nother driver also produces 'nge' interfaces, >but the chance you have htat card is quite small. > > > >[fxp0]<--->[ng_ether]<->{filter}<--->ng_eiface<>[IP stack] > \ >

Re: bpf/netgraph interaction

2002-06-27 Thread Arthur Peet
At 04:50 PM 6/27/2002, Julian Elischer wrote: > > Are there any other taps I may access in order to accomplish this goal? > >I forget the goal. sorry No problem - Hope you don't mind if I restate it. I am trying to strip/drop packets before they reach a server process which uses BPF for communi

Re: bpf/netgraph interaction

2002-06-27 Thread Arthur Peet
>Use the Source Luke! Thanks, Obi! :) I REALLY appreciate your response. >as you see, bpf copies are taken before netgraph processing.. >and non-netgraph bridging occurs after that. It appears to me that if I switched the order in which the processing occurs and recompiled the kernel, the fu

bpf/netgraph interaction

2002-06-27 Thread Arthur Peet
G'day. Can anyone explain the relationship between BPF and netgraph sockets? I am trying to intercept packets destined for a process which is using BPF for read and write operations on an interface (and drop not-so-good packets). I can see all packets on the interface (using NgRecvData), ho