Much in the vein of the venerable Scapy library, I have decided to start a packet processing library that provides easy and useful abstractions of the Gopacket library for the purposes of quickly adding network analysis and processing into Go software.
The Base API is intended to export friendly and easy to use functions for many generic packet processing tasks.
The Primitives API is intended to provide a slightly lower level abstraction of the Gopacket library so that you don't need to repeatedly do things like iterating over available network interfaces, applying different packet processing filters, and searching for default network interfaces on a device.
- Add test suite
- When reading from pcap file and setting dns filter on interface there is no issue but program crashes without error message when reading from interface
- Improved logging on functions that use pcap.Handle to see associated interface
- Add packet relay functionality
- Implement a hard limit on packets read into memory unless written to file.
- Implement true concurrency, currently running ReadHttpTraffic in goroutine leads to program main event loop closing immediately
- GetDeviceInfo functions should not print the strings but should rather return formatted string