Discovered scapy[1]. Quote: "It is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more." Nice. Sadly, the documentation lacks an API reference. ____________________ 1. http://www.secdev.org/projects/scapy/