Current time: 04-20-2024, 11:35 AM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] install fail2ban 0.8.2 -last version- in debian etch
Author Message
truzone Offline
Newbie
*

Posts: 7
Joined: May 2008
Reputation: 0
Post: #1
[HowTo] install fail2ban 0.8.2 -last version- in debian etch
Hello

If you have fail2ban installed by apt-get you have the 0.7.5 version, this version doesn't have PID file (important if you use the monit).

First purge fail2ban

Code:
# /etc/init.d/fail2ban stop
# aptitude purge fail2ban

We go to install the last version (0.8.2). In Debian is necessary run aptitude with the sid reposit so:

Code:
# vi /etc/apt/sources.list

change

Code:
deb http://ftp.fr.debian.org/debian/ etch main contrib non-free

to

Code:
deb http://ftp.fr.debian.org/debian/ sid main contrib non-free

save and exit

Code:
# aptitude update
# aptitude install fail2ban

with the install, will be upgraded the python-central

Code:
# vi /etc/apt/sources.list

change

Code:
deb http://ftp.fr.debian.org/debian/ sid main contrib non-free

to

Code:
deb http://ftp.fr.debian.org/debian/ etch main contrib non-free

Code:
# aptitude update

Open /etc/fail2ban/jail.conf

Code:
# vi /etc/fail2ban/jail.conf

change

Code:
enable = false

to

Code:
enable = true

at:

Code:
[apache]
[proftpd]
[postfix]
[couriersmtp]
[courierauth]
[sasl]

Save and exit.

Code:
# /etc/init.d/fail2ban start
(This post was last modified: 11-25-2008 03:10 AM by BeNe.)
05-20-2008 05:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[HowTo] install fail2ban 0.8.2 -last version- in debian etch - truzone - 05-20-2008 05:42 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)