* Use /var/run to keep socket file (closes: #425746)

pull/3/head
Yaroslav Halchenko 2007-07-05 17:12:17 +00:00
parent a9ecd98ffe
commit f58421eabf
4 changed files with 23 additions and 0 deletions

1
debian/changelog vendored
View File

@ -6,6 +6,7 @@ fail2ban (0.8.0-3~pre2) unstable; urgency=low
#426050). Thanks Roderick Schertler.
* Added a filter pam_generic to catch any login errors.
* Added iptables-allports.
* Use /var/run to keep socket file (closes: #425746)
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 19 Jun 2007 23:04:02 -0400

1
debian/jail.conf vendored
View File

@ -97,6 +97,7 @@ filter = pam-generic
# port actually must be irrelevant but lets leave it all for some possible uses
port = all
banaction = iptables-allports
port = anyport
logpath = /var/log/auth.log
maxretry = 6

20
debian/patches/00_var_run_socket.dpatch vendored Executable file
View File

@ -0,0 +1,20 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 00_var_run_socket.dpatch by Yaroslav Halchenko <debian@onerussian.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: to close 425746: move socket under /var/run
@DPATCH@
diff -urNad trunk~/config/fail2ban.conf trunk/config/fail2ban.conf
--- trunk~/config/fail2ban.conf 2007-05-05 21:30:21.000000000 -0400
+++ trunk/config/fail2ban.conf 2007-07-03 18:21:52.000000000 -0400
@@ -28,7 +28,7 @@
# Notes.: Set the socket file. This is used to communicate with the daemon. Do
# not remove this file when Fail2ban runs. It will not be possible to
# communicate with the server afterwards.
-# Values: FILE Default: /tmp/fail2ban.sock
+# Values: FILE Default: /var/run/fail2ban.sock
#
-socket = /tmp/fail2ban.sock
+socket = /var/run/fail2ban.sock

View File

@ -1,4 +1,5 @@
00_mail-whois-lines
00_var_run_socket
00_HOST_ignoreregex
00_daemon_pids
10_dbts_manpages