Michal Privoznik
mprivozn@redhat.com
KVM Forum, Düsseldorf 2014
Michal Prívozník
mprivozn@redhat.com
KVM Forum Düsseldorf 2014
numad
for placement
fork()
virtlockd
execve()
$ROOT/system/libvirtd.service/libvirt/qemu/dom1
$ROOT/machine/dom1.libvirt-qemu
Enforce network traffic filtering on vNIC basis:
<devices>
<interface type='bridge'>
<mac address='00:16:3e:5d:c7:9e'/>
<filterref filter='clean-traffic'>
<parameter name='IP' value='10.0.0.1'/>
</filterref>
</interface>
</devices>
Filters written in XML:
<filter name='no-ip-spoofing' chain='ipv4-ip' priority='-710'>
<uuid>2b308492-52d3-4bda-8f0c-1dedbcf58e04
<rule action='return' direction='out' priority='100'>
<ip srcipaddr='0.0.0.0' protocol='udp'/>
</rule>
<rule action='return' direction='out' priority='500'>
<ip srcipaddr='$IP'/>
</rule>
<rule action='drop' direction='out' priority='1000'/>
</filter>
Automatic IP address detection:
disk | memory | checkpoint | |
---|---|---|---|
internal | No | N/A | Yes |
external | Yes | Yes | Yes |