如果请求被阻止,mod_security是否只能logging触发的规则?
我已经安装了mod_security,目前我正在运行DetectionOnly模式,因为我监视日志并进行configuration以适合我的服务器需求。 我已经设置了exception评分,并相应地调整了分数,以减less误报。 在Apache2 error_log我收到如下所示的日志事件: [Fri May 01 14:48:48 2015] [error] [client 81.138.5.14] ModSecurity: Warning. Operator LT matched 20 at TX:inbound_anomaly_score. [file "/etc/apache2/modsecurity-crs/activated_rules/modsecurity_crs_60_correlation.conf"] [line "33"] [id "981203"] [msg "Inbound Anomaly Score (Total Inbound Score: 13, SQLi=11, XSS=): Restricted SQL Character Anomaly Detection Alert – Total # of special characters exceeded"] [hostname "www.domain.co.uk"] [uri "/wp-admin/admin-ajax.php"] [unique_id "VUOEQNRurOYAABA-HZEAAAAA"] […]