Prevent and Stop DoS or DDoS Attacks on Web Server (D)DOS-Deflate Ngăn chặn và Stop DoS hoặc DDoS tấn công trên Web Server (D) DOS-Deflate

All web servers been connected to the Internet subjected to DoS (Denial of Service) or DDoS (Distrubuted Denial of Service) attacks in some kind or another, where hackers or attackers launch large amount connections consistently and persistently to the server, and in advanced stage, distributed from multiple IP addresses or sources, in the hope to bring down the server or use up all network bandwidth and system resources to deny web pages serving or website not responding to legitimate visitors. Tất cả các máy chủ web được kết nối với mạng Internet phải chịu sự DoS (từ chối dịch vụ) hoặc DDoS (Distrubuted từ chối dịch vụ) các cuộc tấn công tại một số loại hay cách khác, nơi mà các hacker hay kẻ tấn công khởi động kết nối số tiền lớn nhất quán và liên tục đến máy chủ, và trong giai đoạn nâng cao , phân phát từ nhiều địa chỉ IP hoặc các nguồn, trong hy vọng để đưa xuống các máy chủ hoặc sử dụng lên tất cả các băng thông mạng và tài nguyên hệ thống để từ chối phục vụ các trang web hoặc trang web không đáp ứng cho khách truy cập hợp pháp.

There are plenty of ways to prevent, stop, fight and kill off DDoS attack, such as using firewall. Có rất nhiều cách để ngăn ngừa, ngăn chặn, đấu tranh và giết ra cuộc tấn công DDoS, chẳng hạn như sử dụng tường lửa. A low cost, and probably free method is by using software based firewall or filtering service. Một chi phí thấp, và phương pháp có thể là miễn phí là sử dụng phần mềm tường lửa hoặc lọc dựa trên dịch vụ. (D)DoS-Deflate is a free open source Unix/Linux script by MediaLayer that automatically mitigate (D)DoS attacks. (D) DoS-Deflate là một mã nguồn mở miễn phí Unix / Linux script by MediaLayer tự động giảm nhẹ (D) DoS tấn công. It claims to be the best, free, open source solution to protect servers against some of the most excruciating DDoS attacks. Nó tuyên bố là tốt nhất, miễn phí, mã nguồn mở giải pháp để bảo vệ máy chủ chống lại một số dư dội hầu hết các cuộc tấn công DDoS.

(D)DoS-Deflate (D) DoS-Deflate script basically monitors and tracks the IP addresses are sending and establishing large amount of TCP network connections such as mass emailing, DoS pings, HTTP requests) by using “netstat” command, which is the symptom of a denial of service attack. kịch bản cơ bản giám sát và theo dõi các địa chỉ IP đang gửi và thiết lập số lượng lớn các kết nối mạng TCP như gửi email tin đại chúng, DoS ping, các yêu cầu HTTP) bằng cách sử dụng "netstat" command, đó là triệu chứng của một cuộc tấn công từ chối dịch vụ. When it detects number of connections from a single node that exceeds certain preset limit, the script will automatically uses APF or IPTABLES to ban and block the IPs. Khi phát hiện số lượng kết nối từ một nút duy nhất vượt quá giới hạn nhất định cài sẵn, kịch bản sẽ tự động sử dụng APF hoặc iptables cấm và chặn IP. Depending on the configuration, the banned IP addresses would be unbanned using APF or IPTABLES (only works on APF v 0.96 or better). Tùy thuộc vào cấu hình, các địa chỉ IP bị cấm sử dụng sẽ được unbanned APF hoặc iptables (chỉ hoạt động trên APF v 0,96 hoặc tốt hơn).

Installation and setup of (D)DOS-Deflate on the server is extremely easy. Cài đặt và thiết lập của (D) DOS-Deflate trên máy chủ là vô cùng dễ dàng. Simply login as root by open SSH secure shell access to the server, and run the the following commands one by one: Đơn giản chỉ cần đăng nhập như là người chủ bằng cách mở truy cập SSH vỏ an toàn cho máy chủ, và chạy các lệnh sau cái một:

wget http://www.inetbase.com/scripts/ddos/install.sh
chmod 0700 install.sh
./install.sh

To uninstall the (D)DOS-Deflate, run the following commands one by one instead: Để gỡ bỏ cài đặt D () DOS-Deflate, chạy các lệnh sau cái một thay vì:

wget http://www.inetbase.com/scripts/ddos/uninstall.ddos
chmod 0700 uninstall.ddos
./uninstall.ddos

The configuration file for (D)DOS-Deflate is ddos.conf , and by default it will have the following values: Các tập tin cấu hình cho (D) DOS-Deflate là ddos.conf, và theo mặc định nó sẽ có giá trị sau:

FREQ=1 FREQ = 1
NO_OF_CONNECTIONS=50 NO_OF_CONNECTIONS = 50
APF_BAN=1 APF_BAN = 1
KILL=1 KILL = 1
EMAIL_TO=”root” EMAIL_TO = "root"
BAN_PERIOD=600 BAN_PERIOD = 600

Users can change any of these settings to suit the different need or usage pattern of different servers. Người dùng có thể thay đổi bất kỳ các thiết lập này cho phù hợp với nhu cầu khác nhau hoặc mẫu sử dụng các máy chủ khác nhau. It's also possible to whitelist and permanently unblock (never ban) IP addresses by listing them in /usr/local/ddos/ignore.ip.list file. Cũng có thể vào danh sách trắng và bỏ cấm vĩnh viễn (không bao giờ ban) danh sách các địa chỉ IP của chúng trong thư mục / usr / local / DDoS / ignore.ip.list tập tin. If you plan to execute and run the script interactively, users can set KILL=0 so that any bad IPs detected are not banned. Nếu bạn có kế hoạch thực hiện và chạy kịch bản tương tác, người dùng có thể thiết lập KILL = 0 sao cho bất cứ IP xấu phát hiện là không cấm.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.


4 Responses to “Prevent and Stop DoS or DDoS Attacks on Web Server (D)DOS-Deflate” 4 Responses to "Ngăn chặn và Stop DoS hoặc DDoS tấn công trên Web Server (D) DOS-Deflate"

  1. kintes kintes
    October 31st, 2009 19:38 Ngày 31 Tháng 10 2009 19:38
    4 4

    Great! To lớn!
    http://www.mydigitallife.info http://www.mydigitallife.info

  2. Tech Freek Công nghệ Freek
    April 8th, 2009 16:49 08 Tháng Tư 2009 16:49
    3 3

    I really doubt this will work against high Attacks. Tôi thực sự nghi ngờ này sẽ làm việc chống tấn công cao.
    I guess opting for any third party Anti DDOS service will be better. Tôi đoán chọn cho bất kỳ dịch vụ của bên thứ ba chống DDOS sẽ được tốt hơn.

  3. Code4Gold Code4Gold
    March 30th, 2009 09:38 Ngày 30 tháng 3 năm 2009 09:38
    2 2

    Great information. Great thông tin. There is a DDOS running right now of mostly South American IP's. Có một DDOS chạy ngay bây giờ của hầu hết là IP của Nam Mỹ. Somebody must have put a trojan on spanish language sites. Somebody phải có đặt một Trojan trên các trang web ngôn ngữ tây ban nha.

  4. 13 Tips to Protect Your Wordpress Blog | Thewirds 13 Mẹo để Bảo vệ Wordpress Blog của bạn | Thewirds
    March 9th, 2009 13:20 09 tháng 3 năm 2009 13:20
    1 1

    [...] My Digital Life [...] [...] My Digital Life [...]

Leave a Reply Để lại một trả lời

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Bạn có thể sử dụng các thẻ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q <strike> <strong>

Subscribe to comments feature has been disabled. Thuê bao với ý kiến đều đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo mới nhất đăng ý kiến, đăng ký với My Digital Life Comments RSS feed My Digital Life kiến RSS feed or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong email tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm đến các Điều khoản Điều

how to prevent DDoS làm thế nào để ngăn chặn DDoS - -- prevent ddos attack ngăn chặn cuộc tấn công DDoS - -- iptables ddos iptables DDoS - -- how to stop ddos làm thế nào để ngăn chặn DDoS - -- how to stop DoS attacks làm thế nào để ngăn chặn các cuộc tấn công DoS - -- stop ddos attack ngừng tấn công DDoS - -- how to stop DDOS attacks làm thế nào để ngăn chặn các cuộc tấn công DDOS - -- how to stop a DDOS attack làm thế nào để ngăn chặn một cuộc tấn công DDOS - -- ddos deflate DDoS thâu bớt - -- iptables dos iptables dos - -- ddos iptables DDoS iptables - -- prevent ddos ngăn chặn DDoS - -- how to prevent ddos attacks làm thế nào để ngăn chặn các cuộc tấn công DDoS - -- how to stop dos attack làm thế nào để ngăn chặn cuộc tấn công dos - -- ddos.conf ddos.conf - -- how to prevent a ddos attack làm thế nào để ngăn chặn một cuộc tấn công DDoS - -- how to prevent dos attacks làm thế nào để ngăn chặn các cuộc tấn công dos - -- stop ddos dừng DDoS - -- (D)DoS-Deflate (D) DoS-Deflate - -- iptables ddos attack iptables tấn công DDoS - -- how to prevent ddos attack làm thế nào để ngăn chặn cuộc tấn công DDoS - -- DDoS-Deflate DDoS-Deflate - -- kill ddos atacks giết atacks DDoS - -- how to stop ddos attack làm thế nào để ngăn chặn cuộc tấn công DDoS - -- iptables dos attack iptables dos tấn công - -- stop dos attack dos ngừng tấn công - -- how to stop a dos attack làm thế nào để ngăn chặn một cuộc tấn công dos - -- stopping ddos attacks ngừng các cuộc tấn công DDoS - -- how to stop dos làm thế nào để ngăn chặn dos - -- linux stop DDoS linux dừng DDoS - -- stopping a DDoS dừng một DDoS - -- stopping dos attacks ngừng các cuộc tấn công dos - -- DOS-Deflate - Mitigate (DDOS attacks Banned the following ip addresses on connections DOS-Deflate - Giảm nhẹ (DDOS tấn công các địa chỉ IP bị cấm sau đây trên các kết nối - -- how to prevent a dos attack làm thế nào để ngăn chặn một cuộc tấn công dos - -- stopping ddos dừng DDoS - -- anti ddos iptables chống DDoS iptables - -- block ddos iptables khối DDoS iptables - -- apf ddos apf DDoS - -- ddos deflate commands DDoS thâu bớt lệnh - -- Windows Firewall Script block DDOS Windows Firewall Script chặn DDOS - -- ddos stop DDoS dừng - -- iptables dos iptables dos - -- iptables DoS protect webserver iptables DoS bảo vệ máy chủ web - -- how to stop DoS / DDoS at router làm thế nào để ngăn chặn DoS / DDoS tại router - -- centos install Dos Deflate centos cài đặt Dos Deflate - -- iptables block DOS iptables chặn DOS - -- /usr/local/ddos/ignore.ip.list / usr / local / DDoS / ignore.ip.list - -- counter a DDoS attack on Linux Số lượt truy cập một cuộc tấn công DDoS trên Linux - -- centos stop ddos centos dừng DDoS - -- windows DDoS-Deflate cửa sổ DDoS-Deflate - --