• L
    util/viriptables: add/remove rules that short-circuit masquerading · ccca5dc3
    Laszlo Ersek 提交于
    The functions
    - iptablesAddForwardDontMasquerade(),
    - iptablesRemoveForwardDontMasquerade
    handle exceptions in the masquerading implemented in the POSTROUTING chain
    of the "nat" table. Such exceptions should be added as chronologically
    latest, logically top-most rules.
    
    The bridge driver will call these functions beginning with the next patch:
    some special destination IP addresses always refer to the local
    subnetwork, even though they don't match any practical subnetwork's
    netmask. Packets from virbrN targeting such IP addresses are never routed
    outwards, but the current rules treat them as non-virbrN-destined packets
    and masquerade them. This causes problems for some receivers on virbrN.
    Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
    ccca5dc3
libvirt_private.syms 47.7 KB