Jump to content

I'm looking to drop a string using this:

 

iptables -A INPUT -p udp --dport 65565 -m string --hex-string "|ffffffff55|" --algo bm -m limit --limit 50/s -j ACCEPT

 

the contents of a string is: FF FF FF FF 54

 

Would I add the spaces in between the FF's into the iptables command? Or would this work as of right now?

Link to comment
https://linustechtips.com/topic/874589-iptables-help/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×