cloudstack/scripts/vm
Anthony Xu f1fb7c3efe in security group, CS put a rule in ebtables filter table FORWARD chain to prevent user from changing VM mac address
util.pread2(['ebtables', '-A', vm_chain, '-i', vif, '-s', '!', vm_mac,  '-j', 'DROP'])

if user changes the VM mac address, all egress packet from the VM will be dropped, but the egress packet still contaminate the bridge cache with fake MAC,

This patch moves the rule to ebtables nat table PREROUTING chain, then the egress packet with modified MAC will not contaminate the bridge cache.

Anthony
2013-07-30 17:04:21 -07:00
..
hypervisor in security group, CS put a rule in ebtables filter table FORWARD chain to prevent user from changing VM mac address 2013-07-30 17:04:21 -07:00
network Replaced virsh() by python-libvirt functions 2013-07-25 18:10:58 +02:00
systemvm Revert "CLOUDSTACK-2534: Modify id_rsa.cloud's permission to 600" 2013-06-18 18:02:32 -07:00
pingtest.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00