I am plagued by random IPs asking for "license.txt". This is addition to the plague of "wp-" hits.
To reject the license ones I have used the command...
iptables -I INPUT -m string --algo bm --string 'license.txt' -j DROP
to add to iptables the string...
-A INPUT -m string --string "license.txt" --algo bm --to 65535 -j DROP
This seems to have failed in its intent: "license.txt" is still coming through.
Iptables did not complain about it and online documentation suggests it is correct. Presumably I have missed something. Any help, please?