From: <los...@us...> - 2007-12-14 21:34:25
|
Revision: 629 http://fail2ban.svn.sourceforge.net/fail2ban/?rev=629&view=rev Author: lostcontrol Date: 2007-12-14 13:33:33 -0800 (Fri, 14 Dec 2007) Log Message: ----------- - Moved socket to /var/run/fail2ban. Modified Paths: -------------- branches/FAIL2BAN-0_8/client/csocket.py branches/FAIL2BAN-0_8/config/fail2ban.conf Modified: branches/FAIL2BAN-0_8/client/csocket.py =================================================================== --- branches/FAIL2BAN-0_8/client/csocket.py 2007-12-14 21:19:00 UTC (rev 628) +++ branches/FAIL2BAN-0_8/client/csocket.py 2007-12-14 21:33:33 UTC (rev 629) @@ -32,7 +32,7 @@ END_STRING = "<F2B_END_COMMAND>" - def __init__(self, sock = "/tmp/fail2ban.sock"): + def __init__(self, sock = "/var/run/fail2ban/fail2ban.sock"): # Create an INET, STREAMing socket #self.csock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.__csock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) Modified: branches/FAIL2BAN-0_8/config/fail2ban.conf =================================================================== --- branches/FAIL2BAN-0_8/config/fail2ban.conf 2007-12-14 21:19:00 UTC (rev 628) +++ branches/FAIL2BAN-0_8/config/fail2ban.conf 2007-12-14 21:33:33 UTC (rev 629) @@ -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/fail2ban.sock # -socket = /tmp/fail2ban.sock +socket = /var/run/fail2ban/fail2ban.sock This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |