-
Notifications
You must be signed in to change notification settings - Fork 0
Re-implementation of traceroute for a computer networking course
License
qtf0x/traceroute
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Programming Project 4 - Traceroute Author: Vincent Marias <vmarias@mines.edu> Simple version of the "traceroute" utility. Using RAW sockets, we build custom datagrams and pass them directly to the link layer. By manually setting the time-to-live in the IPv4 header, we can send ICMP Echo Requests to each of the hops along the route to a destination address. Each time an ICMP TTL Exceeded datagram arrives, we increment the TTL by 1 and resend. By recording the source address of each response, we can trace the route of all the hops our datagram takes as it travels to the desintation IP address. Usage: cd /DIRECTORY/CONTAINING/vmarias.tgz tar -zxf vmarias.tgz cd vmarias make sudo ./traceroute -d [address] -v [log level]
About
Re-implementation of traceroute for a computer networking course