• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Some commands to check the Server when under DDOS attack

AnonyViet by AnonyViet
January 27, 2023
in Network
0

Denial of Service (DoS) attack can be described as an action that prevents legitimate users from accessing and using a certain service. It includes flooding the network, losing connection to the service… but the ultimate goal is that the server (Server) cannot meet the requests to use the service from the workstations (Client).

Join the channel Telegram of the AnonyViet 👉 Link 👈

Today I would like to share some commands to check the Server when under DDOS attack:

– Count the number of connections to Port 80:

netstat -n | grep :80 |wc -l

– Check the number of connections in the SYN_RECV state:

netstat -n | grep :80 | grep SYN_RECV|wc -l

– Show all connected IPs and the number of connections from each IP:

netstat -an|grep :80 |awk '{print $5}'|cut -d":" -f1|sort|uniq -c|sort -rn

– If you want to check which IP opens many SYNs, add:

netstat -an|grep :80|grep SYN |awk '{print $5}'|cut -d":" -f1|sort|uniq -c|sort -rn

– For servers with multiple IPs, to check which IP is being attacked:

netstat -plan | grep :80 | awk '{print $4}'| cut -d: -f1 |sort |uniq -c

– Show all connected IPs and the number of connections from each IP:

netstat -an | grep ':80' | awk '{print $5}' | sed s/'::ffff:'// | cut -d":" -f1 | sort | uniq -c

– Displays the number of connections per type

netstat -an | grep :80 | awk '{print $6}' | sort | uniq -c
61 ESTABLISHED
 13 FIN_WAIT1
 17 FIN_WAIT2
 1 LISTEN
 25 SYN_RECV
 298 TIME_WAIT

– Displays all connected IPs and the number of connections from each IP

watch "netstat -an | grep ':80' | awk '{print $5}' | sed s/'::ffff:'// | cut -d":" -f1 | sort | uniq -c"
watch "netstat -an | grep :80 | awk '{print $6}' | sort | uniq -c"

Once you have detected an IP with unusual signs, you can use CSF to block that IP.

The article achieved: 5/5 – (100 votes)

Tags: AttackcheckcommandsDDoSServer
Previous Post

How to download thumbnails of videos on YouTube

Next Post

Summary of famous hacker groups in the world [Phần 1]

AnonyViet

AnonyViet

Related Posts

TOP 10 AI không kiểm duyệt – AI Uncensored mới nhất
Network

TOP 10 AI không kiểm duyệt – AI Uncensored mới nhất

November 28, 2026
Vietnam static residential proxy: How to choose and use the service
Network

Vietnam static residential proxy: How to choose and use the service

November 26, 2026
SSHWATCH: Dashboard to see realtime VPS attacks using Honeypot
Network

SSHWATCH: Dashboard to see realtime VPS attacks using Honeypot

November 23, 2026
Purple Team: How to verify that the monitoring system can actually detect attacks
Network

Purple Team: How to verify that the monitoring system can actually detect attacks

November 23, 2026
Cách hạn chế Synology NAS bị Ransomware .L0CK3D: Cách khắc phục
Network

Cách hạn chế Synology NAS bị Ransomware .L0CK3D: Cách khắc phục

October 30, 2026
Instructions for updating PHP to avoid PHP2Shell
Network

Instructions for updating PHP to avoid PHP2Shell

October 22, 2026
Next Post
Summary of famous hacker groups in the world [Phần 1]

Summary of famous hacker groups in the world [Phần 1]

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted

Recent News

Co Con Suet Tre: Game to practice Vietnamese, English, Chinese pronunciation by voice

Co Con Suet Tre: Game to practice Vietnamese, English, Chinese pronunciation by voice

November 27, 2026
The truth about POCO X8s – What are the limitations behind the Snapdragon 7 Gen 4 chip that you need to know?

The truth about POCO X8s – What are the limitations behind the Snapdragon 7 Gen 4 chip that you need to know?

November 27, 2026
How to book train tickets using VNeID is extremely easy, you should know

How to book train tickets using VNeID is extremely easy, you should know

November 26, 2026
Vietnam static residential proxy: How to choose and use the service

Vietnam static residential proxy: How to choose and use the service

November 26, 2026
Co Con Suet Tre: Game to practice Vietnamese, English, Chinese pronunciation by voice

Co Con Suet Tre: Game to practice Vietnamese, English, Chinese pronunciation by voice

November 27, 2026
The truth about POCO X8s – What are the limitations behind the Snapdragon 7 Gen 4 chip that you need to know?

The truth about POCO X8s – What are the limitations behind the Snapdragon 7 Gen 4 chip that you need to know?

November 27, 2026
How to book train tickets using VNeID is extremely easy, you should know

How to book train tickets using VNeID is extremely easy, you should know

November 26, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Co Con Suet Tre: Game to practice Vietnamese, English, Chinese pronunciation by voice

Co Con Suet Tre: Game to practice Vietnamese, English, Chinese pronunciation by voice

November 27, 2026
The truth about POCO X8s – What are the limitations behind the Snapdragon 7 Gen 4 chip that you need to know?

The truth about POCO X8s – What are the limitations behind the Snapdragon 7 Gen 4 chip that you need to know?

November 27, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply