Skip to content

cerebnismus/network-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Tools for network monitoring ping, polling, and traceroot. These tools measure network latency, jitter, and packet loss.

  • Tested on macOSX Darwin 21.6 x86_64
  • Tested on Red Hat EL 9.3 x86_64
  • Ensure you have gcc and make installed on your system.
  1. Clone the repository and Build the tools:
    $ git clone https://github.com/cerebnismus/networkmon.git
    $ cd networkmon
    $ make
    $ make
    $ ./build/icmp 8.8.8.8 -c 16
    $ ./build/pinger 8.8.8.8 -c 16
    $ sudo ./build/traceroot 8.8.8.8
Notes about Jitter, Packet Loss, and Network Latency etc.
  • Ideally, jitter should be below 30ms, and packet loss should be no more than 1%.

  • Network latency shouldn't exceed 150 ms one-way (300 ms return).

  • Jitter results from network congestion, timing drift, and route changes.

  • Sources: TechTarget, Obkio Blog

  • Monitoring Network Traffic:

$ sudo tcpdump -X -s0 -p icmp
$ sudo tshark -f "icmp"
License

This project is licensed under the MIT License. See the LICENSE file for details.