summaryrefslogtreecommitdiffstats
path: root/libxtables
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2013-10-05 09:33:15 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2013-11-03 21:05:19 +0100
commite0853f3c285a6ad082e5ed5ff5e308beeeba41d9 (patch)
tree134a711d4bd7dc6aa65c79cc50e8856c357d1bfa /libxtables
parentb90e798596465f0ea2daff75d95f4f978f0a8377 (diff)
iptables: improve chain name validation
As pointed out by Andrew Domaszek, iptables allows whitespace to be included in chain names. This causes issues with iptables-restore, and later iptables actions on the chain. Attached patch disallows whitespace, and also consolidates all chain name checking into a new function. This closes netfilter bugzilla #855. [ Included ip6tables changed as well --pablo ] Signed-off-by: Phil Oester <kernel@linuxace.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libxtables')
0 files changed, 0 insertions, 0 deletions