您好,欢迎来到 - 67学习网 - http://www.67xuexi.com !

Ubuntu/Linux服务器安全配置

摘要:* Restarting authentication failure monitor fail2ban。。.done.$ sudo iptables -LChain INPUT (policy DROP)target prot opt source destinationfail2ban-ssh-ddos tcp -- anywhere anywhere multiport dports sshfail2ban-ssh tcp -- anywhere anywhere multiport dports ssh。。。Chain fail2ban-ssh (1 references)target prot opt source destinationRETURN all -- anywhere anywhereChain fail2ban-ssh-ddos (1 references)target prot opt source destinationRETURN all -- anywhere anywhere在任何时间,你都可以使用sudo iptables -L
Ubuntu/Linux服务器安全配置,标签:服务器,操作系统教程大全,http://www.67xuexi.com

  * Restarting authentication failure monitor fail2ban

  。。.done.

  $ sudo iptables -L

  Chain INPUT (policy DROP)

  target prot opt source destination

  fail2ban-ssh-ddos tcp -- anywhere anywhere multiport dports ssh

  fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh

  。。。

  Chain fail2ban-ssh (1 references)

  target prot opt source destination

  RETURN all -- anywhere anywhere

  Chain fail2ban-ssh-ddos (1 references)

  target prot opt source destination

  RETURN all -- anywhere anywhere

  在任何时间,你都可以使用sudo iptables -L 来列出你的规则,随后列出所有当前禁止的 IP。此时,Fail2ban正在处理两个恶意的用户。

  Banned IPs

  DROP all -- 204.50.33.22 anywhere

  DROP all -- 195.128.126.114 anywhere

  保持最新更新

  你可能现在拥有一个已经锁定并且准备投入使用的服务器,然而这并不是你安全之旅的终点。保持最新更新(并且总是首先在非产品环境下测试),总是关闭你不需要的端口,定期检查你的日志,并且由内而外了解你的服务器。

上一页  [1] [2] [3] 


Tag:服务器_操作系统教程服务器,操作系统教程大全电脑教程 - 服务器_操作系统教程