Logoj0ke.net Open Build Service > Projects > internetx > blocksshd > blocksshd-suse-config.diff
Sign Up | Log In

File blocksshd-suse-config.diff of Package blocksshd (Revision ed7c501278219bd5ec152730ab486d4e)

Currently displaying revision ed7c501278219bd5ec152730ab486d4e, show latest

x
 
1
--- blocksshd-1.3/blocksshd.conf.orig   2008-09-05 11:38:30.000000000 +0200
2
+++ blocksshd-1.3/blocksshd.conf    2008-09-05 11:41:43.000000000 +0200
3
@@ -3,22 +3,22 @@
4
 $cfg = {
5
     os              => 'linux',                       # Target OS - either linux or bsd
6
     chain           => 'blocksshd',                   # Name of iptables or pf chain
7
-    logfile         => '/var/log/secure',             # Log file to monitor
8
+    logfile         => '/var/log/messages',           # Log file to monitor
9
     logcheck        => '10',                          # How often to check the log file
10
     max_attempts    => '4',                           # Max number of failures
11
     timeout         => '360',                         # Reset IP count if no activity after time out in seconds
12
     unblock         => '1',                           # Enable unblocking
13
     unblock_timeout => '43200',                       # Time in seconds after which to unblock a blocked IP address
14
     restore_blocked => '0',                           # Turn on checking for previously blocked IPs
15
-    log_ips         => '/etc/blocksshd.list',         # Log file for blocked IPs
16
+    log_ips         => '/var/log/blocksshd.list',     # Log file for blocked IPs
17
     pid_file        => '/var/run/blocksshd.pid',      # Location of PID file
18
     send_email      => '1',                           # Enable the sending of email notifications
19
     email           => 'root',                        # Email address to send notifications
20
-    mail            => '/bin/mail',                   # Location of mail binary
21
+    mail            => '/usr/bin/mail',               # Location of mail binary
22
     email_whois_lookup => '1',                        # enable whois lookup of the blocked ip addres in the sent email
23
     whois           => '/usr/bin/whois',              # location of the whois binary
24
-    sed             => '/bin/sed',                    # location of the sed binary
25
-    iptables        => '/sbin/iptables',              # Location of iptables binary - only for Linux
26
+    sed             => '/usr/bin/sed',                # location of the sed binary
27
+    iptables        => '/usr/sbin/iptables',          # Location of iptables binary - only for Linux
28
     pfctl           => '/sbin/pfctl',                 # Location of pfctl binary - only for BSD
29
     whitelist       => [qw{
30
                         127.0.0.1/32
31