File: //etc/bitninja/WAF/config.ini
;
;
; WAF configuration file
;
;
[core]
; The file that should be used by the processes as a mutex. The process that locks
; this file will be able to accept connections.
;lockFile = '/var/lock/bn_waf_accept.lock'
[backend]
; This should be the address and port on which your HTTP server is listening.
; WAF works as a TCP proxy: the requests recieved by the WAF module will be
; passed on to the address and port given below.
;ip = '127.0.0.1'
;port = '80'
[prefork]
; In the aspects of process handling, WAF works similar to Apache's Prefork MPM.
; Every established connection uses a process to transmit and filter incoming data.
; The main process starts minProcCount process on startup and creates new processes
; whenever the number of spare processes is less than minSpareProcCount, but the
; number of the child processes will not exceed the value of maxProcCount.
; If there are more spare processes than the value of maxSpareProcCount,
; then the main process will start closing the processes, at most one in every second.
; Please note that no sanity check is done on these values, be very careful
; when modifying it.
;minProcCount = 10;
;maxProcCount = 500;
;minSpareProcCount = 10;
;maxSpareProcCount = 30;
[filters]
; Set the value of enableExperimental to 1 if you wish to enable experimental patterns and filters.
; Please note that using these may highly increase the number of false-positive
; matches.
; enableExperimental = 0