Active defense: block network snooping with fail2ban

888u

Last update at :2024-05-05,Edit by888u

Fail2ban is a rare free tool for those who need to protect their servers. When some fools are trying to blast or use CC attacks on your SS, SMTP, FTP and other information, As long as your rules are set appropriately, you can effectively block them. Personally, I have never been able to figure out centos, so I’d better stick to ubuntu or debian:

Update first, no need to explain this:

apt-get update apt-get upgrade --show-upgraded One line of command completes the installation: apt-get install fail2ban

The configuration file is in the directory /etc/fail2ban/:

/etc/fail2ban/fail2ban.conf #fail2ban configuration file /etc/fail2ban/jail.conf #Block configuration file /etc/fail2ban/filter.d/ #Specific filtering rule file directory /etc/fail2ban/action.d/ #Directory for taking corresponding measures after specific filtering rules are detected Many parameters are actually included by default. All we have to do is set the enable attribute to true to start. Here are two articles recommended for your reference: http://drops.wooyun.org/tips/3029 http://netsecurity.51cto.com/art/201406/442562.htm

Recommended site searches: foreign free asp space, registered domain name query, Hong Kong hosting, Taiwan server rental, independent ip virtual host, dynamic ip server, php virtual host, high-defense server rental, com domain name price, Beijing virtual host rental ,

Active defense: block network snooping with fail2ban

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码