Security plugin: add shortname
[MonkeyD.git] / conf / plugins / security / security.conf
blob4175515d410e4585aeefd0265c9b2fe7e7e26147
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
18 #  b) Restriction for IP:
20 #       If you whish to deny access to an entering connection, it's ip
21 #       would be the same as 207.46.197.102 (IP that corresponds to one of 
22 #       the principal servers of microsoft.com), we would do it 
23 #       in the following way:
24 #       
25 #       IP 207.46.197.102
27 #       It's also possible to block through ranges of IP
28 #       
29 #       Ex:
31 #          If we wanted to block the range 207.46.197.0 a 207.46.197.255,
32 #          we would establish a rule like:
33 #               
34 #               IP 207.46.197.*
35 #       
36 #       Another form to block is by digit:
37 #       
38 #       Ex:
40 #       IP  123.65.98.1?  (denies access to IP's in the range
41 #                          123.65.98.10-19, but doesn't block access to
42 #                          123.65.98.1, 123.65.98.100, 123.65.98.124,etc) 
44 #       IP  41.10.12?.??? (denies access to IP's in the range 41.10.120.xxx
45 #                          to 41.10.129.xxx but don't block access to
46 #                          41.10.12.xxx)
48 #       IP  52.74.1?1.81  (denies access to IP's in the range 52.74.101.81
49 #                         to 52.74.191.81)
51 #       IP  77.96.8?      (Doesn't block address, because it's missing the
52 #                          last octet)
54 #     At least it's possible to get some combinations of IP's to block,
55 #     for example:
57 #     IP  169.12?.1*      (Block access to IPs 169.123.1.41,
58 #                          169.127.15.1, 169.120.198.125, etc)
60 #     very interesintg :)