debian-releases/etch
Yaroslav Halchenko 2006-02-16 15:53:38 +00:00
parent 438e4edfd8
commit b00161f7ec
4 changed files with 12 additions and 3 deletions

4
debian/NEWS vendored
View File

@ -3,6 +3,8 @@ fail2ban (0.6.0-4) unstable; urgency=low
In this version the new section ApacheAttacks was introduced to ban IPs
which are found to run some known attack on the host. For now it captures
just awstats related attacks. Besides that to make it function the bug of
wrongly specified timeregexp for Apache's access.log file was fixed
wrongly specified timeregexp for Apache's access.log file was fixed.
Besides that group of log files has changed to be adm, and now they are
readable by the group
-- Yaroslav Halchenko <debian@onerussian.com> Fri, 10 Feb 2006 13:05:07 -0500

2
debian/changelog vendored
View File

@ -11,6 +11,8 @@ fail2ban (0.6.0-3.5) UNRELEASED; urgency=low
a webserver (awstats.pl as a try). This section stays split from Apache
since it is of different nature and might be not appropriate for some
users
* Forced owner/permissions of log file to be root:adm/640 in postinst and
logrotate (closes: #352053)
-- Yaroslav Halchenko <debian@onerussian.com> Mon, 16 Jan 2006 04:05:19 -0500

1
debian/logrotate vendored
View File

@ -6,4 +6,5 @@
postrotate
/etc/init.d/fail2ban restart >/dev/null
endscript
create 640 root adm
}

8
debian/postinst vendored
View File

@ -21,9 +21,13 @@ preversion=$2
case "$1" in
configure)
# To fix the bug in generated by previous version files permissions
LOG=/var/log/fail2ban.log
[ -f $LOG ] && chmod go-w $LOG
# also closes #352053
LOG=/var/log/fail2ban.log
touch $LOG
chown root:adm $LOG
chmod 640 $LOG
# Note regarding changed configuration file
if [ ! -z $preversion ] \
&& dpkg --compare-versions $preversion lt 0.5.4-5.14;