[Qemu-devel] [PATCH] Capture network traffic

2007-12-18 Thread Balazs Attila-Mihaly (Cd-MaN)
W00t, my first patch got applied :) Thank you. Here goes version 0.3 of my packet capture patch. I rewritten it to be a custom VLANClient which implements the capturing part in its fd_read proceudre, rather than adding additional properties to the VLAN structure. Monitor support is also present

Re: [Qemu-devel] [PATCH] Capture network traffic

2008-01-19 Thread andrzej zaborowski
Hi, On 18/12/2007, Balazs Attila-Mihaly (Cd-MaN) <[EMAIL PROTECTED]> wrote: > Here goes version 0.3 of my packet capture patch. I rewritten it to be a > custom VLANClient which implements the capturing part in its fd_read > proceudre, rather than adding additional properties to the VLAN structur

[Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Balazs Attila-Mihaly (Cd-MaN)
Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap - it is also available from the monitor - added some more constants / defines to avoid repeating portions of the code __

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to specify this on the command line since it can be controlled from the monitor? Regards, An

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Johannes Schindelin
Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: > Balazs Attila-Mihaly (Cd-MaN) wrote: > > Here goes v0.2 for my patch :-) > > Changes > > - now the option is a separate command line switch: > > -net capture,vlan=2,file=test.pcap > > > > Is it really necessary/useful to specify this on the

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Paul Brook
On Monday 10 December 2007, Anthony Liguori wrote: > Balazs Attila-Mihaly (Cd-MaN) wrote: > > Here goes v0.2 for my patch :-) > > Changes > > - now the option is a separate command line switch: > > -net capture,vlan=2,file=test.pcap > > Is it really necessary/useful to specify this on the command

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Paul Brook wrote: On Monday 10 December 2007, Anthony Liguori wrote: Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to specify thi

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Balazs Attila-Mihaly (Cd-MaN)
The use case I need it for is for honeypot-like systems. Ie. the system starts from a snapshot and accesses links / runs executables while observing the behaviour. For this use case it is the best if it is setable from the command line. ___

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Johannes Schindelin wrote: Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to s

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Johannes Schindelin
Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: > Johannes Schindelin wrote: > > > > On Mon, 10 Dec 2007, Anthony Liguori wrote: > > > > > > > Balazs Attila-Mihaly (Cd-MaN) wrote: > > > > > > > Here goes v0.2 for my patch :-) > > > > Changes > > > > - now the option is a separate comman

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Hi Johannes, Johannes Schindelin wrote: Hi, However, I have no problem maintaining my own fork. Much like I will do with VNC again, since I recently had to use QEmu via VNC and the artefacts are just horrible. I just sent a patch to the mailing list that should fix those artifacts. Le

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Johannes Schindelin
Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: > Johannes Schindelin wrote: > > > However, I have no problem maintaining my own fork. Much like I will > > do with VNC again, since I recently had to use QEmu via VNC and the > > artefacts are just horrible. > > I just sent a patch to the maili

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Johannes Schindelin wrote: Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: Johannes Schindelin wrote: However, I have no problem maintaining my own fork. Much like I will do with VNC again, since I recently had to use QEmu via VNC and the artefacts are just horrible. I just

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Thiemo Seufer
Anthony Liguori wrote: > Balazs Attila-Mihaly (Cd-MaN) wrote: >> Here goes v0.2 for my patch :-) >> Changes >> - now the option is a separate command line switch: >> -net capture,vlan=2,file=test.pcap >> > > Is it really necessary/useful to specify this on the command line since it > can be c

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-11 Thread andrzej zaborowski
On 10/12/2007, Balazs Attila-Mihaly (Cd-MaN) <[EMAIL PROTECTED]> wrote: > Here goes v0.2 for my patch :-) > Changes > - now the option is a separate command line switch: > -net capture,vlan=2,file=test.pcap > - it is also available from the monitor > - added some more constants / defines to avoid

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-11 Thread Paul Brook
On Tuesday 11 December 2007, andrzej zaborowski wrote: > On 10/12/2007, Balazs Attila-Mihaly (Cd-MaN) <[EMAIL PROTECTED]> wrote: > > Here goes v0.2 for my patch :-) > > Changes > > - now the option is a separate command line switch: > > -net capture,vlan=2,file=test.pcap > > - it is also availabl