Re: [Bug 1797872] Re: ntpd keeps Soliciting pool server

2018-10-19 Thread Nathan Stratton Treadway
On Fri, Oct 19, 2018 at 14:36:35 -, Manuel López-Ibáñez wrote:
> $ timedatectl status
>  Network time on: yes
> NTP synchronized: yes
> 
> So it seems it is synchronized, it just re-tries too frequently.

(I am not sure what exactly timedatectl looks at when checking the
status of ntpd, but the fact that in the ntpq output all your servers
show a stratum of 16 and a reach of 0 means that ntpd is defintely not
synchronized to anything

When it's functioning properly, your pool server stratums should show up
somewhere between 1 and 3 or 4, and the reach will be an octal flag
showing progressively more bits turned on as responses are received from
the server in question [e.g. 1, 3, 7, 17, 37... on until 377, assuming
that there aren't any lost packets along the way].)


Nathan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1797872

Title:
  ntpd keeps Soliciting pool server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1797872/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1797872] Re: ntpd keeps Soliciting pool server

2018-10-19 Thread Nathan Stratton Treadway
On Fri, Oct 19, 2018 at 14:36:35 -, Manuel López-Ibáñez wrote:
> Both of them work. I don't understand how the last command can work and
> I may still be behind a firewall.

"ntpdate -d" sends packets using an unprivileged source port, so
a firewall could allow those packets but block outgoing packets from
ntpd itself, which use a source port of 123

Nathan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1797872

Title:
  ntpd keeps Soliciting pool server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1797872/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs