freebsd 6 deny ddos

2009-05-13 03:07:59来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

Yesterday, I have a test on FreeBSD 6 with synflooding. FreeBSD behaved very well but strange.
Though net.inet.tcp.syncookies is on by default, I set it to zero to disable syncookie, it seems that the FreeBSD was still using syncookie. I don't know if it's the normal operation. I'll do some dig into the source to see what will happen when set the MIB to 0.
After all, you should enable device polling before any other operations.

I've explored the source code. FreeBSD has implemented two mechanisms in the kernel, one is syncache, the other is syncookie. If you tuned syncookie on, the kernel will firstly find the matching entry in the syncache when received ACK packets, if no matching entry found, the kernel will do a check on the returned SN. If you turned the syncookie off, you will probably sufferring from the synflood (D)?DOS attack


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17902/showart_109921.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:mysql的启动问题

下一篇:3.9 pf 的 ftp的問題?(