-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support IPv6 > add trustGuestRxFilters='yes' to the mapvtap interface #1968
Comments
I did a search and saw that there seems to be "security implications" to setting this flag: https://bugzilla.redhat.com/show_bug.cgi?id=1035253#c21
While I really don't think having an option to "unbreak" something that should work by default (IPv6) is a good idea... I also don't think it's acceptable to have something with hidden security implications. According to https://libvirt.org/formatdomain.html#network-interfaces,
Does the libvirt team treat this as a workaround and suggest using bridged instead (which I can confirm works with IPv6 here locally)? It feels like that, but I don't know their intent. We need this clarified. The fact that they have it off by default and say (admittedly hand-wavy) "security" issues with it set to yes means that there really must be some reasons why it shouldn't be on by default. I wish they'd clearly state what those are. (Are the reasons more than putting another machine on the network directly? Probably. It might be that the VM can intercept traffic delivered to the host? 🤷 That's certainly one interpretation of the quote from Bugzilla.) Hypothetically, from a design viewpoint, if we were to have an option like this in the UI, it should be off by default (which is what libvirt does) due to "security" reasons, and it should plainly state that it's intended for multicast and IPv6, and should only show up when it's relevant (when both macvtap and virtio are active). And it should have the security reasons listed (perhaps with details in a disclosure, like a popover), with some kind of clear warning indicator. As this is security-related, for this to proceed, we need someone who knows the implementation better. (I am not that person. I'm just reading what the Internet and libvirt docs say and drawing some conclusions from that, from a design perspective. 😉) |
Hi,
We need to add to the mapvtap interface:
For a website / web app within the VM to be reachable over public IPv6 and for IPv6 to fully work.
Can you add this as the default or at least as a GUI macvtap configuration option?
Related to: virt-manager/virt-manager#676
The text was updated successfully, but these errors were encountered: