mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 17:24:53 +00:00
e3a7137ac2
This patch adds some example filters to libvirt. They are automatically installed into the proper directory for libvirt to pick them up.
8 lines
216 B
XML
8 lines
216 B
XML
<filter name='no-ip-spoofing' chain='ipv4'>
|
|
|
|
<!-- drop if srcipaddr is not the IP address of the guest -->
|
|
<rule action='drop' direction='out'>
|
|
<ip match='no' srcipaddr='$IP' />
|
|
</rule>
|
|
</filter>
|