Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How does the server protect against CC attacks

Shulou Source: shulou.com Published: 2022-05-31 14:30:51 09月30日 Update

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.

Tags: Memory protection usage usage testing content modules servers attacks services operating systems hosts applications articles steps knowledge programs articles systems applications Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Docker Apple Huawei Linux