大网数据广告活动
服务器运维问答

Is a DDoS possible if the port being attacked is closed?

· 52CE 我爱测

Let's assume a hypothetical situation in which port 50000 of a machine was being bombarded with UDP packets. However, port 50000 on said machine isn't actually open (i.e. the machine is not listening on port 50000 ). Would such a…

问题原文

原帖链接 · Ash · CC BY-SA 3.0

Let's assume a hypothetical situation in which port 50000 of a machine was being bombarded with UDP packets. However, port 50000 on said machine isn't actually open (i.e. the machine is not listening on port 50000).

Would such a bombardment of packets result in a DDoS?

If so, why? If the port is closed, shouldn't the packets simply "bounce off" the machine as if nothing has happened?

已采纳解答

原帖链接 · Andrew · CC BY-SA 3.0

Yes. Packets destined for your host will still be routed to your machine and your machine still has to process those requests. Even if the 'port is closed', the Kernel/Network Stack still have to validate the packet, the headers, the check-sum and then figure out that it doesn't support the request. In some cases, this also results in the output of a packet trying to tell the remote system that you're not accepting data on that port; combine this with many requests per second, and you could end up adding to the DDoS on your own box.

The only preventive measures are to load balance the system behind multiple layers to distribute the requests, or contact an upstream provider who can drop the traffic before it gets to your box.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-03-20)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。