On 02/23/2016 04:01 AM, Benny Pedersen wrote: > On 2016-02-21 23:50, Tom Eastep wrote: > >> Add this to the ESTABLISHED section: >> >> DROP net $FW tcp 25 ;; -m string --algo bm --string 'ylmf-pc' > > had to remove the single quotes > > DROP net $FW tcp 25 ;; -m string --algo bm --string ylmf-pc > > and iptables save shows it have " around botname > > is that a shorewall bug ?
No. Shorewall passes to iptables-restore the text after the ';;' exactly as you have entered it. > > anyway that works for me, no more email bot here > Good, -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 \________________________________________________
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