Create ebtables chains with RETURN policy
This fixes inter-node private networks in case of multicast packets.Multicast packets are forwarded to all interfaces bridgedon the bridge. Lets assume the following:
prv0 bridge with tap0, tap1, and eth1.From tap0 comes a multicast packet....
Bump version to 0.15.8-1~wheezy
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Merge branch 'master' into debian-wheezy
Bump version to 0.15.8
Changes in debian files
- install: kvm-ifup-custom, kvm-ifdown-custom- default: SNF_NETWORK_LOG, LOGFILE, TTL- links: kvm-vif-bridge
Add ifup-extra script
..in install and default.
Do not add ebtables rule for dhcp response
nfdhpcd opens a socket and binds it with tap interface. So dhcpresponse will NOT go though the bridge and ebtables rule isnot needed.
Fix typo in ebtables
If interface has an IP we used to add a rule that does not allowpackets coming from TAP to have a different IP. There was a typoin if statement and the rule did never apply.
Still, we do NOT want this rule so we fix typo and comment the...
Setup ebtables only for mac filtered setups
We used to drop DHCP requests for all bridged setups in case ofnfdhcpd. This requires ebtables setup for private vlans as well.
Dropping DHCP requests in case of nfdhcpd is not really neededbecause they are dropped in user space...
Refactor ifup-extra script
1) Look for all kind of tags (interface specific or not): some-prefix:1:mail some-prefix:snf-nic-12345:mail some-prefix:8252fabd-1021-411c-b8f7-ed79ed509bb8:mail some-prefix:mail
2) some-prefix must be other than synnefo:network:...
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)...
Add sample rules in ifup-extra
Here we allows outgoing traffic with destination port 25.
Please note that every rule that is added when the correspondingtag is found it should always be removed at the beginning of thescript. With other words you should remove stale entries before...
Support execution of extra script
In case of kvm-ifup, if an extra script (/etc/ganeti/ifup-extra)exists, execute it before exiting.
An dummy example script is given, that parses instance's tags,and searches for synnefo:network:<ident>:mail.
Bump version to 0.15.7-1~wheezy
Bump version to 0.15.7
Bump version to 0.15.6-1~wheezy
Bump version to 0.15.6
« Previous 1 2 3 4 5 ... 10 Next » (51-75/249) | Per page: 25, 50, 100
Also available in: Atom