[Bug 267087] Re: fail2ban configuration ambiguous

Sybren Stüvel sybren at stuvel.eu
Wed Mar 18 11:38:10 UTC 2009


This is what I have:

sybren at zebra:~$ apt-cache show fail2ban
Package: fail2ban
Priority: optional
Section: universe/net
Installed-Size: 600
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
Original-Maintainer: Yaroslav Halchenko <debian at onerussian.com>
Architecture: all
Version: 0.8.2-2
Depends: lsb-base (>= 2.0-7), python (>= 2.4), python-central (>= 0.6.1)
Recommends: iptables, whois
Suggests: mailx, python-gamin
Filename: pool/universe/f/fail2ban/fail2ban_0.8.2-2_all.deb
Size: 82390
MD5sum: aef235514f893bcfe2314410c5a2c069
SHA1: 915dc6d4b956e27b7565b5b0be91eadda461b10f
SHA256: 2dd2523aee82b90d8c0900314caf8110b24eb39e778eb202ba1ed3dd5520d780
Description: bans IPs that cause multiple authentication errors
 Monitors log files (e.g. /var/log/auth.log,
 /var/log/apache/access.log) and temporarily or persistently bans
 failure-prone addresses by updating existing firewall rules. The
 software was completely rewritten at version 0.7.0 and now allows
 easy specification of different actions to be taken such as to ban an
 IP using iptables or hostsdeny rules, or simply to send a
 notification email. Currently, by default, supports ssh/apache/vsftpd
 but configuration can be easily extended for monitoring any other ASCII
 file. All filters and actions are given in the config files, thus
 fail2ban can be adopted to be used with a variety of files and
 firewalls.
Homepage: http://www.fail2ban.org
Python-Version: current
Bugs: mailto:ubuntu-users at lists.ubuntu.com
Origin: Ubuntu

sybren at zebra:~$ sudo apt-get install fail2ban
Reading package lists... Done
Building dependency tree
Reading state information... Done
fail2ban is already the newest version.

It's strange, as http://packages.ubuntu.com/hardy/all/fail2ban/filelist
doesn't list /etc/fail2ban.conf but my local package does, and both have
the same version. I've cleared all packages from /var/cache/apt/archives
and reinstalled:

root at zebra:/etc# apt-get install --reinstall fail2ban
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 23 not upgraded.
Need to get 82.4kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 http://uk.archive.ubuntu.com hardy/universe fail2ban 0.8.2-2 [82.4kB]
Fetched 82.4kB in 0s (165kB/s)
(Reading database ... 120575 files and directories currently installed.)
Preparing to replace fail2ban 0.8.2-2 (using .../fail2ban_0.8.2-2_all.deb) ...
Unpacking replacement fail2ban ...
Setting up fail2ban (0.8.2-2) ...

root at zebra:/etc# dpkg -L fail2ban | grep fail2ban.conf
/etc/fail2ban/fail2ban.conf
/etc/fail2ban.conf

But still it lists /etc/fail2ban.conf as part of the fail2ban package.
Removing and purging the package, then installing it again solved the
problem. It's a mystery to me how this file could still be listed as
part of the package.

-- 
fail2ban configuration ambiguous
https://bugs.launchpad.net/bugs/267087
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list