Skip to content

ayyc808/ICMP_Ping_Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

ICMP Pinger - Lab 4

DESCRIPTION

A python ICMP Ping app that sends echo requests, measures rount trip time (RTT), and reports packet loss stats

REQUIREMENTS

-Python 3 -Admin (root) privileges for raw sockets

TO RUN IT

On Windows

  • Right click your VSCode then select Run as Administrator
  • Run the icmp_ping.py

On macOS

  • Run by using sudo python3 icmp_ping.py
  • You should see the response ping message
  • Ctrl-C to stop running

TESTING THE HOST

Uncomment the desired host in the code for pinging:

Host Location
127.0.0.1 Localhost
google.com North America
bbc.co.uk Europe
yahoo.co.jp Asia
news24.com Africa

About

A python ICMP Ping app client implementation that uses ICMP echo request and reply messages with raw sockets. It also measures the round trip time, reports packet losses, and network latency across hosts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages