/[smeserver]/rpms/e-smith-openssh/sme8/e-smith-openssh-2.2.0-ssh_autoblock.patch
ViewVC logotype

Diff of /rpms/e-smith-openssh/sme8/e-smith-openssh-2.2.0-ssh_autoblock.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by burnat, Sat Apr 5 00:27:20 2014 UTC Revision 1.2 by charliebrady, Mon Apr 7 12:51:11 2014 UTC
# Line 8  Line 8 
8  +    $OUT .=<<"EOF";  +    $OUT .=<<"EOF";
9  +  +
10  +    # Use recent packets match to block SSH from sites generating  +    # Use recent packets match to block SSH from sites generating
11  +    # $abtries connections within $abtime seconds or $abtries2 in $abtime2  +    # $abtries connections within $abtime seconds
12  +    # Check/clear IP block status in /proc/net/ipt_recent/SSH  +    # Check/clear IP block status in /proc/net/ipt_recent/SSH
13  +    /sbin/iptables --new-chain SSH_Autoblock  +    /sbin/iptables --new-chain SSH_Autoblock
14  +    /sbin/iptables --append SSH_Autoblock -m recent --set --name SSH  +    /sbin/iptables --append SSH_Autoblock -m recent --set --name SSH


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed