xref: /aosp_15_r20/external/iptables/extensions/libxt_string.t (revision a71a954618bbadd4a345637e5edcf36eec826889)
1:INPUT,FORWARD,OUTPUT
2-m string --algo bm --string "test";-m string --string "test" --algo bm;OK
3-m string --string "test" --algo kmp;=;OK
4-m string ! --string "test" --algo kmp;=;OK
5-m string --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --algo bm;=;OK
6-m string --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --algo bm;;FAIL
7-m string --hex-string "|0a0a0a0a|" --algo bm;=;OK
8-m string --algo bm --from 0 --to 65535 --string "test";-m string --string "test" --algo bm;OK
9-m string --algo wrong;;FAIL
10-m string --algo bm;;FAIL
11-m string;;FAIL
12