Skip to content

amhoba/nettrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetTrace

NetTrace is a simple packet analyzer for Linux, written in C++.

The application currently runs as a CLI tool and provides core packet sniffing and analysis capabilities across multiple network layers.


Features

  • Capture packets live from a network interface

  • Analyze packets from a PCAP file

  • Parse packet headers across the following layers:

    • Data Link Layer
    • Network Layer
    • Transport Layer

Installation

Run the installation script:

./install.sh

Make sure the script has execute permissions and that you have the required privileges to capture packets.


Usage

Interactive Mode

nettrace -i

Runs NetTrace in interactive CLI mode.

Capture on a Specific Interface

nettrace -d <interface>

Starts packet capture on the specified network interface (for example, eth0 or wlan0).


Platform

  • OS: Linux
  • Language: C++

Notes

  • Root or appropriate capabilities may be required for live packet capture.
  • Designed as a lightweight educational and debugging tool.

About

NetTrace is a simple packet analyzer for Linux, written in C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors