Speed Test


bmon :


note : check portmap service is running on server.

showmount -e <IP du serveur NFS>


netstat -lnptu

netcat mini web server

while true; do nc -l -p 8080 < index.html; done

while true; do echo "<pre>$(ps aux)</pre>" | nc -l 8080; done

netcat : test network speed

    • 1st computer : listen on port 5096

nc -v -v -l -n -p 5096 >/dev/null

    • 2nd computer:

time yes|nc -v -v -n 5096 >/dev/null

find a calculator and enter what you get at rcvd on the server. Multiply by 8 and divide by the time you see on your client.


coté serveur :

iperf -s

coté client :

iperf -c ip-de-la-machine-serveur


tcpdump -i eth0 port 22

Dump tcpdump pour analyse avec wireshark ensuite

tcpdump -i <interface> -s 65535 -w dump-for-wireshark


iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -p tcp -i eth0 --dport ssh -j ACCEPT iptables -A INPUT -p udp --dport 137 -j ACCEPT iptables -A INPUT -p udp --dport 138 -j ACCEPT iptables -A INPUT -p tcp --dport 139 -j ACCEPT iptables -A INPUT -p tcp --dport 445 -j ACCEPT iptables -A INPUT -p udp --dport 445 -j ACCEPT iptables -P INPUT DROP iptables -I INPUT 2 -i lo -j ACCEPT

setup Network

    • modprobe sis900 read modules.conf and load lib, see /var/log/messages for errors

    • ifup eth0 start network interface(s)

    • ifconfig eth0 configure / show config of network interface(s)

    • dhclient start network dhcp client

    • service network _start/stop_* start/stop network (find and call rc.? network script )

    • rmmod sis900 unload lib driver sis900.o

    • insmod sis900 load lib driver sis900.o