-
Notifications
You must be signed in to change notification settings - Fork 343
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
MTR -a and dest hostname resolving one IPv6 #510
Comments
mtr(8) reads:
if you with mtr are not being on the meet.google.com, then '-a meet.google.com' is terminated with totally correct 'invalid local address' message. |
@yvs2014 I think @paulofragoso is doing @paulofragoso : I am opposed to "guessing the cause of the error messages". A long time ago the DOS (3.11 I think. or was it 6.x?) command "rmdir" would "know" that if the OS gave an error, it MUST be that the directory didn't exist to begin with. So when you tried rmdir on a network drive, you'd get: "rmdir: directory doesn't exist", when you could clearly see the directory. Turns out it was a "permission denied" error and rmdir was written when that wasn't one of the possible return codes for the system call... So MTR reports what the OS tells us. If we implement a special case for this situation and end up getting this error later with a different cause, it is going to cause even bigger confusion. IMHO the "invalid local address" is 100% correct. You've provided an incorrect local address for what you're asking mtr to do. |
@rewolff is exactly this and I agree that all is correct but I think that one check between Many Thanks for attention! |
Hi Folks,
When I'm using mtg with
-a
and IPv4 to reach host name likemeet.google.com
it's reporting:because destination are using IPv6 from
gethostbyname
. Is possible change to more clear error and suggest to use -4? Or to use IPv4 fromgethostbyname
when using-a
with IPv4?Thanks,
Paulo.
The text was updated successfully, but these errors were encountered: