Anti-DDOS in Linux-Deflate

Source: Internet
Author: User
Article Title: Linux anti-DDOS-Deflate. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

DoS-Deflate is a free service for defending against and mitigating DDoS attacks. It uses netstat to monitor and track the IP addresses that create a large number of network connections. When detecting that a node has exceeded the preset limit, this program will be disabled by the active filter or IPTABLES.

Or block these IP addresses.

DDoS-Deflate installation and configuration

1. Installation

Wget http://www.inetbase.com/scripts/ddos/install.sh

Chmod 0700 install. sh

./Install. sh

2. Configuration

The configuration file is/usr/local/ddos. conf. The default configuration is as follows:

FREQ = 1

No _ of_connections = 150

APF_BAN = 1

KILL = 1

EMAIL_TO = "root"

Bank_period = 600

Ip address whitelist:/usr/local/ddos/ignore. ip. list

3. Uninstall

Wget http://www.inetbase.com/scripts/ddos/uninstall.ddos

Chmod 0700 uninstall. ddos

./Uninstall. ddos

Done!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.