[Bug 876521] New: problems with ping6 address resolution
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c0 Summary: problems with ping6 address resolution Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: per@computer.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 Seems to me that something weird has happened to ping6 (and/or the address resolution): a) Factory, 64bit, looks good. per@airbus:~> ping6 www.clcommunications.ch PING www.clcommunications.ch(2001:8e0:2010:1fd::1:e049) 56 data bytes b) Factory, 64bit, not good. per@airbus:~> ping6 clcommunications.ch PING clcommunications.ch(5f8f:3cfa:2001:8e0:2010:1fd::) 56 data bytes
From 2a00:c38::1:0:f1 icmp_seq=1 Destination unreachable: No route From 2a00:c38::1:0:f1 icmp_seq=2 Destination unreachable: No route
where does this address "5f8f:3cfa:2001:8e0:2010:1fd::" come from? c) openSUSE 12.3, 64bit, looks good. per@toshiba1:~> ping6 clcommunications.ch PING clcommunications.ch(2001:8e0:2010:1fd::1:e049) 56 data bytes dig www.clcommunications.ch aaaa ;; ANSWER SECTION: www.clcommunications.ch. 86338 IN CNAME clcommunications.ch. clcommunications.ch. 86338 IN AAAA 2001:8e0:2010:1fd::1:e049 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com --- Comment #1 from Marcus Meissner <meissner@suse.com> 2014-05-06 13:26:57 UTC --- part of the address still seems to be there (2001:8e0:2010:1fd::) so, some offset seems to be wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c2 --- Comment #2 from Marcus Meissner <meissner@suse.com> 2014-05-06 16:11:04 UTC --- getaddrinfo() already seems to return the incorrect data in ping6.c ... for some reason. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c3 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |schwab@suse.com |ovo.novell.com | --- Comment #3 from Marcus Meissner <meissner@suse.com> 2014-05-06 16:16:30 UTC --- $ ping6 www.heise.de PING www.heise.de(c163:9055:2a02:2e0:3fe:1001:7777:772e) 56 data bytes $ dig aaaa www.heise.de www.heise.de. 2781 IN AAAA 2a02:2e0:3fe:1001:7777:772e:2:85 $ ping6 2a02:2e0:3fe:1001:7777:772e:2:85 PING 2a02:2e0:3fe:1001:7777:772e:2:85(2a02:2e0:3fe:1001:7777:772e:2:85) 56 data bytes 64 bytes from 2a02:2e0:3fe:1001:7777:772e:2:85: icmp_seq=1 ttl=55 time=6.11 ms ^C But: $ telnet www.heise.de 80 Trying 2a02:2e0:3fe:1001:7777:772e:2:85... ... works ... gdb ping6 (gdb) list 911 hints.ai_family = AF_INET6; 912 #ifdef USE_IDN 913 hints.ai_flags = AI_IDN; 914 #endif 915 gai = getaddrinfo(target, NULL, &hints, &ai); 916 if (gai) { 917 fprintf(stderr, "unknown host\n"); 918 exit(2); 919 } 920 (gdb) print *(struct sockaddr_in6*)ai->ai_addr $7 = {sin6_family = 10, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 = "\301c\220U*\002\002\340\003\376\020\001www.", __u6_addr16 = {25537, 21904, 554, 57346, 65027, 272, 30583, 11895}, __u6_addr32 = {1435526081, 3758228010, 17890819, 779581303}}}, sin6_scope_id = 0} (gdb) print target $8 = 0x7fffffffe7e6 "www.heise.de" (gdb) print /x *(struct sockaddr_in6*)ai->ai_addr $9 = {sin6_family = 0xa, sin6_port = 0x0, sin6_flowinfo = 0x0, sin6_addr = {__in6_u = {__u6_addr8 = {0xc1, 0x63, 0x90, 0x55, 0x2a, 0x2, 0x2, 0xe0, 0x3, 0xfe, 0x10, 0x1, 0x77, 0x77, 0x77, 0x2e}, __u6_addr16 = {0x63c1, 0x5590, 0x22a, 0xe002, 0xfe03, 0x110, 0x7777, 0x2e77}, __u6_addr32 = {0x559063c1, 0xe002022a, 0x110fe03, 0x2e777777}}}, sin6_scope_id = 0x0} (gdb) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c4 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|schwab@suse.com |ms@suse.com --- Comment #4 from Andreas Schwab <schwab@suse.com> 2014-05-07 11:12:51 CEST --- getaddrinfo is working fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c5 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ms@suse.com |schwab@suse.com --- Comment #5 from Andreas Schwab <schwab@suse.com> 2014-05-07 11:36:08 CEST --- No, it doesn't. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-05-07 18:00:23 CEST --- This is an autogenerated message for OBS integration: This bug (876521) was mentioned in https://build.opensuse.org/request/show/232955 Factory / glibc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c10 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Andreas Schwab <schwab@suse.com> 2014-05-26 10:50:33 CEST --- Fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876521 https://bugzilla.novell.com/show_bug.cgi?id=876521#c11 --- Comment #11 from Per Jessen <per@computer.org> 2014-05-26 09:13:41 UTC --- I don't know if this was meant to be available in Factory, but I have just installed Factory this morning, problem persists: # ping6 www.clcommunications.ch PING www.clcommunications.ch(5f8f:3cfa:2001:8e0:2010:1fd::) 56 data bytes # ping6 clcommunications.ch PING clcommunications.ch(5f8f:3cfa:2001:8e0:2010:1fd::) 56 data bytes -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com