Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Test and analysis of server protection against CC attacks

Shulou Source: shulou.com Published: 2022-05-31 14:31:27 10月04日 Update

This article mainly introduces the relevant knowledge of testing and analysis of server protection CC attack cases. The content is detailed and easy to understand, and the operation is simple and fast, so it has certain reference value. I believe everyone will gain something after reading this server protection CC attack case test and analysis article. Let's take a look at it.

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%.

3 Test summary

After several groups of tests, it can be seen that the CC protection module can protect against CC attacks normally and effectively, and in the case of high concurrency, the memory utilization increases by about 2%, which is in line with the expected effect.

This is the end of the article on "Test and Analysis of CC attack cases against Server Protection". Thank you for reading! I believe you all have a certain understanding of the knowledge of "test and analysis of server protection CC attack cases". If you want to learn more, you are welcome to follow the industry information channel.

Tags: Testing protection memory usage usage attacks modules instances servers analysis services knowledge operating systems hosts content applications programs articles systems applications Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Tech Info OPPO Reno Docker Shulou Technology