[-]
[+]
|
Changed |
blocksshd.spec
|
|
[-]
[+]
|
Added |
blocksshd-redhat-config.diff
^
|
@@ -0,0 +1,11 @@
+--- blocksshd-1.1/blocksshd.conf.orig 2008-01-21 16:58:44.000000000 +0100
++++ blocksshd-1.1/blocksshd.conf 2008-01-22 12:42:45.000000000 +0100
+@@ -10,7 +10,7 @@
+ unblock => '1', # Enable unblocking
+ unblock_timeout => '43200', # Time in seconds after which to unblock a blocked IP address
+ restore_blocked => '0', # Turn on checking for previously blocked IPs
+- log_ips => '/usr/local/etc/blocksshd.list', # Log file for blocked IPs
++ log_ips => '/var/log/blocksshd.list', # Log file for blocked IPs
+ pid_file => '/var/run/blocksshd.pid', # Location of PID file
+ send_email => '1', # Enable the sending of email notifications
+ email => 'root', # Email address to send notifications
|
[-]
[+]
|
Added |
blocksshd-redhat-init.diff
^
|
@@ -0,0 +1,18 @@
+--- blocksshd-1.1/init/blocksshd.orig 2008-01-22 12:45:13.000000000 +0100
++++ blocksshd-1.1/init/blocksshd 2008-01-22 12:46:03.000000000 +0100
+@@ -30,6 +30,7 @@
+ RETVAL=$?
+ echo
+ [ $RETVAL = 0 ] && touch /var/lock/subsys/blocksshd
++ $STARTCMD
+ return $RETVAL
+ ;;
+ stop)
+@@ -39,6 +40,7 @@
+ RETVAL=$?
+ echo
+ [ $RETVAL = 0 ] && rm -f /var/lock/subsys/blocksshd
++ $STOPCMD
+ ;;
+ reload)
+ $0 stop
|