Your message dated Sun, 21 Aug 2005 11:49:40 -0400
with message-id <[EMAIL PROTECTED]>
and subject line bugs are closed in -3
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; 17 Aug 2005 06:03:31 +0000
>From [EMAIL PROTECTED] Tue Aug 16 23:03:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from twinlark.arctic.org [207.7.145.18] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E5H1O-0008H0-00; Tue, 16 Aug 2005 23:03:30 -0700
Received: (qmail 12972 invoked from network); 17 Aug 2005 06:03:30 -0000
Received: from unknown (HELO localhost) (127.0.0.1)
  by 127.0.0.1 with ESMTPS (AES256-SHA); 17 Aug 2005 06:03:30 -0000
Date: Tue, 16 Aug 2005 23:03:30 -0700 (PDT)
From: dean gaudet <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: use /dev/log for syslog logging
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: fail2ban
Version: 0.5.2-1

if you ask fail2ban to use SYSLOG for logging it'll try to log to 
localhost:514 ... which isn't typically enabled on a debian system.

the below patch fixes this to use /dev/log, and allows the user to 
optionally change the syslog-facility in the config file (i prefer to see 
the log messages in facility 4 alongside my ssh messages).

-dean

--- fail2ban.py.orig    2005-08-16 22:43:53.000000000 -0700
+++ fail2ban.py 2005-08-16 22:58:50.000000000 -0700
@@ -175,6 +175,7 @@
        # Options
        optionValues = (["bool", "background", False],
                                        ["str", "logtargets", 
"/var/log/fail2ban.log"],
+                                       ["int", "syslog-facility", 1],
                                        ["bool", "debug", False],
                                        ["str", "pidlock", 
"/var/run/fail2ban.pid"],
                                        ["int", "maxretry", 3],
@@ -241,7 +242,7 @@
                if target == "STDERR":
                        hdlr = logging.StreamHandler(sys.stderr)
                elif target == "SYSLOG":
-                       hdlr = logging.handlers.SysLogHandler()
+                       hdlr = logging.handlers.SysLogHandler("/dev/log", 
conf["syslog-facility"])
                else:
                        # Target should be a file
                        try:

---------------------------------------
Received: (at 323543-done) by bugs.debian.org; 21 Aug 2005 15:50:10 +0000
>From [EMAIL PROTECTED] Sun Aug 21 08:50:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from washoe.rutgers.edu [165.230.95.67] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E6s5K-0007pz-00; Sun, 21 Aug 2005 08:50:10 -0700
Received: from yoh by washoe.rutgers.edu with local (Exim 4.52)
        id 1E6s4q-0000Ik-8m; Sun, 21 Aug 2005 11:49:40 -0400
Date: Sun, 21 Aug 2005 11:49:40 -0400
From: Yaroslav Halchenko <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED]
Subject: bugs are closed in -3
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua"
Content-Disposition: inline
X-Image-Url: http://www.onerussian.com/img/yoh.png
X-PGP-Key: http://www.onerussian.com/gpg-yoh.asc
X-fingerprint: 3BB6 E124 0643 A615 6F00  6854 8D11 4563 75C0 24C8
User-Agent: mutt-ng devel-20050619 (Debian)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2


--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Bugs are closed in -3 (which was skipped from upload sequence)

fail2ban (0.5.2-3) unstable; urgency=3Dlow

  * Fixed errata in /etc/default/fail2ban (closes: #323451)
  * Fixed handling of SYSLOG logging target. Now it can log to any syslog
    target and facility as directed by the config (revisions 160:166 patch
    from syslog branch) (closes: #323543)
  * Included upstream README and TODO
  * Mentioned in README.Debian that apache section is disabled by default
  * Adjusted man pages to cross-reference each other
  * Moved fail2ban man page under section 8 as in upstream
  * Introduced findtime configuration variable to control the lifetime
    of caught "failed" log entries (closes: #323840)

--=20
                                  .-.
=3D------------------------------   /v\  ----------------------------=3D
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]



--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDCKKTjRFFY3XAJMgRAnSmAKCRVOxrmIIbQv5C8lEYVt16CdrLoQCbBhFZ
5PEGm7v6M8Bg7V4FNrQlm/Q=
=HKdk
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to