NIC Packet Trace is a lightweight application that captures and displays network packets on a specified network interface. The project integrates Go and C using cgo to handle packet processing, providing an efficient solution for monitoring network traffic.
- Packet Capture: Traces all incoming and outgoing packets on the specified network interface.
- Lightweight: Minimal resource usage, designed for quick and efficient packet analysis.
- Go: Download from golang.org
- libpcap: Make sure you have the libpcap library installed. Installation commands may vary based on your OS.
git clone https://github.com/Masum-Osman/nic_packet_trace.git
cd nic_packet_traceCompile the application using the following command:
go buildTo start packet capturing, run the application with the desired network interface:
./nic_packet_trace <network-interface>The application captures packets for a specified interface and displays their lengths and hexadecimal representations in the terminal.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries, please reach out to Masum Osman.