Displaying 1 result from an estimated 1 matches for "xtables_parse_interfac".
Did you mean:
xtables_parse_interface
2016 Aug 30
5
[Bug 1085] New: No warning for weird interface characters if interface contains wildcard character
...rning:
# iptables -A FORWARD -i "asd f+"
Expected behavior: I get a warning about the whitespace in my interface match.
Observed behavior Rule is accepted without any warning, iptables-save confirms
that the rule was successfully inserted.
The issue can be seen directly in the function xtables_parse_interface:
https://git.netfilter.org/iptables/tree/libxtables/xtables.c?h=v1.6.0#n518
The for loop which checks for weird characters is not executed if the interface
match string ends on '+'.
Version: iptables 1.6.0
As of git commit 921dfe98c69b7a71e31e48df79f4986d7bde7810 (HEAD on 30th Aug
2016),...