logwatch noise reduction patch
Noel Butler <[email protected]> Tue, 25 Jan 2022 08:42:44 +1000
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <4100021.S0EWUzCJZB@roswell> |
--nextPart3814818.fJ9bm0SppL
Content-Type: multipart/alternative; boundary="nextPart3068023.UeTjVyfz3n"
Content-Transfer-Encoding: 7Bit
--nextPart3068023.UeTjVyfz3n
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"
Hi,
Please find attached multi patch for services
--
Kind Regards,
Noel Butler
(b) https://blog.ausics.net
This Email, including attachments, may contain sensitive and/or legally privileged information, therefore does at all times remain confidential and subject to copyright protected under international law. You may not disseminate any part of this message without the authors express written authority to do so. If you are not the intended recipient, please notify the sender then delete all copies of this message including attachments immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message.
--nextPart3068023.UeTjVyfz3n
Content-Transfer-Encoding: 7Bit
Content-Type: text/html; charset="utf-8"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Open Sans'; font-size:11pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi, </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Please find attached multi patch for services</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'open sans'; font-style:italic;">Kind Regards,</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'open sans'; font-style:italic;">Noel Butler</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'open sans'; font-size:12pt; font-style:italic;">(b)</span><span style=" font-family:'open sans'; font-style:italic;"> https://blog.ausics.net</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<hr />
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial'; font-size:10pt; color:#000000; background-color:#ffffff;">This Email, including attachments, may contain sensitive and/or legally privileged information, therefore does at all times remain confidential and subject to copyright protected under international law. You may not disseminate any part of this message without the authors express written authority to do so. If you are not the intended recipient, please notify the sender then delete all copies of this message including attachments immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message.<
/span></p></body></html>
--nextPart3068023.UeTjVyfz3n--
--nextPart3814818.fJ9bm0SppL
Content-Disposition: attachment; filename="logwatch_ausics.pat"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="UTF-8"; name="logwatch_ausics.pat"
diff -Nau /tmp/logwatch-7.6/scripts/services/dovecot /usr/share/logwatch/scripts/services/dovecot
--- /tmp/logwatch-7.6/scripts/services/dovecot 2022-01-22 10:00:00.000000000 +1000
+++ /usr/share/logwatch/scripts/services/dovecot 2022-01-25 08:37:47.593323893 +1000
@@ -135,6 +135,7 @@
($ThisLine =~ /discarding vacation response/) or
($ThisLine =~ /discarded vacation reply to/) or
($ThisLine =~ /Debug:/) or
+ ($ThisLine =~ /Plaintext authentication disabled/) or
($ThisLine =~ /^$dovecottag imap\(\w+\): Mailbox renamed:/) or
($ThisLine =~ /^$dovecottag imap\(\w+\): copy from /) or
($ThisLine =~ /^$dovecottag imap\(\w+\): delete: /) or
diff -Nau /tmp/logwatch-7.6/scripts/services/pureftpd /usr/share/logwatch/scripts/services/pureftpd
--- /tmp/logwatch-7.6/scripts/services/pureftpd 2022-01-22 10:00:00.000000000 +1000
+++ /usr/share/logwatch/scripts/services/pureftpd 2022-01-25 07:06:37.802485188 +1000
@@ -59,9 +59,12 @@
( $ThisLine =~ /last message repeated/ ) or
( $ThisLine =~ /Timeout/) or
( $ThisLine =~ /Can't change directory/) or
+ ( $ThisLine =~ /Can't create directory: File exists/) or
( $ThisLine =~ /File successfully renamed or moved/) or
( $ThisLine =~ /This is a private system - No anonymous login/) or
( $ThisLine =~ /Authentication failed for user/) or
+ ( $ThisLine =~ /Sorry, cleartext sessions and weak ciphers/) or
+ ( $ThisLine =~ /TLS: Enabled/) or
( $ThisLine =~ /Transfer aborted/) or
( $ThisLine =~ /pure-ftpd startup( |) succeeded/)
) {
diff -Nau /tmp/logwatch-7.6/scripts/services/secure /usr/share/logwatch/scripts/services/secure
--- /tmp/logwatch-7.6/scripts/services/secure 2022-01-22 10:00:00.000000000 +1000
+++ /usr/share/logwatch/scripts/services/secure 2022-01-25 08:17:29.793662946 +1000
@@ -168,7 +168,7 @@
( $ThisLine =~ /polkitd(\(authority=.*\)|\[\d+\])?: Finished loading, compiling and executing \d+ rules$/) or
( $ThisLine =~ /polkitd(\(authority=.*\)|\[\d+\])?: Collecting garbage unconditionally/) or
( $ThisLine =~ /(gdm-session-worker|gdm-password|gnome-screensaver-dialog)\[\d+\]: gkr-pam: no password is available for user/) or
- ( $ThisLine =~ /gkr-pam: gnome-keyring-daemon started properly and unlocked keyring/) or
+ ( $ThisLine =~ /gkr-pam: gnome-keyring-daemon started properly/) or
( $ThisLine =~ /gkr-pam: stashed password to try later in open session/) or
( $ThisLine =~ /gkr-pam: the password for the login keyring was invalid/) or
( $ThisLine =~ /gkr-pam: unable to locate daemon control file/) or
@@ -181,6 +181,7 @@
( $ThisLine =~ /su: pam_systemd(.*): Failed to parse message: /) or
( $ThisLine =~ /pam_systemd\(su:session\): Cannot create session: Already (running in|occupied by) a session/) or
( $ThisLine =~ /pam_systemd\(su.*:session\): Failed to release session:/) or
+ ( $ThisLine =~ /elogind-daemon\[\d+\]: (New|Removed) session/) or
( $ThisLine =~ /systemd-logind\[\d+\]: (New|Removed) session/) or
( $ThisLine =~ /systemd-logind\[\d+\]: New seat seat\d+\./) or
( $ThisLine =~ /systemd-logind\[\d+\]: Watching system buttons on /) or
diff -Nau /tmp/logwatch-7.6/scripts/services/smartd /usr/share/logwatch/scripts/services/smartd
--- /tmp/logwatch-7.6/scripts/services/smartd 2022-01-22 10:00:00.000000000 +1000
+++ /usr/share/logwatch/scripts/services/smartd 2022-01-25 07:25:49.904461484 +1000
@@ -126,6 +126,7 @@
|| ($ThisLine =~ /smartd received signal 15: Terminated/)
|| ($ThisLine =~ /smartd is exiting \(exit status 0\)/)
|| ($ThisLine =~ /smartd has fork/)
+ || ($ThisLine =~ /written containing PID/)
|| ($ThisLine =~ /smartd (startup|shutdown) succeeded/)
|| ($ThisLine =~ /Unable to register device (.*) \(no Directive -d removable\). Exiting/)
|| ($ThisLine =~ /Device .*, SATA disks accessed via libata are not currently supported by smartmontools./)
diff -Nau /tmp/logwatch-7.6/scripts/services/sshd /usr/share/logwatch/scripts/services/sshd
--- /tmp/logwatch-7.6/scripts/services/sshd 2022-01-22 10:00:00.000000000 +1000
+++ /usr/share/logwatch/scripts/services/sshd 2022-01-25 07:42:09.776217797 +1000
@@ -157,6 +157,8 @@
# usually followed by a session opened for user
($ThisLine =~ m/^pam_krb5\[\d+\]: authentication succeeds for /) or
($ThisLine =~ m/^nss_ldap: reconnect/) or
+ ($ThisLine =~ /gkr-pam: gnome-keyring-daemon started properly/) or
+ ($ThisLine =~ /gkr-pam: unable to locate daemon control file/) or
($ThisLine =~ m/^pam_ldap: error trying to bind as user "[^"]+" \(Invalid credentials\)/) or
($ThisLine =~ m/^pam_ldap: ldap_starttls_s: Can't contact LDAP server/) or
($ThisLine =~ m/^pam_sss\(sshd:.*\)/) or
--nextPart3814818.fJ9bm0SppL
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--nextPart3814818.fJ9bm0SppL
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Logwatch-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/logwatch-devel
--nextPart3814818.fJ9bm0SppL--