În cazul unui atac de boţi cum pot vedea IP-urile?
netstat -nt

Cum afişez IP-urile unice TCP?
netstat -anp |grep ‘tcp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

Cum afişez IP-urile unice UDP?
netstat -anp |grep ‘udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

Cum banez un IP în tabela IP?
iptables -I INPUT -s 217.218.36.11 -j DROP
citat din http://www.submitsuite.ro/blog/mic-m...serverului-web