[Qemu-devel] qemu-i386 thread support and TLS

2007-02-20 Thread G Portokalidis
Hello all, I've trying to implement thread support for user-space Qemu, similarly to what David has posted in a previous e-mail. I understand that it is probably not possible to fully support threads between very different architectures, but i am only interested on getting x86 on x86 linux emulati

Re: [Qemu-devel] Compiling qemu as position-independent code on an x86_64 linux host

2006-12-15 Thread G Portokalidis
re it should work under all circumstances. It also works when USE_CODE_COPY is not defined. On 14/12/06, G Portokalidis <[EMAIL PROTECTED]> wrote: Hello Paul, I also need to use qemu as a shared library, so i was wandering whether you had any luck with this? On 03/11/06, Paul Robin

Re: [Qemu-devel] Compiling qemu as position-independent code on an x86_64 linux host

2006-12-14 Thread G Portokalidis
Hello Paul, I also need to use qemu as a shared library, so i was wandering whether you had any luck with this? On 03/11/06, Paul Robinson <[EMAIL PROTECTED]> wrote: Hi guys, I'm trying to use parts of qemu in an application that must be compiled as a shared library (i.e. a .so file). The co

Re: [Qemu-devel] qemu and kernel 2.6.18

2006-10-17 Thread G Portokalidis
I thought the best way to overcome the restriction imposed in tun/tap interfaces is to set qemu as suid, and revoke privileges as soon as the network interfaces are configured, and before any virtual block devices are opened. I wrote this little patch, which hopefully does just that. Cheers, Geo

[Qemu-devel] qemu and kernel 2.6.18

2006-10-13 Thread G Portokalidis
Hello all, I have recently installed the latest linux kernel, and i have been having problems with the tap interface since. I have been getting the following cryptic message: warning: could not configure /dev/net/tun: no virtual network emulation Could not initialize device 'tap' The tun driver

Re: [Qemu-devel] Access to QEMU's guest physical memory

2006-09-20 Thread G Portokalidis
r the code to be translated (guest code) is actually written to guest memory before being translated? If the code is simply picked up from the disk and translated, it would explain why this is the case. On 13/09/06, maestro <[EMAIL PROTECTED]> wrote: Am Mittwoch, den 13.09.2006, 12:05 +020

[Qemu-devel] Access to QEMU's guest physical memory

2006-09-13 Thread G Portokalidis
Hello, I have been in the process of porting Argos to Qemu 0.8.2. In case you haven't heard of Argos, it's basically Qemu extended to track network data entering the emulator to identify their illegal use (exploits, etc). I am using the softmmu to track all accesses to physical memory to track wh

Re: [Qemu-devel] Have any ideas about how to detect whether a program is running inside QEMU?

2006-07-07 Thread G Portokalidis
Actually, i have also noticed this. It implies that an exploit might not succeed (this usually the case with most exploits), since the attacker supplied shellcode will not be at the "expected" location. My question is, does anybody know why this happens? Why this difference when running qemu with

Re: [Qemu-devel] bug report : kqemu and self-writing code

2006-05-02 Thread G Portokalidis
I had a similar problem, but only when not using kqemu. When using a stack overflow exploit, the shellcode provided only executes when using kqemu. I can attribute this to either the shellcode being in a different location (maybe someone can clarify this, is qemu using a different memory layout e

Re: [Qemu-devel] -kernel-kqemu

2006-02-10 Thread G Portokalidis
Does the copying of instructions occur in user-space or kernel-space? I would like to port Argos to use the kernel accelerator, but i'm unsure this is possible considering the accelerator is not open source. If the `parsing' and copying of instructions occurs in user-space, i could instead of inst

[Qemu-devel] Running code from IO memory

2006-01-29 Thread G Portokalidis
I've been hacking Qemu for Argos, and i was wondering whether it is possible to execute code from a virtual peripherals memory. To be more explicit, i have coded a virtual peripheral that does nothing, but register some physical memory for memory io. This physical address is mapped into a process'

[Qemu-devel] Qemu on dual-processor host

2006-01-22 Thread G Portokalidis
I was wondering whether anyone has experience with installing Qemu on a dual-processor host? Reading about the problems some of you had with hyper-threading, i wonder if things become worse on multi-processor hosts? Cheers, Giorgos Portokalidis ___ Qem

[Qemu-devel] Information flow tracking extension for qemu

2005-06-06 Thread G Portokalidis
Hi, I've started looking at the source code to figure the best way to write the extension, and I figures out it is best to write it as a new target CPU based on the i386. I'm adding some instrumentation code in op.c, which should make things a bit slower but hopefully not too slow. There are two

Re: [Qemu-devel] QEMU extension

2005-06-01 Thread G Portokalidis
per, but i can't download it. George On 5/26/05, Paul Brook <[EMAIL PROTECTED]> wrote: > On Thursday 26 May 2005 17:12, G Portokalidis wrote: > > Hello, > > > > I'm writing concerning a possible use for qemu in a project related to > > network security. >

[Qemu-devel] QEMU extension

2005-05-26 Thread G Portokalidis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm writing concerning a possible use for qemu in a project related to network security. I'm looking for an emulator where I could load an entire (recent) OS, like Linux 2.6 or Windows XP and run multiple, potentially CPU intensive, services (