Skip to content

A lightweight real-time packet sniffer for capturing, filtering, and analyzing network traffic with minimal overhead.

License

Notifications You must be signed in to change notification settings

chrinovicmu/netHex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NetHex : Network Diagnosis and Packet Sniffer

Overview

This is a lightweight, high-performance network packet capture and analysis tool written in C, designed to intercept, examine network traffic, and support real time packet filtering for sniffing purposes and many more to come...

Project Status: Work in Progress

Current State: The project is undergoing continuous improvements and refinement.

Features

  • Live network interface concurrent packet capture
  • IPv4 and IPv6 support
  • Support for multiple network protocols (TCP, UDP, ICMP)
  • Configurable packet filtering
  • packet information such as destination, source ip address and timestamp
  • Hex representation of packet payload

Prerequisites

  • libpcap development libraries
  • GCC compiler with C11 support
  • Linux OS
  • GNU Make version 4.3

Dependencies

  • libpcap
  • Standard C libraries

Installation

Clone the repository : git clone https://github.com/ChrinovicMu/Pack-Sniff.git

Navigate to Directory

cd Pack-Sniff

Compilation

make build 

Usage

for IPv4

make run PF="<protocol>" 

for IPv6

make run PF="ip6 <protocol>"

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Disclaimer

This tool is for educational and network diagnostic purposes. Always ensure you have proper authorization before capturing network traffic.

Contact

If you notice any potential bugs and gave suggestions for improvements, Please feel free to contact me through my contact links on My Website

About

A lightweight real-time packet sniffer for capturing, filtering, and analyzing network traffic with minimal overhead.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •