Design and Implementation of a Packet Sniffing Library
Olaniyi Abiodun Ayeni, Elijah Oyekunle, Omoyele A. Odeniyi · International Journal of Intelligent Computing Research · 2021
This research presents a cross-platform, extensible packet sniffing library that provides an easy-to-use Application Programming Interface (API) for use in developing network applications.Our motivation for this research is the fact that there are numerous packet processing frameworks in use today, and providing support for these frameworks introduces additional complexity into the work of the application developer, especially when numerous operating systems have to be supported.Specific objective of this research is to design and implement an easy-to-use library that can help with integrating various packet processing frameworks based on common APIs into various applications to run on any operating system.This system is implemented using the Go programming language due to its native support for concurrency, memory safety, highperformance networking and multiprocessing features and runtime efficiency.It provides support for reading live from network devices, and also offline reading from files.It also provides an extensible API for getting statistics about the packet sniffing performance in real time.A major contribution to knowledge is to allow application developers to integrate various packet sniffing frameworks into their applications across various operating system platforms easily