]> xenbits.xensource.com Git - libvirt.git/commit
nwfilter: let qemu's after-migration packet pass
authorStefan Berger <stefanb@us.ibm.com>
Tue, 27 Apr 2010 18:50:35 +0000 (14:50 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Tue, 27 Apr 2010 18:50:35 +0000 (14:50 -0400)
commited7813d28d45c8bf591d1567a8c7ea678b627958
tree1b9d7c65036a690ddf88429cefd7848bf479568f
parent71f99af5a42d8aad5f6f758b363cadc6aab9bfb5
nwfilter: let qemu's after-migration packet pass

Qemu currently sends an Ethernet packet with protocol id 0x835 once a VM
was successfully migrated. The content of the packet looks like a
gratuitous RARP, just with the wrong protocol ID, which should be
0x8035. I wrote some filters to let either one of the packets pass and
am adapting the clean-traffic sample filter to use it. I am also
doing some changes on the existing ARP filter which was lacking a
test for source MAC address.
examples/xml/nwfilter/Makefile.am
examples/xml/nwfilter/clean-traffic.xml
examples/xml/nwfilter/no-arp-spoofing.xml
examples/xml/nwfilter/no-other-rarp-traffic.xml [new file with mode: 0644]
examples/xml/nwfilter/qemu-announce-self-rarp.xml [new file with mode: 0644]
examples/xml/nwfilter/qemu-announce-self.xml [new file with mode: 0644]