qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] accidental mistyping of command line kills networking


From: Avi Kivity
Subject: Re: [Qemu-devel] accidental mistyping of command line kills networking
Date: Wed, 28 Oct 2009 08:29:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4

On 10/27/2009 11:44 PM, Anthony Liguori wrote:

It's actually not okay. You're creating a bridge with two tap devices on the bridge that happen to be connected in qemu by a vlan. If one tap device receives a packet, qemu is going to forward that packet to the other tap device, which will in turn send the packet to the bridge which in turn sends it to the first tap device.

Resulting in an infinite networking loop.


It shouldn't kill networking though. If a guest has two nics connected to the same host bridge (a reasonable configuration), and then connects these two nics through its own bridge, it creates the same sort of loop. If that kills networking, we have a guest-initiated DoS (not that the userspace-initiated DoS was much better).

--
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]