path: root/libxtables/xtables.c
diff options
authorPhil Oester <>2013-10-05 09:33:15 -0700
committerPablo Neira Ayuso <>2013-11-03 21:05:19 +0100
commite0853f3c285a6ad082e5ed5ff5e308beeeba41d9 (patch)
tree134a711d4bd7dc6aa65c79cc50e8856c357d1bfa /libxtables/xtables.c
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 <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'libxtables/xtables.c')
0 files changed, 0 insertions, 0 deletions