Akihiro MOTOKI
5b8ff27d98
Ensure max length of iptables chain name w/o prefix is up to 11 chars.
...
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
2013-03-01 23:50:55 +09:00
..
2013-02-28 16:29:23 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-27 21:49:57 -05:00
2013-02-26 10:37:59 +08:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-28 16:29:23 +09:00
2013-02-26 19:32:30 +09:00
2013-02-28 18:45:05 +00:00
2013-02-27 21:20:51 +08:00
2013-02-10 07:49:48 -08:00
2013-02-27 22:15:54 +09:00
2013-02-28 18:49:00 +00:00
2013-02-26 19:32:30 +09:00
2013-02-17 17:33:05 +00:00
2013-02-26 19:32:30 +09:00
2013-01-03 16:20:56 +08:00
2013-01-07 17:21:42 -08:00
2012-11-20 10:07:29 -05:00
2013-02-28 16:29:23 +09:00
2013-02-28 18:45:05 +00:00
2013-02-27 21:49:57 -05:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-28 16:29:23 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-28 16:29:23 +09:00
2013-02-27 21:20:51 +08:00
2013-02-28 16:29:23 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-28 16:29:23 +09:00
2013-02-28 16:29:23 +09:00
2013-02-28 16:29:23 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-03-01 23:50:55 +09:00
2013-02-27 21:20:51 +08:00
2013-03-01 06:55:32 +00:00
2013-02-26 19:32:30 +09:00
2013-02-27 21:49:57 -05:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-28 15:12:25 +00:00
2013-02-27 15:03:02 -08:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00
2013-02-28 18:45:05 +00:00
2013-02-28 16:29:23 +09:00
2013-02-28 16:29:23 +09:00
2013-02-26 19:32:30 +09:00
2013-02-26 19:32:30 +09:00