Changeset 1584 for trunk/server/fedora/config/etc/syslog-ng
- Timestamp:
- Jul 5, 2010, 2:52:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/fedora/config/etc/syslog-ng/d_zroot.pl
r1583 r1584 29 29 30 30 my %sshkeys; 31 32 my %ips;33 31 34 32 sub buildKeyMap($) { … … 90 88 sendmsg($message." (UNKNOWN KEY)"); 91 89 } 92 } elsif ($message =~ m|^Failed keyboard-interactive/pam for root from ([^ ]*)|) {93 my $count = ++$ips{$1};94 if ($count % 10 == 0 or $1 =~ /^18\./) {95 sendmsg($message." (repeated $count times)", "scripts-spew");96 }97 90 } elsif ($message =~ m|^Out of memory:|) { 98 91 sendmsg($message); … … 107 100 } elsif ($message =~ m|^Received disconnect from|) { 108 101 } elsif ($message =~ m|^Postponed keyboard-interactive|) { 109 } elsif ($message =~ m|^Failed keyboard-interactive |) {102 } elsif ($message =~ m|^Failed keyboard-interactive/pam|) { 110 103 } elsif ($message =~ m|^fatal: Read from socket failed: Connection reset by peer$|) { 111 104 } elsif ($message =~ m|^reverse mapping checking getaddrinfo|) {
Note: See TracChangeset
for help on using the changeset viewer.