
The maximum length of Linux iptables chain name must be less than or equal to 28 characters. In iptables_manager binary_name up to 16 chars is used as a prefix and a '-' follows it, so a chain name passed to iptables_manager must be less than 12 character long. Accordingky MAX_CHAIN_LEN should be changed from 28 to 12. Also this commit introduces a method to get a chain name with valid length. Since iptables_firewall module constructs a rule by directly using a chain name, iptable_firewall also must take care of the length. Fixes bug #1133833 Change-Id: I6157d519f3cb91ec32dc6a92eae45439b8717b2d
# -- Welcome! You have come across a cloud computing network fabric controller. It has identified itself as "Quantum." It aims to tame your (cloud) networking! # -- External Resources: The homepage for Quantum is: http://launchpad.net/quantum . Use this site for asking for help, and filing bugs. Code is available on github at <http://github.com/openstack/quantum>. The latest and most in-depth documentation on how to use Quantum is available at: <http://docs.openstack.org>. This includes: Quantum Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/ Quantum API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/ The start of some developer documentation is available at: http://wiki.openstack.org/QuantumDevelopment For help using or hacking on Quantum, you can send mail to <mailto:openstack-dev@lists.openstack.org>.
Description
Languages
Python
98.5%
Shell
1.5%