Re: A new tool for low level testing...

2008-12-30 Thread Ivan Voras
Paolo Pisati wrote: > Julian Elischer wrote: >> >> OR >> >> ngctl mkpeer em0: echo lower echo >> >> >> hm no this would leave the source and destination headers in hte >> same order.. they need to be swapped.. >> >> ok so I need to make a patch, but it would be much quicker than a user >> utili

Re: A new tool for low level testing...

2008-12-28 Thread George Nevill-Neil
On Dec 24, 2008, at 2:43 PM, Julian Elischer wrote: Luigi Rizzo wrote: On Wed, Dec 24, 2008 at 11:57:42AM +0100, Paolo Pisati wrote: Julian Elischer wrote: OR ngctl mkpeer em0: echo lower echo hm no this would leave the source and destination headers in hte same order.. they need to

Re: A new tool for low level testing...

2008-12-25 Thread Julian Elischer
Julian Elischer wrote: cd /usr/src/sys/modules/netgraph/ether_echo make make install kldload ng_ether kldload ng_ether_echo ngctl mkpeer em0: ether_echo lower echo should work for 7 and 6 without any change. It's not hooked to the build yet but I'll do that when I've seen it loop back into m

Re: A new tool for low level testing...

2008-12-24 Thread Julian Elischer
g...@freebsd.org wrote: At Tue, 23 Dec 2008 13:00:12 -0800, julian wrote: g...@freebsd.org wrote: Hi, I just checked in a small tool to HEAD in /usr/src/tools/tools/ether_reflect which uses pcap and bpf to reflect ethernet packets just about the driver layer without involving the protocol stac

Re: A new tool for low level testing...

2008-12-24 Thread Ivo Vachkov
On Wed, Dec 24, 2008 at 9:43 PM, Julian Elischer wrote: > Luigi Rizzo wrote: >> >> On Wed, Dec 24, 2008 at 11:57:42AM +0100, Paolo Pisati wrote: >>> >>> Julian Elischer wrote: OR ngctl mkpeer em0: echo lower echo hm no this would leave the source and destinat

Re: A new tool for low level testing...

2008-12-24 Thread Julian Elischer
Luigi Rizzo wrote: On Wed, Dec 24, 2008 at 11:57:42AM +0100, Paolo Pisati wrote: Julian Elischer wrote: OR ngctl mkpeer em0: echo lower echo hm no this would leave the source and destination headers in hte same order.. they need to be swapped.. ok so I need to make a patch, but it wou

Re: A new tool for low level testing...

2008-12-24 Thread gnn
At Tue, 23 Dec 2008 13:00:12 -0800, julian wrote: > > g...@freebsd.org wrote: > > Hi, > > > > I just checked in a small tool to HEAD in > > /usr/src/tools/tools/ether_reflect which uses pcap and bpf to reflect > > ethernet packets just about the driver layer without involving the > > protocol sta

Re: A new tool for low level testing...

2008-12-24 Thread Luigi Rizzo
On Wed, Dec 24, 2008 at 11:57:42AM +0100, Paolo Pisati wrote: > Julian Elischer wrote: > > > >OR > > > >ngctl mkpeer em0: echo lower echo > > > > > >hm no this would leave the source and destination headers in hte > >same order.. they need to be swapped.. > > > >ok so I need to make a patch, b

Re: A new tool for low level testing...

2008-12-24 Thread Paolo Pisati
Julian Elischer wrote: OR ngctl mkpeer em0: echo lower echo hm no this would leave the source and destination headers in hte same order.. they need to be swapped.. ok so I need to make a patch, but it would be much quicker than a user utility.. what about a netgraph cookbook? ___

Re: A new tool for low level testing...

2008-12-23 Thread Julian Elischer
g...@freebsd.org wrote: Hi, I just checked in a small tool to HEAD in /usr/src/tools/tools/ether_reflect which uses pcap and bpf to reflect ethernet packets just about the driver layer without involving the protocol stacks. This is useful for people doing low level testing of drivers and switch

A new tool for low level testing...

2008-12-23 Thread gnn
Hi, I just checked in a small tool to HEAD in /usr/src/tools/tools/ether_reflect which uses pcap and bpf to reflect ethernet packets just about the driver layer without involving the protocol stacks. This is useful for people doing low level testing of drivers and switches. If you happen to be l