On 02/21/2016 04:41 AM, Benny Pedersen wrote:
> iptables -I INPUT -p tcp --dport 25 -m string --algo bm --string 
> 'ylmf-pc' -j DROP
> 
> how to add that silly bot to shorewall rules ?
> 

Add this to the ESTABLISHED section:

DROP net $FW    tcp     25 ;; -m string --algo bm --string 'ylmf-pc'

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to