Re: ntpd still fails to notice unreachable server

2020-09-05 Thread Otto Moerbeek
On Fri, Sep 04, 2020 at 11:17:40PM +0200, Christian Weisgerber wrote: > Otto Moerbeek: > > > This takes the observed issue into account, > -snip- > > This works for my test case of a single peer and the two scenarios of > "can't send query" and "port unreachable". > > I notice that both cases

Re: ntpd still fails to notice unreachable server

2020-09-04 Thread Christian Weisgerber
Otto Moerbeek: > This takes the observed issue into account, -snip- This works for my test case of a single peer and the two scenarios of "can't send query" and "port unreachable". I notice that both cases are handled very differently: * Can't send query: ntpd keeps retrying with a fast poll

Re: ntpd still fails to notice unreachable server

2020-09-03 Thread Otto Moerbeek
On Thu, Sep 03, 2020 at 02:33:05PM +0200, Otto Moerbeek wrote: > On Thu, Sep 03, 2020 at 02:02:36PM +0200, Christian Weisgerber wrote: > > > Otto Moerbeek: > > > > > Currently testing this. > > > > For "port unreachable" replies, this caused ntpd to become unsynced, but > > the peer still

Re: ntpd still fails to notice unreachable server

2020-09-03 Thread Otto Moerbeek
On Thu, Sep 03, 2020 at 02:02:36PM +0200, Christian Weisgerber wrote: > Otto Moerbeek: > > > Currently testing this. > > For "port unreachable" replies, this caused ntpd to become unsynced, but > the peer still remains valid. Hmm, it looks like we need to reduce trustlevel as well for the

Re: ntpd still fails to notice unreachable server

2020-09-03 Thread Christian Weisgerber
Otto Moerbeek: > Currently testing this. For "port unreachable" replies, this caused ntpd to become unsynced, but the peer still remains valid. 1/1 peers valid, clock unsynced peer wt tl st next poll offset delay jitter

Re: ntpd still fails to notice unreachable server

2020-09-02 Thread Otto Moerbeek
On Tue, Sep 01, 2020 at 07:58:44PM +0200, Otto Moerbeek wrote: > On Tue, Sep 01, 2020 at 06:33:34PM +0200, Christian Weisgerber wrote: > > > Even after otto@'s commit in -current... > > > > If no replies are received for a while due to connectivity issues > > go into unsynced mode. The

Re: ntpd still fails to notice unreachable server

2020-09-01 Thread Otto Moerbeek
On Tue, Sep 01, 2020 at 06:33:34PM +0200, Christian Weisgerber wrote: > Even after otto@'s commit in -current... > > If no replies are received for a while due to connectivity issues > go into unsynced mode. The existing code to check if we're unsycned > is only done on receiving an ntp

ntpd still fails to notice unreachable server

2020-09-01 Thread Christian Weisgerber
Even after otto@'s commit in -current... If no replies are received for a while due to connectivity issues go into unsynced mode. The existing code to check if we're unsycned is only done on receiving an ntp packet which does not happen if there are connectivity issues. ... ntpd can