Community discussions

MikroTik App
 
reza.mnp
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Mon Jun 11, 2007 9:44 am
Location: ilam - iran
Contact:

This translation is correct?

Fri Jul 08, 2011 5:27 pm

hello normis

[iptablesfw]# iptables -I FORWARD 1 -p tcp --dport 1433 -m state --state
ESTABLISHED -m string --hex-string "'|00|" --algo bm -m string --hex-string
"-|00|-|00|" --algo bm -j LOG --log-prefix "SQL INJECTION COMMENT "


translate to mikrotik ip -> firewall -> filter
;;; SQL INJECTION COMMENT
     chain=forward action=log connection-state=established protocol=tcp 
     dst-port=1433 content=|00|,|00|-|00| connection-type="" log-prefix=""