Jamie L. Penman-Smithson
2004-Aug-12 01:54 UTC
[Logcheck-devel] Bug#265176: logcheck: rules for gps policy daemon with postfix
Package: logcheck Version: 1.2.24 Severity: minor If you run the gps policy server with postfix, you end up with a lot of unneeded messages: Aug 12 01:15:18 lorien gps[27125]: disconnecting from DB Aug 12 01:31:47 lorien gps[27264]: started (ver.: 0.7b built: Jul 14 2004 14:39:53) Aug 12 01:31:47 lorien gps[27264]: ok: 'bounce-debian-user=devnull=silverdream.org at lists.debian.org' -> 'devnull at silverdream.org', '146.82.138.6' (1350, 1695 secs) Aug 12 01:37:35 lorien gps[27332]: new: 'tseun at loyalistc.on.ca' -> 'brad.smith at bluemelon.net', '82.217.137.112' Aug 12 01:46:44 lorien gps[27483]: wl nw: 'spamassassin-users-return-14314-devnull=silverdream.org at incubator.apache.org' -> 'devnull at silverdream.org', '209.237.227.': apache.org mailing lists The following regexps match the above messages: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: disconnecting from DB$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: started \(ver.: [a-z0-9\.]+ built: [A-Za-z]+ [0-9[:space:]]+ [0-9]{2}:[0-9]{2}:[0-9]{2}\)$ For the other three rules, this is the closest I could get. Really these will probably need to be separate rules: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: (ok|new|wl nw): '[[:alnum:][:punct:]]+@[[:alnum:][:punct:]]+'.*$ Thanks, -- -jamie <jamie at silverdream.org> | spamtrap: spam at silverdream.org w: http://www.silverdream.org | p: sms at silverdream.org pgp key @ http://silverdream.org/~jps/pub.key 04:30:01 up 2 days, 13:39, 13 users, load average: 2.10, 2.19, 2.31 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040812/cce1bdab/attachment.pgp
maks attems
2004-Aug-13 15:39 UTC
Bug#265176: [Logcheck-devel] Bug#265176: logcheck: rules for gps policy daemon with postfix
tags 265176 pending thanks On Thu, 12 Aug 2004, Jamie L. Penman-Smithson wrote:> Package: logcheck > Version: 1.2.24 > Severity: minor > > If you run the gps policy server with postfix, you end up with a lot of > unneeded messages: > > Aug 12 01:15:18 lorien gps[27125]: disconnecting from DB > Aug 12 01:31:47 lorien gps[27264]: started (ver.: 0.7b built: Jul 14 > 2004 14:39:53) > Aug 12 01:31:47 lorien gps[27264]: ok: > 'bounce-debian-user=devnull=silverdream.org at lists.debian.org' -> > 'devnull at silverdream.org', '146.82.138.6' (1350, 1695 secs) > Aug 12 01:37:35 lorien gps[27332]: new: 'tseun at loyalistc.on.ca' -> > 'brad.smith at bluemelon.net', '82.217.137.112' > Aug 12 01:46:44 lorien gps[27483]: wl nw: > 'spamassassin-users-return-14314-devnull=silverdream.org at incubator.apache.org' -> 'devnull at silverdream.org', '209.237.227.': apache.org mailing lists > > The following regexps match the above messages: > > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: disconnecting from DB$ > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: started \(ver.: > [a-z0-9\.]+ built: [A-Za-z]+ [0-9[:space:]]+ > [0-9]{2}:[0-9]{2}:[0-9]{2}\)$ > > For the other three rules, this is the closest I could get. Really these > will probably need to be separate rules: > > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: (ok|new|wl nw): > '[[:alnum:][:punct:]]+@[[:alnum:][:punct:]]+'.*$ > > Thanks,nice bug report, i've added the attached rules for next release, please test them? 1 rule unmodified, 2 rule uses [[:alpha:]] instead of [a-zA-Z] explanations at ("Writing rules"): /usr/share/doc/logcheck-database/README.logcheck-database.gz 3 rule uses [^[:space:]] to match emails, but fails on above 3 log message the ip inside there seems very strange '209.237.227.' thanks for a review + test -- maks -------------- next part -------------- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: disconnecting from DB$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: started \(ver.: [.[:alnum:]]+ built: \w{3} [0-9]{2} [0-9]{4} [0-9:]{8}\)$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: (new|ok): '[^[:space:]]+' -> '[^[:space:]]+', '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'.*$ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040813/5c4ebe16/attachment.pgp
Debian Bug Tracking System
2004-Aug-13 15:48 UTC
Processed: Re: [Logcheck-devel] Bug#265176: logcheck: rules for gps policy daemon with postfix
Processing commands for control at bugs.debian.org:> tags 265176 pendingBug#265176: logcheck: rules for gps policy daemon with postfix There were no tags set. Tags added: pending> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Debian Bug Tracking System
2004-Aug-14 03:33 UTC
[Logcheck-devel] Bug#265176: marked as done (logcheck: rules for gps policy daemon with postfix)
Your message dated Fri, 13 Aug 2004 23:17:03 -0400 with message-id <E1Bvp2V-0002Hz-00 at newraff.debian.org> and subject line Bug#265176: fixed in logcheck 1.2.25 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 12 Aug 2004 01:54:46 +0000>From jamie at silverdream.org Wed Aug 11 18:54:46 2004Return-path: <jamie at silverdream.org> Received: from lorien.silverdream.org [62.3.218.19] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1Bv4nm-0006U9-00; Wed, 11 Aug 2004 18:54:46 -0700 Received: from localhost (localhost [127.0.0.1]) by lorien.silverdream.org (Postfix) with ESMTP id 2F51E4800094 for <submit at bugs.debian.org>; Thu, 12 Aug 2004 02:54:14 +0100 (BST) Received: from lorien.silverdream.org ([127.0.0.1]) by localhost (lorien.silverdream.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25439-06-3 for <submit at bugs.debian.org>; Thu, 12 Aug 2004 02:54:09 +0100 (BST) Received: from oasis.silverdream.hq (pegasus.pinklemon.net [62.3.218.17]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by lorien.silverdream.org (Postfix) with ESMTP id 639604800090 for <submit at bugs.debian.org>; Thu, 12 Aug 2004 02:54:09 +0100 (BST) Subject: logcheck: rules for gps policy daemon with postfix From: "Jamie L. Penman-Smithson" <jamie at silverdream.org> Reply-To: jamie at silverdream.org To: submit at bugs.debian.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EE2nZLU6pw1EREPLRJBS" Organization: PinkLemon Internet Services Message-Id: <1092275648.1592.23.camel at oasis.silverdream.hq> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 12 Aug 2004 02:54:09 +0100 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at silverdream.org Delivered-To: submit at bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: --=-EE2nZLU6pw1EREPLRJBS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Package: logcheck Version: 1.2.24 Severity: minor If you run the gps policy server with postfix, you end up with a lot of unneeded messages: Aug 12 01:15:18 lorien gps[27125]: disconnecting from DB Aug 12 01:31:47 lorien gps[27264]: started (ver.: 0.7b built: Jul 14 2004 14:39:53) Aug 12 01:31:47 lorien gps[27264]: ok: 'bounce-debian-user=3Ddevnull=3Dsilverdream.org at lists.debian.org' -> 'devnull at silverdream.org', '146.82.138.6' (1350, 1695 secs) Aug 12 01:37:35 lorien gps[27332]: new: 'tseun at loyalistc.on.ca' -> 'brad.smith at bluemelon.net', '82.217.137.112' Aug 12 01:46:44 lorien gps[27483]: wl nw: 'spamassassin-users-return-14314-devnull=3Dsilverdream.org at incubator.apache.org' -> 'devnull at silverdream.org', '209.237.227.': apache.org mailing lists The following regexps match the above messages: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: disconnecting from DB$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: started \(ver.: [a-z0-9\.]+ built: [A-Za-z]+ [0-9[:space:]]+ [0-9]{2}:[0-9]{2}:[0-9]{2}\)$ For the other three rules, this is the closest I could get. Really these will probably need to be separate rules: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: (ok|new|wl nw): '[[:alnum:][:punct:]]+@[[:alnum:][:punct:]]+'.*$ Thanks, --=20 -jamie <jamie at silverdream.org> | spamtrap: spam at silverdream.org w: http://www.silverdream.org | p: sms at silverdream.org pgp key @ http://silverdream.org/~jps/pub.key 04:30:01 up 2 days, 13:39, 13 users, load average: 2.10, 2.19, 2.31 --=-EE2nZLU6pw1EREPLRJBS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBGs3A0mxM1DK1CAsRAnvYAJ9FmBX0p8Jvd34JgkpD0f24LmWkRACfS4dv DY0WLEvyF2qLjXIE6udt8gE=ukrN -----END PGP SIGNATURE----- --=-EE2nZLU6pw1EREPLRJBS-- --------------------------------------- Received: (at 265176-close) by bugs.debian.org; 14 Aug 2004 03:23:16 +0000>From katie at ftp-master.debian.org Fri Aug 13 20:23:16 2004Return-path: <katie at ftp-master.debian.org> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1Bvp8W-0007ly-00; Fri, 13 Aug 2004 20:23:16 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1Bvp2V-0002Hz-00; Fri, 13 Aug 2004 23:17:03 -0400 From: Todd Troxell <ttroxell at debian.org> To: 265176-close at bugs.debian.org X-Katie: $Revision: 1.51 $ Subject: Bug#265176: fixed in logcheck 1.2.25 Message-Id: <E1Bvp2V-0002Hz-00 at newraff.debian.org> Sender: Archive Administrator <katie at ftp-master.debian.org> Date: Fri, 13 Aug 2004 23:17:03 -0400 Delivered-To: 265176-close at bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 6 Source: logcheck Source-Version: 1.2.25 We believe that the bug you reported is fixed in the latest version of logcheck, which is due to be installed in the Debian FTP archive: logcheck-database_1.2.25_all.deb to pool/main/l/logcheck/logcheck-database_1.2.25_all.deb logcheck_1.2.25.dsc to pool/main/l/logcheck/logcheck_1.2.25.dsc logcheck_1.2.25.tar.gz to pool/main/l/logcheck/logcheck_1.2.25.tar.gz logcheck_1.2.25_all.deb to pool/main/l/logcheck/logcheck_1.2.25_all.deb logtail_1.2.25_all.deb to pool/main/l/logcheck/logtail_1.2.25_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 265176 at bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Todd Troxell <ttroxell at debian.org> (supplier of updated logcheck package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster at debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Friday, 13 Aug 2004 22:54:13 -0500 Source: logcheck Binary: logcheck logtail logcheck-database Architecture: source all Version: 1.2.25 Distribution: unstable Urgency: low Maintainer: Debian logcheck Team <logcheck-devel at lists.alioth.debian.org> Changed-By: Todd Troxell <ttroxell at debian.org> Description: logcheck - Mails anomalies in the system logfiles to the administrator logcheck-database - A database of system log rules for the use of log checkers logtail - Print log file lines that have not been read Closes: 193161 255932 259603 262327 264158 265176 265588 Changes: logcheck (1.2.25) unstable; urgency=low . todd: * Small rule updates for dhclient, ntp, bind, kernel, bonobo, qmail, proftpd, ntpd, gconf, dovecot, su, samba, postfix (Closes: #259603, #264158) * Add line to logcheck.postinst to remove header.txt on purge * Add check to exit if running script as root. eevans: * Added violations.ignore.d/logcheck-spamd rule, (Closes: #262327) maks: * Re-format NEWS.Debian into Debian changelog format (Closes: #255932) * Remove /var/state/logcheck from debian/logcheck.dirs. * Small rule updates for pdns, pop3d-ssl, postfix, scponly. * Ack woody security fix. (Closes: #193161) * Small rule updates for dhcpd, kernel, nagios, postfix, rsnapshot thanks to Peter Palfrader <weasel at debian.org>. * Add gps policy server rules. (Closes: #265176) * Fix port match in oidentd rules. (Closes: #265588) Files: 03047f6b2624f3767b8f0fa6f158865f 670 admin optional logcheck_1.2.25.dsc 6bbafe7f10b1fadcf159024d07ba94f0 79916 admin optional logcheck_1.2.25.tar.gz 2d8391aea6d41426fe144d493bd4bb4b 38584 admin optional logcheck_1.2.25_all.deb 8f8a2663fc61fab076b900164a6be8ea 47118 admin optional logcheck-database_1.2.25_all.deb e2b3c988fb0ff5b5e3f71ee36fbf4af1 22654 admin optional logtail_1.2.25_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBHX+h4u3oQ3FHP2YRAsPlAJwJ4U7YUiIt/IJnG0P05HqMXr70yQCdE2JD 7F4nsnZW3wofwJVsp3qRfGs=XcZt -----END PGP SIGNATURE-----