Page 2 of 2

Re: Guide on how to test network of OS with Qemu ?

Posted: Tue Oct 11, 2016 12:39 am
by wichtounet
Thanks for your answers :)
mariuszp wrote:
wichtounet wrote:Here is the pcap file: https://baptiste-wicht.ch/thor.pcap

The RST packets are not from me and the first FIN,ACK packets neither. Pretty painful when I'm debugging TCP.
1) are you sure one of those addresses isn't QEMU's DHCP server?
2) is some form of NAT involved?
3) is there a firewall involved?
1) Qemu DHCP is 10.0.2.2 and the addresses involved in TCP are 10.0.2.15-16
2) Not that I know of. At least not on my part, but maybe Qemu does something of that sort
3) No firewall. The only two virtual machines are running my OS and I have nothing like a firewall. The host neither.
mariuszp wrote:In fact, is your TCP segment structure correct? Perhaps you are accidentally setting the wrong bit.
There may be errors in my TCP packets for sure, but I'm not sending all these packets. If I count the packets, I send less that what is shown.

I dont' think it's a bug on my side, I simply think that Qemu is using is using TCP for listen/connect and I'd like to get rid of these, at least in the pcap files.