HEX
Server: Apache/2.4.65 (Debian)
System: Linux srv39710 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.4.11
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //etc/bitninja/OutboundWAF/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

[defaultActions]
action[] = GREYLIST
action[] = REJECT

[defaultTransformations]
transform[]=urldecode

[ruleFiles]
HttpRequest[]= '/var/lib/bitninja/WAF/rules.php'
HttpRequest[]= '/etc/bitninja/OutboundWAF/Rules/userRules.php'

[strictUris]
;urifile[]=/etc/bitninja/WAF/Rules/stricturis.php