Re: [Qemu-devel] bug in qemu last win32 snapshot (12132007)

2008-01-04 Thread Balazs Attila-Mihaly (Cd-MaN)
I didn't see any messages indicating that my patch was committed to CVS. Maybe I missed it. I someone could confirm that this is indeed the case, I can look at it Monday on a Windows system... - Original Message From: Sergey Bychkov [EMAIL PROTECTED] To: qemu-devel@nongnu.org Sent:

[Qemu-devel] [PATCH] Make relative path correct in bdrv_create

2007-12-30 Thread Balazs Attila-Mihaly (Cd-MaN)
Description: When using base images (ie difference disks), the path of the backing image is interpreted correctly as being relative to the path of the difference image (which is very nice). However, at creation time, the path is copied verbatim from the command line, which can lead to

[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

[Qemu-devel] An architectural question

2007-12-11 Thread Balazs Attila-Mihaly (Cd-MaN)
Hello all, First of all I want to apologize for this mail and hope that I won't wast to much of your valuable time hacking on Qemu ;-). My goal is to implement a tracing system in Qemu, which would suspend the emulation at certain points (determined by linear addresses), dump some information

[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 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.

[Qemu-devel] [PATCH] Capture traffic to a pcap file

2007-12-05 Thread Balazs Attila-Mihaly (Cd-MaN)
This patch allows to capture the traffic flowing through a particular vlan in a tcpdump compatible pcap file. The patch is identical to the one created some time back, however it was updated to apply to HEAD. Usage: -net nic,pcap=capture_file.pcap

Re: [Qemu-devel] [PATCH] Capture traffic to a pcap file

2007-12-05 Thread Balazs Attila-Mihaly (Cd-MaN)
This patch allows to capture the traffic flowing through a particular vlan in a tcpdump compatible pcap file. The patch is identical to the one created some time back, however it was updated to apply to HEAD. Usage: -net nic,pcap=capture_file.pcap I like the idea but I think it would

[Qemu-devel] [PATCH] Support alternative formats for MAC addresses

2007-12-04 Thread Balazs Attila-Mihaly (Cd-MaN)
The attached patch modifies the parser function for the mac addresses (ie. -net nic,macaddr=XX) in the following ways: - the accepted separators now include -, because on Windows it is common to write a MAC addresses separated by dashes (ie. 54-32-00-12-34-56) - it supports specifying the

Re: [Qemu-devel] [PATCH 1/2] Add directio parameter to -drive

2007-11-29 Thread Balazs Attila-Mihaly (Cd-MaN)
Le mercredi 28 novembre 2007 à 14:24 +, Samuel Thibault a écrit : Hi, Laurent Vivier, le Wed 28 Nov 2007 15:02:50 +0100, a écrit : +ret = posix_memalign((void**)buf, 0x200, 512); For making this more easily portable, maybe it should be a new qemu_memalign() function? Also, the

[Qemu-devel] [PATCH] Dump traffic to pcap file - update

2007-07-01 Thread Balazs Attila-Mihaly \(Cd-MaN\)
Hello all. Attached you find an updated version of my patch to dump the traffic on a given interface to a tcpdump file. The changes are: -moved from f* functions (fopen, fwrite) to the more basic functions (open, write, etc) because this seems to be the norm in the source code -fixed some

[Qemu-devel] [PATCH] Macaddr parsing

2007-07-01 Thread Balazs Attila-Mihaly \(Cd-MaN\)
Hello all. Attached is an other patch (against the CVS) to allow for more flexible mac address parsing from the command line. Specifically it allows: -using the '-' as separator (as Windows uses it) -using no separator at all (just 12 hexadecimal characters in a row) - again Windows uses this

Re: [Qemu-devel] [PATCH] Dump traffic to pcap file - update

2007-07-01 Thread Balazs Attila-Mihaly \(Cd-MaN\)
You're absolutely right. Attached a corrected version. - Original Message From: Blue Swirl [EMAIL PROTECTED] To: qemu-devel@nongnu.org Sent: Sunday, 1 July, 2007 9:08:00 PM Subject: Re: [Qemu-devel] [PATCH] Dump traffic to pcap file - update On 7/1/07, Balazs Attila-Mihaly (Cd-MaN

[Qemu-devel] [PATCH] Dump traffic on virtual network to pcap file

2007-06-21 Thread Balazs Attila-Mihaly \(Cd-MaN\)
Hello all. As promised I'll start to provide patches for modifications I've made to the Qemu source code as part of the project. Attached you find the first of these patches - an option to dump the traffic on a virtual interface to a tcpdump compatible file. I welcome any feedback since this

[Qemu-devel] [PATCH] Constants in command line definition

2007-06-21 Thread Balazs Attila-Mihaly \(Cd-MaN\)
Hello, this is me again. In the last time I forgot to specify that the patches are against the current CVS contents. This is a small patch which replaces the numeric values 1 in the qemu_options structure (which defines the command line format) with the constant HAS_ARG. I feel that this

Re: [Qemu-devel] QEMU License and proprietary hardware

2007-06-21 Thread Balazs Attila-Mihaly \(Cd-MaN\)
I must prefix this with the fact that IANAL, but as I understand it, you must release the source code only if you distribute that modified system (with GPL v2). That is, if you use this system internally in you company, you don't have to provide your modifications. But if you, for example,

[Qemu-devel] A couple of question

2007-06-05 Thread Balazs Attila-Mihaly \(Cd-MaN\)
Hello all. First of all I want to congratulate everybody on this list for the wonderful job s/he is doing. Qemu is the best Open Source emulator out there (and it is fast ;-) ). I'm using Qemu to build an automated malicious code analysis system and as such I would like to make some