Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Doing a "traceroute" to a destination host, output the path, and find the slowest host.

Since traceroute is not heavily depending on performance (networking time is the most cost), I choose Python for quicker implementation than golang.

I did not fully implement the checksum part myself but referred to some articles and algorithms. I think there might be a better library to do checksum in python but I didn't find a good one in a short time.

Dependency

  • python (2 and 3 both works)
  • root (SUID won't work for scripts; without root permission there will be an error message "You need to be root to run this program!")
  • pytest

Run:

pip3 install -r requirements.txt

Run

Example:

sudo python3 mytraceroute.py www.google.com

Test

sudo python3 -m pytest --capture=sys

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages