Files
rk35xx-android14/external/iptables/extensions/libxt_string.t
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

19 lines
1.2 KiB
Perl

:INPUT,FORWARD,OUTPUT
# ERROR: cannot find: iptables -I INPUT -m string --algo bm --string "test"
# -m string --algo bm --string "test";=;OK
# ERROR: cannot find: iptables -I INPUT -m string --algo kmp --string "test")
# -m string --algo kmp --string "test";=;OK
# ERROR: cannot find: iptables -I INPUT -m string --algo kmp ! --string "test"
# -m string --algo kmp ! --string "test";=;OK
# cannot find: iptables -I INPUT -m string --algo bm --string "xxxxxxxxxxx" ....]
# -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";=;OK
# ERROR: cannot load: iptables -A INPUT -m string --algo bm --string "xxxx"
# -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";=;OK
# ERROR: cannot load: iptables -A INPUT -m string --algo bm --hexstring "|0a0a0a0a|"
# -m string --algo bm --hexstring "|0a0a0a0a|";=;OK
# ERROR: cannot find: iptables -I INPUT -m string --algo bm --from 0 --to 65535 --string "test"
# -m string --algo bm --from 0 --to 65535 --string "test";=;OK
-m string --algo wrong;;FAIL
-m string --algo bm;;FAIL
-m string;;FAIL