9
|
1 threshold 550;
|
3
|
2
|
|
3 ignore {
|
|
4 127.0.0.0/8; // localhost
|
1
|
5 };
|
|
6
|
20
|
7 // file "/var/log/cisco.log" {
|
|
8 // pattern "Internet_Firewall denied (tcp|udp) ([^(]*)" {
|
|
9 // index 2; // zero based
|
|
10 // bucket 200;
|
|
11 // };
|
|
12 // };
|
3
|
13
|
5
|
14 file "/var/log/secure" {
|
|
15 pattern "sshd.*Failed password .* from ::ffff:(.*) port" {
|
|
16 index 1; // zero based
|
9
|
17 bucket 400;
|
5
|
18 };
|
|
19 pattern "sshd.*Failed password .* from (.*) port" {
|
|
20 index 1; // zero based
|
9
|
21 bucket 400;
|
5
|
22 };
|
|
23 };
|
|
24
|
20
|
25 file "/var/log/httpd/access_log" {
|
|
26 pattern "(.*) - - .* /cgi-bin" {
|
|
27 index 1; // zero based
|
|
28 bucket 400;
|
|
29 };
|
|
30 pattern "(.*) - - .*/index2.php" {
|
|
31 index 1; // zero based
|
|
32 bucket 400;
|
|
33 };
|
|
34 pattern "(.*) - - .*/main.php" {
|
|
35 index 1; // zero based
|
|
36 bucket 400;
|
|
37 };
|
|
38 };
|
|
39
|
|
40 file "/var/log/httpd/access_acia_log" {
|
|
41 pattern "(.*) - - .* /cgi-bin" {
|
|
42 index 1; // zero based
|
|
43 bucket 400;
|
|
44 };
|
|
45 };
|
|
46
|
|
47 file "/var/log/httpd/access_510sg_log" {
|
|
48 pattern "(.*) - - .* /cgi-bin" {
|
|
49 index 1; // zero based
|
|
50 bucket 400;
|
|
51 };
|
|
52 };
|
|
53
|
9
|
54 // file "/var/log/messages" {
|
|
55 // pattern "sshd.pam_unix.*authentication failure.*rhost=(.*) user=" {
|
|
56 // index 1; // zero based
|
|
57 // bucket 300;
|
|
58 // };
|
|
59 // pattern "sshd.pam_unix.*authentication failure.*rhost=(.*)$" {
|
|
60 // index 1; // zero based
|
|
61 // bucket 300;
|
|
62 // };
|
|
63 // };
|