Interactive packet manipulation tool for network packet crafting and analysis
Scapy: interactive packet manipulation tool
scapy
$ scapy
$ scapy -c "IP(dst='8.8.8.8')/ICMP()"
$ scapy -c "pkts = sniff(iface='en0', count=10); pkts.show()"