mirror of https://github.com/fail2ban/fail2ban
* Use /var/run to keep socket file (closes: #425746)
parent
a9ecd98ffe
commit
f58421eabf
|
@ -6,6 +6,7 @@ fail2ban (0.8.0-3~pre2) unstable; urgency=low
|
||||||
#426050). Thanks Roderick Schertler.
|
#426050). Thanks Roderick Schertler.
|
||||||
* Added a filter pam_generic to catch any login errors.
|
* Added a filter pam_generic to catch any login errors.
|
||||||
* Added iptables-allports.
|
* 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
|
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 19 Jun 2007 23:04:02 -0400
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,7 @@ filter = pam-generic
|
||||||
# port actually must be irrelevant but lets leave it all for some possible uses
|
# port actually must be irrelevant but lets leave it all for some possible uses
|
||||||
port = all
|
port = all
|
||||||
banaction = iptables-allports
|
banaction = iptables-allports
|
||||||
|
port = anyport
|
||||||
logpath = /var/log/auth.log
|
logpath = /var/log/auth.log
|
||||||
maxretry = 6
|
maxretry = 6
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
00_mail-whois-lines
|
00_mail-whois-lines
|
||||||
|
00_var_run_socket
|
||||||
00_HOST_ignoreregex
|
00_HOST_ignoreregex
|
||||||
00_daemon_pids
|
00_daemon_pids
|
||||||
10_dbts_manpages
|
10_dbts_manpages
|
||||||
|
|
Loading…
Reference in New Issue