Add security plugin file configuration
[MonkeyD.git] / conf / security.conf
blob98e3f7023b57fb2066c49f3477f79c9717998ab7
1 # Monkey HTTP Daemon - Deny
2 # =========================
3 # In this file you can establish the restrictions you want to put. Upon
4 # breaking a restrictions, monkey sens the error 403 (forbidden) to the 
5 # client.
7 #  Mode of use:
8 #  ------------
9 #  a) Restriction through URL:
10
11 #     To defined chains that you want to register corresponding to parts
12 #     of URL like for example the typical "../../" we, could block
13 #     whatever connection if in any part of the text it's URL contains
14 #     "..", this we sould do in the following form:
16 #               URL ..
17 #               URL passwd
19 URL ..
21 #  b) Restriction for IP:
23 #       If you whish to deny access to an entering connection, it's ip
24 #       would be the same as 207.46.197.102 (IP that corresponds to one of 
25 #       the principal servers of microsoft.com), we would do it 
26 #       in the following way:
27 #       
28 #       IP 207.46.197.102
30 #       It's also possible to block through ranges of IP
31 #       
32 #       Ex:
34 #          If we wanted to block the range 207.46.197.0 a 207.46.197.255,
35 #          we would establish a rule like:
36 #               
37 #               IP 207.46.197.*
38 #       
39 #       Another form to block is by digit:
40 #       
41 #       Ex:
43 #       IP  123.65.98.1?  (denies access to IP's in the range
44 #                          123.65.98.10-19, but doesn't block access to
45 #                          123.65.98.1, 123.65.98.100, 123.65.98.124,etc) 
47 #       IP  41.10.12?.??? (denies access to IP's in the range 41.10.120.xxx
48 #                          to 41.10.129.xxx but don't block access to
49 #                          41.10.12.xxx)
51 #       IP  52.74.1?1.81  (denies access to IP's in the range 52.74.101.81
52 #                         to 52.74.191.81)
54 #       IP  77.96.8?      (Doesn't block address, because it's missing the
55 #                          last octet)
57 #     At least it's possible to get some combinations of IP's to block,
58 #     for example:
60 #     IP  169.12?.1*      (Block access to IPs 169.123.1.41,
61 #                          169.127.15.1, 169.120.198.125, etc)
63 #     very interesintg :)