kernel_corenetwork.te.in.patch
http://people.fedoraproject.org/~dwalsh/SELinux/F14/kernel_corenetwork.te.in.patch
tun_tap_device is an mls trusted object
Lots of new port definitions.
Quoted 3 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F14/kernel_corenetwork.te.in.patch
tun_tap_deviceis an mls trusted object
Why? This seems wrong to me.
Quoted 1 line
Lots of new port definitions.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com
Quoted 9 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F14/kernel_corenetwork.te.in.patch
tun_tap_deviceis an mls trusted objectWhy? This seems wrong to me.
Quoted 1 line
Lots of new port definitions.
I think virtual machines at different levels need to talk to this device.
Quoted 9 lines · Daniel J Walsh
Quoted 6 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F14/kernel_corenetwork.te.in.patch
tun_tap_deviceis an mls trusted objectWhy? This seems wrong to me.
I think virtual machines at different levels need to talk to this device.
But there are several of these devices. Making it trusted means that theres no separation between the networks, which seems contrary to what a MLS system would want. More likely, the MLS label needs to be changed as needed.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com
Quoted 7 lines · Christopher J. PeBenito
Quoted 6 lines · Daniel J Walsh
Quoted 5 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F14/kernel_corenetwork.te.in.patch
tun_tap_deviceis an mls trusted object
Quoted 9 lines
Quoted 3 lines
Quoted 1 line
Why? This seems wrong to me.
I think virtual machines at different levels need to talk to this device.
But there are several of these devices. Making it trusted means that theres no separation between the networks, which seems contrary to what a MLS system would want. More likely, the MLS label needs to be changed as needed.
I think the kernel will take care of the isolation.
Eric Dan, Is tuntap device per qemu instance?
Quoted 20 lines · Daniel P. Berrange
Quoted 19 lines · Daniel J Walsh
Quoted 7 lines · Christopher J. PeBenito
Quoted 6 lines · Daniel J Walsh
Quoted 5 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F14/kernel_corenetwork.te.in.patch
tun_tap_deviceis an mls trusted objectQuoted 9 lines
Quoted 3 lines
Quoted 1 line
Why? This seems wrong to me.
I think virtual machines at different levels need to talk to this device.
But there are several of these devices. Making it trusted means that theres no separation between the networks, which seems contrary to what a MLS system would want. More likely, the MLS label needs to be changed as needed.
I think the kernel will take care of the isolation.
Quoted 7 lines
Quoted 1 line
Eric Dan, Is tuntap device per qemu instance?
Yes, every guest NIC gets associated with its own TAP device. libvirtd opens
/dev/net/tun. This creates a new tap devices 'vnet0', 'vnet1', 'vnet2' etc. The file descriptor for each NIC's tap device is passed to the QEMU process when it starts, or usingSCM_RIGHTSfor NIC hotplug to an existing QEMU.
This is my exact point. You're trusting libvirtd to handle all that correctly. Nothing stops qemu from using the wrong device. This just reinforces my thinking that it is _not_ a trusted device.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com