1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- blocksshd.conf 2006-11-21 09:02:00.000000000 -0500
+++ blocksshd.conf 2007-03-05 14:11:24.000000000 -0500
@@ -3,16 +3,16 @@
$cfg = {
os => 'linux', # Target OS - either linux or bsd
chain => 'blocksshd', # Name of iptables or pf chain
- logfile => '/var/log/secure', # Log file to monitor
+ logfile => '/var/log/messages', # Log file to monitor
logcheck => '10', # How often to check the log file
max_attempts => '4', # Max number of failures
timeout => '360', # Reset IP count if no activity after time out in seconds
- unblock => '1', # Enable unblocking
+ unblock => '0', # 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 => '/etc/blocksshd/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
+ send_email => '0', # Enable the sending of email notifications
email => 'root', # Email address to send notifications
mail => '/bin/mail', # Location of mail binary
iptables => '/sbin/iptables', # Location of iptables binary - only for Linux
|