possible SYN flooding on port 80. Sending cookies.### Syn Flooding °ø°Ý ½Ã ¹ß»ýÇÏ´Â ·Î±× ÀÌ´Ù.
Syn Flooding °ø°ÝÀ̶õ?
Dos°ø°ÝÀ¸·Î SYNÆ®·¡ÇÈÀ» ¹ß»ý½ÃÄÑ ¼¹ö °¡¿ë·® ¸®¼Ò½º¸¦ ¼Ò¸ðÇÏ´Â °ø°ÝÀÌ´Ù.
tcp Åë½ÅÀº 3 way handshacke·Î Åë½ÅÀ» ÇÑ´Ù
¼¹ö´Â ACK ÆÐŶÀ» ±â´Ù¸®´Â SYN_RECVIED »óÅ·ΠµÈ´Ù.
SYNÆÐŶÀÌ ¹é·Î±×Å¥¿¡ ÀúÀåµÇ´Ù°¡ °á±¹ ²Ë Â÷°ÔµÇ¾î ¿¬°áÀ» °ÅºÎÇÏ´Â »óÅ°¡ µÈ´Ù.
#### Syn Flooding °ø°Ý È®ÀÎ
# netstat -anp | grep -i syn_recv
tcp 0 0 61.250.171.252:28004 94.9.83.63:3072 SYN_RECV
tcp 0 0 61.250.171.252:28004 3.7.244.2:3072 SYN_RECV
tcp 0 0 61.250.171.252:28004 48.32.206.32:3072 SYN_RECV
#### Syn Flooding °ø°Ý ¹æ¾î
# cat /proc/sys/net/ipv4/tcp_max_syn_backlog (¹é·Î±×Å¥ »çÀÌÁî UP)
1024
- 1024 ÀÌ»óÀ¸·Î ¼³Á¤
# cat /proc/sys/net/ipv4/tcp_syncookies (syncookies °ª º¯°æ)
0 -> 1
Ãâó: https://jjinisystem.tistory.com/10 [IT BOX]