-
Notifications
You must be signed in to change notification settings - Fork 24
/
02-INITIALIZATION.conf
70 lines (61 loc) · 1.27 KB
/
02-INITIALIZATION.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
SecRule &tx:wprs_client_ip "@eq 0" \
"phase:1,\
id:22000100,\
pass,\
nolog,\
setvar:tx.wprs_client_ip=%{REMOTE_ADDR}"
SecRule &tx:wprs_bruteforce_timespan "@eq 0" \
"phase:1,\
id:22000101,\
pass,\
nolog,\
setvar:tx.wprs_bruteforce_timespan=120"
SecRule &tx:wprs_bruteforce_threshold "@eq 0" \
"phase:1,\
id:22000102,\
pass,\
nolog,\
setvar:tx.wprs_bruteforce_threshold=5"
SecRule &tx:wprs_bruteforce_banperiod "@eq 0" \
"phase:1,\
id:22000103,\
pass,\
nolog,\
setvar:tx.wprs_bruteforce_banperiod=300"
SecRule &tx:wprs_log_authentications "@eq 0" \
"phase:1,\
id:22000104,\
pass,\
nolog,\
setvar:tx.wprs_log_authentications=1"
SecRule &tx:wprs_check_bruteforce "@eq 0" \
"phase:1,\
id:22000105,\
pass,\
nolog,\
setvar:tx.wprs_check_bruteforce=1"
SecRule &tx:wprs_allow_xmlrpc "@eq 0" \
"phase:1,\
id:22000106,\
pass,\
nolog,\
setvar:tx.wprs_allow_xmlrpc=1"
SecRule &tx:wprs_allow_user_enumeration "@eq 0" \
"phase:1,\
id:22000107,\
pass,\
nolog,\
setvar:tx.wprs_allow_user_enumeration=1"
SecRule &tx:wprs_check_dos "@eq 0" \
"phase:1,\
id:22000108,\
pass,\
nolog,\
setvar:tx.wprs_check_dos=1"
SecAction \
"id:22000199,\
phase:1,\
nolog,\
pass,\
t:none,\
setvar:'tx.wprs_version=WPRS/1.1'"