Codebase list fail2ban / debian/0.5.4-5post1
added a notification regarding configuration file Yaroslav Halchenko 18 years ago
2 changed file(s) with 28 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 fail2ban (0.5.4-5post1) unstable; urgency=low
1
2 * Added a notification regarding the importance of 0.5.4-5 change of
3 failregex in the config file
4
5 -- Yaroslav Halchenko <debian@onerussian.com> Mon, 3 Oct 2005 22:26:28 -1000
6
07 fail2ban (0.5.4-5) unstable; urgency=low
18
29 * Made failregex'es more specific to don't allow usernames to be used as a
1515 # for details, see http://www.debian.org/doc/debian-policy/ or
1616 # the debian-policy package
1717 #
18 preversion=$2
1819
1920 case "$1" in
2021 configure)
2122 # To fix the bug in generated by previous version files permissions
2223 LOG=/var/log/fail2ban.log
2324 [ -f $LOG ] && chmod go-w $LOG
25
26 # Note regarding changed configuration file
27 if [ ! -z $preversion ] \
28 && dpkg --compare-versions $preversion lt 0.5.4-5;
29 then
30 cat <<EOF
31 WARNING!
32 Configuration file /etc/fail2ban.conf, failregex configuration parameter
33 specificly, were changed in 0.5.4-5 to close reported security breach.
34
35 Unless configuration file (or corresponding failregex'es) gets updated,
36 security breach is not closed and corresponding warning will be reported
37 by the fail2ban (in the log files).
38
39 Please review the configuration file and make appropriate changes.
40 ENJOY!
41
42 EOF
43 fi
44
2445 ;;
2546
2647 abort-upgrade|abort-remove|abort-deconfigure)