| Crates.io | tracert |
| lib.rs | tracert |
| version | 0.9.0 |
| created_at | 2022-04-24 14:44:43.841025+00 |
| updated_at | 2025-04-27 04:50:11.898601+00 |
| description | Cross-platform library for traceroute and ping |
| homepage | |
| repository | https://github.com/shellrow/tracert |
| max_upload_size | |
| id | 573159 |
| size | 107,968 |
Cross-platform library for traceroute and ping. Written in Rust.
Add tracert to your dependencies
[dependencies]
tracert = "0.9"
You may need to set up firewall rules that allow ICMP Time-to-live Exceeded and ICMP Destination (Port) Unreachable packets to be received.
netsh example
netsh advfirewall firewall add rule name="All ICMP v4" dir=in action=allow protocol=icmpv4:any,any
netsh advfirewall firewall add rule name="All ICMP v6" dir=in action=allow protocol=icmpv6:any,any
This library requires the ability to create raw sockets. Execute with administrator privileges.