Search
j0ke.net Open Build Service
>
Projects
>
internetx
>
blocksshd
> blocksshd-suse-config.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File blocksshd-suse-config.diff of Package blocksshd (Revision 3)
Currently displaying revision
3
,
show latest
--- blocksshd-1.1/blocksshd.conf.orig 2008-01-21 16:58:44.000000000 +0100 +++ blocksshd-1.1/blocksshd.conf 2008-01-21 16:59:18.000000000 +0100 @@ -3,22 +3,22 @@ $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_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 - mail => '/bin/mail', # Location of mail binary + mail => '/usr/bin/mail', # Location of mail binary email_whois_lookup => '1', # enable whois lookup of the blocked ip addres in the sent email whois => '/usr/bin/whois', # location of the whois binary - sed => '/bin/sed', # location of the sed binary - iptables => '/sbin/iptables', # Location of iptables binary - only for Linux + sed => '/usr/bin/sed', # location of the sed binary + iptables => '/usr/sbin/iptables', # Location of iptables binary - only for Linux pfctl => '/sbin/pfctl', # Location of pfctl binary - only for BSD whitelist => [qw{ 127.0.0.1/32