Re: Origins of DATE command

markd@mira.net.au Mon, 15 July 1996 04:09 UTC

Received: from ietf.cnri.reston.va.us by IETF.CNRI.Reston.VA.US id aa05192; 15 Jul 96 0:09 EDT
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa05188; 15 Jul 96 0:09 EDT
Received: from PHEASANT.ACADEM.COM by CNRI.Reston.VA.US id aa00971; 15 Jul 96 0:09 EDT
Received: from academ.com (root@ACADEM.COM [198.137.249.2]) by pheasant.academ.com (8.7.5/8.6.9) with ESMTP id XAA05656 for <ietf-nntp@PHEASANT.ACADEM.COM>; Sun, 14 Jul 1996 23:08:57 -0500
Received: from eplet.mira.net.au (eplet.mira.net.au [203.9.190.17]) by academ.com (8.7.5/8.7.1) with ESMTP id XAA02163 for <ietf-nntp@academ.com>; Sun, 14 Jul 1996 23:08:54 -0500 (CDT)
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: markd@mira.net.au
Received: from bushwire.mira.net.au (bushwire.mira.net.au [203.9.190.24]) by eplet.mira.net.au (8.7.5/8.7.3) with SMTP id OAA18797 for <ietf-nntp@academ.com>; Mon, 15 Jul 1996 14:08:45 +1000 (EST)
Received: (qmail-queue invoked by uid 999); 15 Jul 1996 04:08:43 -0000
Message-ID: <19960715040843.24230.qmail@bushwire.mira.net.au>
Subject: Re: Origins of DATE command
To: Tom Limoncelli <tal@plts.org>
Date: Mon, 15 Jul 1996 14:08:43 +1000 (EST)
Cc: brian@nothing.ucsd.edu, ietf-nntp@academ.com, paulo@turnpike.com
In-Reply-To: <199607150327.XAA00777@plts.org> from "Tom Limoncelli" at Jul 14, 96 11:27:41 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> > In the arguments over the NNTPv2 spec, one of the concerns was that
> > clients would use the DATE command as a remote time clock, and beat
> > the NNTP server to death asking about the time of day.  [In today's

> Let me be a polyanna and suggest that we simply return the date in
> YYYYMMDDHHMM format... that is, we don't return the number of seconds.

Perhaps YYYYMMDDHHMM00 would break less existing code?

However, with daytime ports and the likes is it really likely that a
wildly popular time setting client will go to an nntp port?

I'm sure many/all people on this list are aware that free/shareware
progs exist on windows platforms that use ntp/rdate so programmers
capable of building a better mouse-trap will hopefully be aware of the
competition.

Magic cookie is a good strategy to avoid all of this but it does open
up some interesting questions for replicated servers and, as Tom says:

> I'd prefer not to invent a lot in this area.  Let's spend our
> "invention" budget on search mechanisms, improved transports, and truth,
> justice, and 8-bit text.


Ahem. Another thought. Perhaps this should be the date/time of last
article written to the database rather than the current date. The
standard could be worded appropriately to protect existing servers
that return the current date "...no new articles have arrived since
the date returned by this command.". This would also protect nnrp-type
programs that determine the current database state periodically.

But it might open up more of a pandora's box if impatient newsreaders
disconnect and re-connect to force the nntp server to refresh its
state, or does that already occur - sigh.



Regards.