[Bug 863815] New: NTP should timeout immediately with ipv6 address when getting ICMP Port Unreachable Answer
https://bugzilla.novell.com/show_bug.cgi?id=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c0 Summary: NTP should timeout immediately with ipv6 address when getting ICMP Port Unreachable Answer 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: mmaher@suse.com QAContact: qa-bugs@suse.de CC: bwiedemann@suse.com Found By: Development Blocker: No When ipv6 is configured and the NTP deamon wants to reach the public NTP servers, one of our Endpoints sends a ICMP Port Unreachable Package. The NTP deamon just print this message out "Recieved no usable packet from [ipv6 addr]" and try the operation again after a few seconds. So it took up to tree-four Minutes when finally the NTP timeouted completely. -- 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=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |max@suse.com |ovo.novell.com | -- 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=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c1 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mmaher@suse.com --- Comment #1 from Reinhard Max <max@suse.com> 2014-02-13 18:22:34 CET --- Can you post the configuration, so that I can try to reproduce this? -- 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=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c2 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mmaher@suse.com | --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-02-14 09:41:02 CET --- Steps To Reproduce: 1) have a host in R&D network with IPv6 addr and default-route 2) run sntp 2a01:4f8:192:3106::2 Actual Results: timeouts with any external IPv6 addr Expected Result: should return as fast as it does after using this workaround: ip -6 route del default -- 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=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c3 --- Comment #3 from Reinhard Max <max@suse.com> 2014-02-14 10:46:16 CET --- ntp doesn't have any code to receive and deal with ICMP messages, so this affects unreachable IPv4 addresses as well. I am just checking with upstream whether this behaviour is intentional. Given for how long the ntp code has been around, I guess is not just an oversight. As a workaround we could lower the timeout for each packet (default is 68 seconds), but sntp tries each IP address five times (i.e. it waits for five timeouts), before it moves on to the next address or fails finally, so even with -t1 it'll take at least five seconds. Unfortunately this repetition does not seem to be controllable from the command line. I think it'd be better if it looped five times over the IP list instead of trying each one five times before moving on to the next one. -- 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=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c4 --- Comment #4 from Reinhard Max <max@suse.com> 2014-02-14 11:48:15 CET --- Adding the functionality turned out to be simpler than I thought, update is on the way... -- 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=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c5 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Reinhard Max <max@suse.com> 2014-02-14 12:45:24 CET --- Fixed. BTW, upstreaming the patch probably doesn't make much sense since the current development release takes a different approach. It queries all specified servers at once and has a default timeout of only five seconds. -- 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=863815 https://bugzilla.novell.com/show_bug.cgi?id=863815#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-02-14 15:00:11 CET --- This is an autogenerated message for OBS integration: This bug (863815) was mentioned in https://build.opensuse.org/request/show/222347 Factory / ntp -- 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