Article View: news.software.nntp
Article #13793Y2000 bug on NNTP servers
From: Andrew Benham
Date: Mon, 06 Jan 1997 00:00
Date: Mon, 06 Jan 1997 00:00
73 lines
3173 bytes
3173 bytes
Apologies is this has been covered before, but it is important that all NNTP servers are checked before the year 2000. I thought I'd do a quick check to see how many NNTP servers coped with the year 2000. I've just checked two servers, and they both exhibited a bug, so there is a problem. Fortunately there's almost 3 years to fix it. RFC-977 says for the NEWNEWS command: ===== QUOTE ON ==== 3.8.1. NEWNEWS NEWNEWS newsgroups date time [GMT] [<distribution>] A list of message-ids of articles posted or received to the specified newsgroup since "date" will be listed. The format of the listing will be one message-id per line, as though text were being sent. A single line consisting solely of one period followed by CR-LF will terminate the list. Date and time are in the same format as the NEWGROUPS command. So if we look at the NEWGROUPS command: 3.7.1. NEWGROUPS NEWGROUPS date time [GMT] [<distributions>] A list of newsgroups created since <date and time> will be listed in the same format as the LIST command. The date is sent as 6 digits in the format YYMMDD, where YY is the last two digits of the year, MM is the two digits of the month (with leading zero, if appropriate), and DD is the day of the month (with > leading zero, if appropriate). The closest century is assumed as > part of the year (i.e., 86 specifies 1986, 30 specifies 2030, 99 is > 1999, 00 is 2000). Time must also be specified. It must be as 6 digits HHMMSS with HH being hours on the 24-hour clock, MM minutes 00-59, and SS seconds 00-59. The time is assumed to be in the server's timezone unless the token "GMT" appears, in which case both time and date are evaluated at the 0 meridian. ===== QUOTE OFF ==== So, if one sends the command "NEWNEWS * 000101 000000 GMT" the server will respond with the news article message-ids for articles posted since 1 January 2000 - of which common sense dictates there will be none. However, both of the servers I've tried produce an enormous list of articles. Almost certainly these servers are erroneously taking year "00" as 1900, rather than 2000 as mandated by the RFC. We need to ensure that, by the year 2000, all software and servers have been updated. Andrew Benham A.D.S.Benham@nortel.co.uk Nortel Ltd, 140 Greenway, Harlow Business Park, Harlow, Essex CM19 5QD, United Kingdom Tel: +44 1279 402372 Fax: +44 1279 405746 I speak for myself, my views are not necessarily the views of Nortel Ltd or any other corporation.
Technical Details
Message-ID:
<5aqk2qINN8e0@bhars12c.bnr.co.uk>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-mailShow Full Headers
Complete Article Headers
Message-ID: <5aqk2qINN8e0@bhars12c.bnr.co.uk> Subject: Y2000 bug on NNTP servers Date: Mon, 06 Jan 1997 00:00:00 +0000 From: adsb@bnr.co.uk (Andrew Benham) 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: 208032722 Distribution: inet Organization: Nortel Technology, London Road, Harlow, England. Newsgroups: news.software.nntp