From: Anthony Liguori <anthony@codemonkey.ws>
To: Richa Marwaha <rmarwah@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Connection breaks for macvtap
Date: Wed, 27 Mar 2013 19:11:04 -0500 [thread overview]
Message-ID: <874nfw2xk7.fsf@codemonkey.ws> (raw)
In-Reply-To: <OF92C342ED.68BE1D68-ON87257B3B.0072ADD2-85257B3B.0072BFFD@us.ibm.com>
Richa Marwaha <rmarwah@us.ibm.com> writes:
> Hi
>
> I am trying to run some KVM fuzz testing where I have a tool called scapy
> running on my host and guest which changes the data in the IP header
> of the
FWIW, I don't think you'll gain a lot from this. QEMU does not ever
look at a packet beyond the MAC address (and perhaps any vlan tags in
the ethernet header). That far up the stack is strictly
application/network infrastructure land.
So if your goal is to fuzz test the Linux networking code, then this
approach is fine. But it's unlikely to do anything useful with QEMU itself.
> packages and send it out to the host and vice versa. I have macvtap setup
> on my host (have tried both VEPA and Bridge mode).
Unless you have an explicit reason to use it, I'd steer away from
macvtap. It's not commonly used.
> My ssh connection to my guest breaks down after having send just 22
> packets
If you're munging random IP packets, you're going to lose connections
:-) That's pretty much a given. I'm not surprised at all it happens
this quickly.
> and also the gnome crashes. I see the following message in the dmesg
>
> dbus[545]: [system] Rejected send message, 2 matched rules;
> type="method_return", sender=":1.0" (uid=0 pid=499
> comm="/usr/lib/systemd/systemd-logind ") interface="(unset)"
> member="(unset)" error name="(unset)" requested_reply="0"
> destination=":1.17" (uid=42 pid=658 comm="/usr/bin/gnome-session -f --debug
> ")
I don't know what this is but if you were doing something like remoting
X over an ssh session, this wouldn't be much of a surprise.
Regards,
Anthony Liguori
>
> The connection to the guest restart but wanted to know what makes it
> breakdown.
>
> Regards,
> Richa Marwaha
prev parent reply other threads:[~2013-03-28 0:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 20:53 [Qemu-devel] Connection breaks for macvtap Richa Marwaha
2013-03-28 0:11 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874nfw2xk7.fsf@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
--cc=rmarwah@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.