netstat -np | grep SYN_RECV | awk '{print $5}' | cut -d. -f1-4 | cut -d: -f1 | sort -n | uniq -c | sort -n

Yukarıdaki komutu ssh a yazıp bak. Syn attack yapan ipleri gösterir.