9
|
1 threshold 550;
|
3
|
2
|
|
3 ignore {
|
|
4 127.0.0.0/8; // localhost
|
|
5 205.147.40.32/26; // 510sg
|
|
6 205.147.0.100/24; // digilink
|
|
7 205.147.39.128/25; // ams
|
1
|
8 };
|
|
9
|
5
|
10 file "/var/log/cisco.log" {
|
3
|
11 pattern "Internet_Firewall denied (tcp|udp) ([^(]*)" {
|
|
12 index 2; // zero based
|
|
13 bucket 200;
|
|
14 };
|
1
|
15 };
|
3
|
16
|
5
|
17 file "/var/log/secure" {
|
|
18 pattern "sshd.*Failed password .* from ::ffff:(.*) port" {
|
|
19 index 1; // zero based
|
9
|
20 bucket 400;
|
5
|
21 };
|
|
22 pattern "sshd.*Failed password .* from (.*) port" {
|
|
23 index 1; // zero based
|
9
|
24 bucket 400;
|
5
|
25 };
|
|
26 };
|
|
27
|
9
|
28 // file "/var/log/messages" {
|
|
29 // pattern "sshd.pam_unix.*authentication failure.*rhost=(.*) user=" {
|
|
30 // index 1; // zero based
|
|
31 // bucket 300;
|
|
32 // };
|
|
33 // pattern "sshd.pam_unix.*authentication failure.*rhost=(.*)$" {
|
|
34 // index 1; // zero based
|
|
35 // bucket 300;
|
|
36 // };
|
|
37 // };
|