NICMx / Jool

SIIT and NAT64 for Linux
GNU General Public License v2.0
320 stars 66 forks source link

traceroute is incorrect (when transiting Jool NAT64) #355

Closed cvmiller closed 3 years ago

cvmiller commented 3 years ago

When using jool as NAT64 traceroute6 to IPv4-only sites are odd, and unhelpful

$ traceroute6 www.gvpl.ca
traceroute to www.gvpl.ca (64:ff9b::6816:3069) from 2607:c000:8011:fd50:7414:f3d3:30d:510e, port 33434, from port 56580, 30 hops max, 60 bytes packets
 1  2607:c000:8011:fd50::1 (2607:c000:8011:fd50::1)  2.261 ms  2.188 ms  2.046 ms 
 2  64:ff9b::6816:3069 (64:ff9b::6816:3069)  2.900 ms  2.862 ms  2.950 ms 
 3  64:ff9b::6816:3069 (64:ff9b::6816:3069)  3.439 ms  2.991 ms  2.916 ms 
 4  64:ff9b::6816:3069 (64:ff9b::6816:3069)  32.941 ms  278.717 ms  32.432 ms 
 5  64:ff9b::6816:3069 (64:ff9b::6816:3069)  278.557 ms  33.051 ms  33.758 ms 
 6  64:ff9b::6816:3069 (64:ff9b::6816:3069)  35.174 ms  33.925 ms  42.911 ms 
 7  64:ff9b::6816:3069 (64:ff9b::6816:3069)  34.297 ms  33.190 ms  33.160 ms

Expected to see the different IPv4 addresses (in DNS64 format) and DNS names of the hops.

Using jool kmod version: 4.14.209+3.5.7-2 On OpenWrt version: 19.07.6 Using Cloudflare DNS64 2606:4700:4700::64

ydahhrk commented 3 years ago

Try

jool --global --update --source-icmpv6-errors-better 1

Then redo the traceroute.

cvmiller commented 3 years ago

That works nicely.

Thanks. Closing issue.