deep-packet-inspection
NFStream: a Flexible Network Data Analysis Framework.
Provide easy access to forming, and sending custom Ethernet frame, ARP messages, IPv4/6 packets, and TCP/UDP Segments, as well as doing deep packet inspection on these protocols