Author: blues                        Date: Mon Feb 28 15:39:52 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix by Markus Lude <[EMAIL PROTECTED]>

---- Files affected:
SOURCES:
   logwatch-pam_unix.patch (1.12 -> 1.13)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/logwatch-pam_unix.patch
diff -u /dev/null SOURCES/logwatch-pam_unix.patch:1.13
--- /dev/null   Mon Feb 28 16:39:52 2005
+++ SOURCES/logwatch-pam_unix.patch     Mon Feb 28 16:39:47 2005
@@ -0,0 +1,19 @@
+Index: scripts/services/pam_unix
+===================================================================
+RCS file: /var/cvs/logwatch/scripts/services/pam_unix,v
+retrieving revision 1.17
+diff -u -r1.17 pam_unix
+--- scripts/services/pam_unix  24 Feb 2005 17:08:05 -0000      1.17
++++ scripts/services/pam_unix  28 Feb 2005 15:39:13 -0000
+@@ -73,9 +73,9 @@
+                       $data{$service}{'Authentication Failures'}{$line}++;
+       } elsif ($line =~ s/^authentication failure; .*rhost=([^ ]*).$/unknown 
($1)/) {
+          $data{$service}{'Authentication Failures'}{$line}++;
+-      } elsif ($line =~ s/^(\d+) more authentication failure; 
.*rhost=(.+)\s+user=(.+)$/$2 ($1)/) {
++      } elsif ($line =~ s/^(\d+) more authentication failure; 
.*rhost=(.+)\s+user=(.+)$/$3 ($2)/) {
+          $data{$service}{'Authentication Failures'}{$line}++;
+-      } elsif ($line =~ s/^(\d+) more authentication failure; 
.*rhost=(.+)$/unknown ($1)/) {
++      } elsif ($line =~ s/^(\d+) more authentication failure; 
.*rhost=(.+)$/unknown ($2)/) {
+          $data{$service}{'Authentication Failures'}{$line}++;
+       } elsif ($line =~ /check pass; user unknown/) {
+          $data{$service}{'Invalid Users'}{'Unknown Account'}++;
================================================================

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to