Changes

From SME Server
Jump to navigationJump to search
21 bytes added ,  20:01, 24 June 2013
Line 64: Line 64:     
===Use Fail2ban===
 
===Use Fail2ban===
*List all jails
+
====List all jails====
 
  [root@sme8 ~]# fail2ban-client status  
 
  [root@sme8 ~]# fail2ban-client status  
 
  Status
 
  Status
Line 70: Line 70:  
  `- Jail list: http-overflows, http-noscript, http-auth, sogo, pam-generic, ssh-ddos, http-scan, ssh, qpsmtpd, recidive
 
  `- Jail list: http-overflows, http-noscript, http-auth, sogo, pam-generic, ssh-ddos, http-scan, ssh, qpsmtpd, recidive
   −
*List IP banned from a specific jail
+
====List IP banned from a specific jail====
 
  [root@sme8 ~]# fail2ban-client status ssh
 
  [root@sme8 ~]# fail2ban-client status ssh
 
choose the specific jail with the command above which enumerate the Jail-list.
 
choose the specific jail with the command above which enumerate the Jail-list.
   −
*Play with a script which list How many ip are banned from all jails
+
====Play with a script which list How many ip are banned from all jails====
    
  nano /root/checklist_ban
 
  nano /root/checklist_ban

Navigation menu