Skip to content

Traceroute program made from scratch using ICMP and RAW sockets

Notifications You must be signed in to change notification settings

iarnold885113/Traceroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Traceroute

Traceroute program made from scratch using ICMP and RAW sockets

How to run:

  1. Compile with: gcc traceroute.c -o traceroute
  2. To run use: sudo ./traceroute "website'. For example if we want to visit yahoo.com we would use: sudo ./traceroute www.yahoo.com MUST RUN WITH SUDO SINCE USING RAW SOCKETS

Output:

For each stop in the route the program will display

  1. How many hops it took to get there
  2. ICMP message type
  3. Time it took to get there
  4. IP adrress of the host at that stop
  5. Name of the host at that stop if it's available

About

Traceroute program made from scratch using ICMP and RAW sockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages