Re: Problem in configuring netgraph

2001-02-27 Thread Satyajeet Seth
Hi Please read my comments below: > > I tried the example at: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/ng_bpf.4 > > > > When I type: > > > > tcpdump -ddd ether dest xx:xx:xx:xx:xx:xx > > > > in a telnet session the command gave the raw BPF instructions, as > > expected. > > >

Re: Problem in configuring netgraph

2001-02-27 Thread Julian Elischer
Satyajeet Seth wrote: > > Hi > > I tried the example at: > http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/ng_bpf.4 > > When I type: > > tcpdump -ddd ether dest xx:xx:xx:xx:xx:xx > > in a telnet session the command gave the raw BPF instructions, as > expected. > > However, at the sy

Re: Problem in configuring netgraph

2001-02-27 Thread Satyajeet Seth
Hi I tried the example at: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/ng_bpf.4 When I type: tcpdump -ddd ether dest xx:xx:xx:xx:xx:xx in a telnet session the command gave the raw BPF instructions, as expected. However, at the system console the same command gave the message: fx

Re: Problem in configuring netgraph

2001-02-27 Thread Julian Elischer
Satyajeet Seth wrote: > > Hi > > I tried to use ng_ether and ng_bpf as follows: > > fxp0(lower) --- (bhook)[bpf](nomatch)(hook1)(upper)fxp0 >[ ]( match )(hook2)not connected > > $ ngctl mkpeer fxp0: bpf divert bhook > > $ ngctl name fxp0:divert bpf0 > > $ ng