Monthly Archives: November 2009

NB SYN SUR UN PORT PARTICULIER

Exemple sur le port 80: tcpdump -ne dst port 80 and ‘tcp[13] & 2 == 2′ Pratique  pour detecter un SYN FLOOD

Posted in astuces, bash, linux, network, reseau | Leave a comment

STATS NOMBRE DE CONNEXION LINUX

Exemple sur le port 80 netstat -tan | grep ‘:80 ‘ | awk ‘{print $6}’ | sort | uniq -c

Posted in astuces, bash, linux | 1 Comment

ALERTE MAIL DANS /etc/hosts.deny

ALL: ALL :SPAWN echo “Service %d IP %a Utilisateur %c” | /bin/mail -s “Alerte tcpd” user@domain.fr : DENY

Posted in bash | Tagged | Leave a comment