• L
    Fix bridge configuration when OUTPUT policy is DROP on the host · 538daf7f
    Lénaïc Huard 提交于
    When the host is configured with very restrictive firewall (default policy
    is DROP for all chains, including OUTPUT), the bridge driver for Linux
    adds netfilter entries to allow DHCP and DNS requests to go from the VM
    to the dnsmasq of the host.
    
    The issue that this commit fixes is the fact that a DROP policy on the OUTPUT
    chain blocks the DHCP replies from the host’s dnsmasq to the VM.
    As DHCP replies are sent in UDP, they are not caught by any --ctstate ESTABLISHED
    rule and so, need to be explicitly allowed.
    Signed-off-by: NLénaïc Huard <lenaic@lhuard.fr.eu.org>
    538daf7f
bridge_driver_linux.c 28.6 KB