fujiapple852 / trippy

A network diagnostic tool
https://trippy.cli.rs
Apache License 2.0
3.48k stars 73 forks source link

NAT detection for IPv4/UDP/Dublin #1216

Closed fujiapple852 closed 1 month ago

fujiapple852 commented 1 month ago

Closes #1104 Closes #1219

fujiapple852 commented 1 month ago

Cannot currently detect NAT at the very first hop.

fujiapple852 commented 1 month ago

Updated impl which now compares the expected UDP checksum vs the actual UDP checksum for the original datagram nested in the payload of the ICMP packet. This should allow detecting NAT for the 1st hop (when there is no previous hop checksum to compare with). Adds to the complexity a fair bit.