Changeset 888 for server/fedora
- Timestamp:
- Nov 20, 2008, 12:38:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/fedora/config/etc/syslog-ng/d_zroot.pl
r887 r888 67 67 map { s/^(.*?): // } @message; 68 68 %toclass = (); 69 my %ips = (); 69 70 foreach my $message (@message) { 70 71 sub sendmsg ($;$) { … … 86 87 } else { 87 88 sendmsg($message." (UNKNOWN KEY)"); 89 } 90 } elsif ($message =~ m|^Failed keyboard-interactive/pam for root from ([^ ]*)| { 91 my $count = ++$ips{$1}; 92 if ($count % 10 == 0 or $1 =~ /^18\./) { 93 sendmsg($message." (repeated $count times)", "scripts-spew"); 88 94 } 89 95 } elsif ($message =~ m|^Out of memory:|) {
Note: See TracChangeset
for help on using the changeset viewer.