]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: fix string extension for case insensitive pattern matching
authorJoonwoo Park <joonwpark81@gmail.com>
Tue, 8 Jul 2008 09:38:56 +0000 (02:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2008 09:38:56 +0000 (02:38 -0700)
commit4ad3f26162ece5aca3045fd45e15dd99acea4a0e
tree05c0db40febdc89055f2572bc0cf42388f798ead
parentdde77e604497dada6f224a685278dfb27747ae52
netfilter: fix string extension for case insensitive pattern matching

The flag XT_STRING_FLAG_IGNORECASE indicates case insensitive string
matching. netfilter can find cmd.exe, Cmd.exe, cMd.exe and etc easily.

A new revision 1 was added, in the meantime invert of xt_string_info
was moved into flags as a flag. If revision is 1, The flag
XT_STRING_FLAG_INVERT indicates invert matching.

Signed-off-by: Joonwoo Park <joonwpark81@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/xt_string.h
net/netfilter/xt_string.c