> Why wasn't ntp available for them? How often does this happen in the wild?

this can happen when you have a remote station with temporally no reception.
E.G. our station have a sanity check for the time and will not start if the 
date is
not set manually.

jm2c
________________________________________
Von: busybox [[email protected]] im Auftrag von Guillermo Rodriguez 
Garcia [[email protected]]
Gesendet: Montag, 31. August 2020 09:53
An: Sergey Ponomarev
Cc: busybox
Betreff: Re: [PATCH 2/4] httpd: Don't add Date header to response

Hi,

El sáb., 29 ago. 2020 a las 21:37, Sergey Ponomarev
(<[email protected]>) escribió:
>
> > I have seen clients set the local date from there when ntp was not 
> > available.
>
> I'm just curious, could you please provide more details. What was the type of 
> clients? Embedded devices or something else.

Embedded devices.

> Why wasn't ntp available for them? How often does this happen in the wild?

Not sure. Some examples:

https://www.snbforums.com/threads/ntp-blocked-alternatives-to-ntpd-for-updating-time.46541/page-3#post-404882
https://askubuntu.com/questions/1035525/set-date-and-time-from-http-header-in-router-with-curl-or-wget

> Can clients fetch the date from some website on the internet?
> Anyways this is a hack but if someone really needs and control webserver then 
> it they can use a CGI script:

Well, that's the problem; this only works if you control *both* the
server (so you can setup a script) and the client.

But clients that you don't control may just assume that the Date
header is present (since it is mandated by RFC2616) and disabling this
would break them.

Guillermo Rodriguez Garcia
[email protected]
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to