🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27146

Re: Is INN Year 2000 Compliant

#27146
From: Paul Colquhoun
Date: Tue, 24 Mar 1998 00:00
59 lines
2785 bytes
In article <35161DB4.791A5007@krdl.org.sg>, Lee Cjin Pheow <cplee@krdl.org.sg> 
wrote:
|Hi,
|  I used the NEWNEWS feature of INN. The date parameter that goes with
|the NEWNEWS command is of the format yymmdd instead of yyyymmdd. That
|means when the clock turns Jan 1, 2000, the NEWNEWS command will not
|work correctly. The current version of INN installed at my company is
|1.5.1. Is there a later version of INN that has been corrected to work
|in the year 2000 and beyond?
|
|  Pointers to relevant sources are appreciated. I have browsed through
|the INNFAQ but didn't find the answer to my question.
|
|  Thanks in advanced. Regards.


Strange as it might seem, the protocol will still work after 1/1/2000 because 
the dates are not ambiguous.

The date supplied as a parameter to NEWNEWS will *always* be in the past. (OK, 
make that _should_ instead of _will_) Asking for all the news that has arrived 
after tomorrow is an error. Thus the news server will know that, if the date 
would be in the future using the current century, then it must really be 
refering to the previous century. Without looking at the code I can't tell if 
there is any fudge factor to allow for potential clock drift/time zone 
errors/etc.

An example:

Assume the date is  2 January 2000  ( 2/1/2000, in Oz date format )

If I want all the news since 1 Jan 2000 I would use,

     NEWNEWS 000101 ( + whatever hours, minutes & group data are required )

If I want all the news since 30 Dec 1999 I would use,

     NEWNEWS 991230 ( + extras )

Obviously this cannot be refering to 2099, so it must be 1999. 1899 is right 
out.

Of course there may be coding problems in a particular implementation of the 
protocol. If these worry you, grab the source and have a look.

P.S. The latest version of INN is 1.7.2  see http://www.isc.org/inn.html



--  
Paul Colquhoun                          Ph:  +61 2 9850-0901
Systems Administrator                  fax:  +61 2 9850-0817
TPG Internet                         email:  pcolquh@tpgi.com.au
65 Waterloo Rd
North Ryde, NSW 2113            Unless otherwise stated, this message
Australia                       does NOT reflect official TPGi policy

Technical Details
Message-ID: <6f7ese$995$1@droppa.tpgi.com.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <35161DB4.791A5007@krdl.org.sg>

Show Full Headers
Complete Article Headers
Message-ID: <6f7ese$995$1@droppa.tpgi.com.au>
Subject: Re: Is INN Year 2000 Compliant
Date: Tue, 24 Mar 1998 00:00:00 +0000
From: pcolquh+news@tpgi.com.au (Paul Colquhoun)
References: <35161DB4.791A5007@krdl.org.sg>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 337079907
Organization: TPG Internet Pty Ltd
Newsgroups: news.software.nntp