History | View | Annotate | Download (1 kB)
Move things inside get_info()
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Fix ebtables in vif-custom
..and remove any unused rules (comments) related to ebtables
Introduce get_info helper method
It gets the exported environment and calculates all needed vars fora specific interface. Use this function early in scripts and assoon as you extract each interface info in hooks.
Make get_info caclulate ebtables chain names
Small changes in if* scripts
Fix ebtables
1) Add ebtables in INPUT/OUTPUT chains too This is needed because multicast packets (e.g. with dst address 01:00:83:xx:xx:xx) do NOT go through forward chain
2) In case of nfdhpcd allow DHCP replies only with src address the MAC address of incoming device (e.g. prv0)...
Serialize the excecution of ebtables processes
ebtables cannot handle multiple userspace ebtables processes runningconcurrently. This could lead to failures while setting up or cleaningup ebtables for VM networks.
ebtables latest release (included in Debian Wheezy) supports ebtables...
Mods to work with debian's xen
Add vif-custom script and split kvm-vif-bridge
Put functions in /usr/lib/snf-network/common.sh