File: //etc/bitninja/WAF3/config.ini
;
;
; Blue Module Dependency file
;
;
;
; Wich modules this module depends on
;
[module]
ipc_num = 577
depends[]='IpFilter'
message_pull_limit = 20
message_polling_time = 2
[core]
;use at your own risk, default value 0
retain_rights = 0
;this is important, if you don't want to use the auto ssl feature, set this to 1
disable_auto_ssl= 1
;If you set add_redirection_to_prerouting to 1, the WAF will add a prerouting rule to the iptables, if set 0 it will add to WAF chain
add_redirection_to_prerouting = 0
;If you set filter_public_private_ips to 1, the WAF will filter public and private ips
;If you set filter_public_private_ips to 0, the WAF will not filter public and private ips
filter_public_private_ips = 1
[caddy]
binaryLocation = '/opt/bitninja-waf3/bitninja-waf3'
configLocation = '/opt/bitninja-waf3/config.json'
[webserver]
;this is the webserver type, possible values: Apache, Nginx, LiteSpeed, OpenLiteSpeed
;backend_server = Apache
[waf]
;this switch is for the WAF module
status = 1
[logonly]
400031 = 'disableSendToShogun,sendLogIncident'