logwatch/logwatch-7.3.4-secure.patch
2007-04-02 14:04:05 +00:00

14 lines
851 B
Diff

--- logwatch-7.3.4/scripts/services/secure.pom 2007-01-29 19:29:14.000000000 +0100
+++ logwatch-7.3.4/scripts/services/secure 2007-04-02 15:56:22.000000000 +0200
@@ -204,7 +204,9 @@
( $ThisLine =~ /PAM pam_set_item: attempt to set conv\(\) to NULL/) or
( $ThisLine =~ /PAM pam_get_item: nowhere to place requested item/) or
( $ThisLine =~ /pam_succeed_if\(.*:.*\): error retrieving information about user [a-zA-Z]*/ ) or
- ( $ThisLine =~ /logfile turned over/) # newsyslog on OpenBSD
+ ( $ThisLine =~ /logfile turned over/) or # newsyslog on OpenBSD
+ ( $ThisLine =~ /Connection closed by/) or
+ ( $ThisLine =~ /sshd: Accepted \S+ for \S+ from [\d\.:a-f]+ port \d+/) # ssh script reads this log
) {
# Ignore these entries
} elsif ($ThisLine =~ /^spop3d/ || $ThisLine =~ /^pop\(\w+\)\[\d+\]:/) {