如何保护Node.JSnetworkingsoket服务器免受连接炸弹?

任何人都可以请求连接到由端口80上启动的由Node.JS编写的实时应用程序服务器。

这意味着任何人都可以发送大量的curl请求来炸弹我的套接字服务器导致连接溢出。 任何方式来检测curl请求,并拒绝他们?

谢谢。

只是取决于您尝试阻止的DDoStypes。 对于大多数情况下HAProxy或IPTables应该是足够的:
HAProxy http://www.serverphorums.com/read.php?10,452070

IPTables: http : //blog.bodhizazen.net/linux/prevent-dos-with-iptables/