summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Berger <stefanb@us.ibm.com>2011-05-23 19:41:18 -0400
committerStefan Berger <stefanb@us.ibm.com>2011-05-23 19:41:18 -0400
commitfcb0e8c2275f108b595f37defbe3c6de5bfc849e (patch)
treee308a580d2e632c992401043e485b215cf4dbfb1 /tests/nwfilterxml2xmlin
parentqemu: don't require is_kvm for vhost-net support (diff)
downloadlibvirt-fcb0e8c2275f108b595f37defbe3c6de5bfc849e.tar.gz
libvirt-fcb0e8c2275f108b595f37defbe3c6de5bfc849e.tar.bz2
libvirt-fcb0e8c2275f108b595f37defbe3c6de5bfc849e.zip
nwfilter: enable filtering of gratuitous ARP packets
This patch enables filtering of gratuitous ARP packets using the following XML: <rule action='accept' direction='in' priority='425'> <arp gratuitous='true'/> </rule>
Diffstat (limited to 'tests/nwfilterxml2xmlin')
-rw-r--r--tests/nwfilterxml2xmlin/arp-test.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/nwfilterxml2xmlin/arp-test.xml b/tests/nwfilterxml2xmlin/arp-test.xml
index d4484dcb2..e9d376836 100644
--- a/tests/nwfilterxml2xmlin/arp-test.xml
+++ b/tests/nwfilterxml2xmlin/arp-test.xml
@@ -30,4 +30,8 @@
<arp srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:ff'
opcode='65536' hwtype='65536' protocoltype='65536' />
</rule>
+
+ <rule action='accept' direction='in'>
+ <arp gratuitous='true'/>
+ </rule>
</filter>