Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does the server protect against CC attacks

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

Most people do not understand the knowledge points of this article "how the server protects against CC attacks", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can gain something after reading this article. Let's take a look at this "how servers protect against CC attacks" article.

1 Test environment

Target host: 192.168.7.130

Operating system: centos 6.7

Application: apache 2.2

Application: mysql 5.1

Test host: 192.168.7.129

Operating system: debian 6

Testing tool: webbench

2 Test steps

Open the protection module for concurrent testing

The memory usage before concurrent access is 301m, and the memory utilization rate is 16%.

Webbench-c 100-T10 http://192.168.7.130:81/login.php

If the above figure is successfully protected, the memory usage is 392m and the memory utilization rate is 20.8% after concurrent requests.

Close the protective module for stress test

Turn off the CC protection function. Before concurrent requests, the memory usage is 301m and the utilization rate is 16%

Webbench-c 100-T10 http://192.168.7.130:81/login.php

After concurrent requests, the memory usage is 352m and the utilization rate is 18.7%.

Turn on the protection module for high concurrency testing

Before concurrent requests, the memory usage was 364m, with a utilization rate of 19.4%.

Webbench-c 1000Must 10 http://192.168.7.130:81/login.php

After concurrent requests, the memory usage is 394m, with a utilization rate of 21%.

Turn off the protection module for high concurrency testing

Before concurrent requests, the memory usage is 350m and the utilization rate is 18.6%.

Webbench-c 1000Must 10 http://192.168.7.130:81/login.php

After concurrent requests, the memory usage is 377m and the utilization rate is 20%.

The above is about the content of this article on "how the server protects against CC attacks". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report