Advertisement
foryou97

A/D

Nov 8th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. https://www.quora.com/anonymous/2071f6ebe15c40e7ae70001a0420222a
  2.  
  3. --String
  4.  
  5. You'd need a kernel compiled with Netfilter "String match support" enabled.
  6.  
  7. iptables -A INPUT -m string --algo bm --string "test" -j DROP
  8. iptables -A OUTPUT -m string --algo bm --string "test" -j DROP
  9. iptables -A FORWARD -m string --algo bm --string "test" -j DROP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement