Scapy is an interactive packet manipulation program that enables you to sniff, mangle, send network packets ; test equipments ; probe and discover networks ; quickly develop new protocols. It can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery.
hg clone http://bb.secdev.org/scapy
hg clone ssh://firstname.lastname@example.org/secdev/scapy
wget -O scapy.zip scapy.net chmod +x scapy.zip ./scapy.zip