1:INPUT,FORWARD,OUTPUT
2# ERROR: cannot find: iptables -I INPUT -m string --algo bm --string "test"
3# -m string --algo bm --string "test";=;OK
4# ERROR: cannot find: iptables -I INPUT -m string --algo kmp --string "test")
5# -m string --algo kmp --string "test";=;OK
6# ERROR: cannot find: iptables -I INPUT -m string --algo kmp ! --string "test"
7# -m string --algo kmp ! --string "test";=;OK
8# cannot find: iptables -I INPUT -m string --algo bm --string "xxxxxxxxxxx" ....]
9# -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";=;OK
10# ERROR: cannot load: iptables -A INPUT -m string --algo bm --string "xxxx"
11# -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";=;OK
12# ERROR: cannot load: iptables -A INPUT -m string --algo bm --hexstring "|0a0a0a0a|"
13# -m string --algo bm --hexstring "|0a0a0a0a|";=;OK
14# ERROR: cannot find: iptables -I INPUT -m string --algo bm --from 0 --to 65535 --string "test"
15# -m string --algo bm --from 0 --to 65535 --string "test";=;OK
16-m string --algo wrong;;FAIL
17-m string --algo bm;;FAIL
18-m string;;FAIL
19