New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaleway NAT no longer breaks traceroute #28

Closed
brmzkw opened this Issue Feb 21, 2018 · 6 comments

Comments

Projects
None yet
2 participants
@brmzkw
Copy link

brmzkw commented Feb 21, 2018

In the README you mention Scaleway having a broken NAT. They have been upgraded, and traceroute is fine now.

$> mtr google.com
 Host                                                                                                                                                                           Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 10.1.8.1                                                                                                                                                                     0.0%   278    2.0   2.4   1.2  20.2   2.7
 2. ???
 3. 10.1.94.96                                                                                                                                                                   0.0%   278    1.0   1.2   0.9   1.8   0.0
 4. ???
 5. 196-225-47-212.int.cloud.online.net                                                                                                                                          0.0%   278    1.0   1.1   0.9   1.7   0.0
 6. a9k2-49-infra-dc2.dc3.poneytelecom.eu                                                                                                                                        0.0%   278    1.5   1.4   0.9   1.8   0.0
 7. 195.154.3.214                                                                                                                                                                0.0%   278    1.9   1.9   1.3  11.0   0.9
 8. 108.170.244.193                                                                                                                                                              0.0%   278    1.5   1.7   1.3   2.2   0.0
 9. 66.249.95.103                                                                                                                                                                0.0%   278    1.8   1.7   1.3   2.2   0.0
10. par21s12-in-f14.1e100.net                                                                                                                                                    0.0%   278    1.8   1.6   1.3   2.1   0.0
@insomniacslk

This comment has been minimized.

Copy link
Owner

insomniacslk commented Feb 21, 2018

Thanks for reporting! I will have a look at it later today and adjust the documentation as appropriate

insomniacslk added a commit that referenced this issue Feb 22, 2018

Updated README regarding Scaleway's NAT
As suggested in #28 , Scaleway fixed their NAT setup
@insomniacslk

This comment has been minimized.

Copy link
Owner

insomniacslk commented Feb 22, 2018

I've updated the README in #29 . Thanks @brmzkw for reporting this and for people at Scaleway for fixing it :)

@brmzkw out of curiosity, can you share some insight about what was the issue? A misconfiguration or some special configuration?

@insomniacslk

This comment has been minimized.

@brmzkw

This comment has been minimized.

Copy link

brmzkw commented Feb 22, 2018

Sure,

The current NAT software that brings network to Scaleway clients is a home made software, built with DPDK. The code is not opensource, but it might be in a near future.

RFC 5508 was not correctly implemented, which has been fixed recently.

Traceroute sends IP messages with short TTL and excepts to receive ICMP error messages to know which hop could not handle the packet.

An ICMP error message contains data. These data contain the IP header of the packet which originated the error. A correct NAT implementation need to rewrite not only the IP addresses contained in the outer IP packet, but also the IP addresses contained inside the ICMP data.

@insomniacslk

This comment has been minimized.

Copy link
Owner

insomniacslk commented Feb 22, 2018

Thanks for the explanation!

-- an even happier Scaleway customer (yes, dublin-traceroute.net is hosted there :) )

@insomniacslk

This comment has been minimized.

Copy link
Owner

insomniacslk commented Feb 22, 2018

also nice to see that my troubleshooting on the scaleway forum was correct :)

I'm closing this issue since it's fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment