1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Bug #4680: Ebtables filtering too strict (can't talk to non-ONe hosts on

the same network)
This commit is contained in:
Jaime Melis 2016-08-31 16:38:48 +02:00
parent 84f01e6fd1
commit c7fc920a91

View File

@ -51,7 +51,7 @@ class EbtablesVLAN < VNMMAD::VNMDriver
"-o #{tap} -j DROP"
out_rule="FORWARD -s ! #{iface_mac} -i #{tap} -j DROP"
ebtables(in_rule)
ebtables(in_rule) if nic[:filter_mac_spoofing] =~ /yes/i
ebtables(out_rule)
end
end