Thread View: news.software.readers
9 messages
9 total messages
Started by Dave Barr
Tue, 05 Dec 1995 00:00
clock/timezone emails
Author: Dave Barr
Date: Tue, 05 Dec 1995 00:00
Date: Tue, 05 Dec 1995 00:00
73 lines
3608 bytes
3608 bytes
I'm running a program right now which tail -f's the
history database and looks for any articles which arrived earlier
than they were posted by more than one hour. It then sends mail
to the From/Reply-To with form letter appended below.
I intend to run this for several hours today and then
turn it off for a few days to judge the reaction. I don't know
how much good will come of this. I view bad Date's as a small but
annoying problem. I also think I'm probably the first one to
actually try to address the issue on any scale (except for news
software authors who put in the >24hr-in-the-future checks, though
that applies only to local postings).
So, newsadmins if one of your users forwards this email
to you, you know who to blame. I'd be very interesed in seeing
some discussion as to the most common causes for this problem.
I'm aware of the common UNIX causes (TZ, tm_ structs and all
that which vary so much from flavor to flavor and are a configuration
and compile-time problem). However, I'm not too familiar with
the PC and Mac software out there. I would not be surprised if
there are some packages which simply don't generate Date's correctly.
From: (usenet\@math.psu.edu)
To: $from
Subject: clock too fast\/timezone wrong
This is an automatically generated message. You should
get this message only once. (Unless you change your From: line,
which is saved for one month to weed out duplicate messages.)
You are getting this message because you posted to Usenet
an article with an incorrect Date:. The Message-ID of this article
is $msgid .
This article was posted with a Date: header of:
Date: $date_h
Which converted to GMT is $tdate_p
However, it arrived on this system on $tdate_a
which is EARLIER than the posted date by $warpm hours.
This could mean one of several things:
1. Your system clock is set wrong.
2. Your system's timezone information is set wrong.
3. Your system's timezone and clock is correct, but your news software is
configured incorrectly. (it either doesn't get the timezone correctly
from the system, or didn't convert it to a correctly formatted date)
Why should you care?
1. Lots of statistics generated by Usenet sites relies on the Date:
header to provide a fairly accurate representation of the time the
article was posted. If this time is wrong, the statistics are wrong.
2. It can be confusing to people who read Usenet. News readers often
sort articles by date. If this date is wrong, then the sorting will be
wrong. Articles will be read out of their normal chronological sequence.
What should you do?
That depends a lot on your system, and what the problem is. I suggest
forwarding this message to your local support staff, news administrator,
or system administrator They should be able to diagnose and
correct the problem.
It's possible that due to an incorrectly formatted or forged From: address
you are getting this message in error. I apologize if this is the case.
Thanks for your cooperation.
Re: broken Date:'s (was Re: clock/timezone emails)
Author: Rich Salz
Date: Tue, 05 Dec 1995 00:00
Date: Tue, 05 Dec 1995 00:00
11 lines
975 bytes
975 bytes
In <4a29c7$pq2@dodgson.math.psu.edu> barr@math.psu.edu (Dave Barr) writes: |generally accepted) There's also a similar number of Date's |out there that are in totally the wrong format, like: |21 Nov 95 19:43:40 GMT |Shouldn't we start thinking of tossing these altogether, especially |in light of the upcoming century? Why? It's not in-spec, but it's parseable. /r$
Re: broken Date:'s (was Re: clock/timezone emails)
Author: Paul Eggert
Date: Tue, 05 Dec 1995 00:00
Date: Tue, 05 Dec 1995 00:00
33 lines
2006 bytes
2006 bytes
rsalz@uunet.uu.net (Rich Salz) writes: > barr@math.psu.edu (Dave Barr) writes: > | 21 Nov 95 19:43:40 GMT > | ... Shouldn't we start thinking of tossing these altogether,.... > > Why? It's not in-spec, but it's parseable. That example is parsable, but once we start making exceptions for nonconforming date lines, the list of exceptions will grow, and sooner or later ambiguities will arise, and then it'll hard to say cleanly what dates are acceptable. Especially after 31 Jan 1999. I'd discard those articles for the same reason I'd discard an article with a nonconforming Message-ID. Articles with bogus dates can confuse newsreaders and users (not to mention programs like `expire'). And a news server that forwards such articles doesn't conform to the letter of the RFCs unless it rewrites the nonconforming dates. Some day I may have time to write and post a patch to INN to check dates properly. Just to see what Barr's up against, here are a couple of nonconforming `Date:' lines from recent news articles. They throw the `nn' news reader for a loop, which is how I happened to run into them. Date: �ri, 21 n�v 1995 11:11:12 +0000 Message-ID: <30B1B3D0.2781@strengur.is> Date: 11/27/95 05:05:29 GMT Message-ID: <49bb2j$kn0@horus.infinet.com>
broken Date:'s (was Re: clock/timezone emails)
Author: Dave Barr
Date: Tue, 05 Dec 1995 00:00
Date: Tue, 05 Dec 1995 00:00
37 lines
2093 bytes
2093 bytes
In article <4a1ui2$ob4@dodgson.math.psu.edu>, Dave Barr <barr@math.psu.edu> wrote: >I would not be surprised if >there are some packages which simply don't generate Date's correctly. Well, I already found one. I got a complaint from someone in the UK, whose posting didn't have a timezone on it. RFC 1123 says the timezone is supposed to be there, but "encourages" software to still support the older format but translate into an "acceptable" format. However, it seems that parsedate assumes a date without a timezone is in the LOCAL timeone (in my case US/Eastern). Is this "acceptable"? Perhaps. I think assuming GMT would also be reasonable. (assuming PST is not, despite with Bill would say. :-) ) From a rough survey of articles out there, the number of ones which don't have a timezone in the date is rather small. (about the same as ones with bogus timezones like "LOCAL" or alphanumeric ones that aren't generally accepted) There's also a similar number of Date's out there that are in totally the wrong format, like: 21 Nov 95 19:43:40 GMT Shouldn't we start thinking of tossing these altogether, especially in light of the upcoming century? (I'm totally lost with yacc, otherwise I'd modify parsedate.y myself. Anyone want to send me a patch?) I'm thinking of modifying my script to actually parse the date myself somewhat, and if the timezone information is missing then explicitly note it as a problem (similarly for the above broken format). --Dave
Re: broken Date:'s (was Re: clock/timezone emails)
Author: Rich Salz
Date: Wed, 06 Dec 1995 00:00
Date: Wed, 06 Dec 1995 00:00
13 lines
1187 bytes
1187 bytes
Message-IDs are important to the news system itself, so forcing strict compliance (Thanks Paul) is a good thing. Dates are of lesser, if not almost no, importance, to the news system itself. I was just suggesting that it's not quite time to be so draconian. But if it is, think *very* carefully about which arbitrary date formats one accepts; arbitrariness helps no one. (Of course, INN already is that way, based on whatever I made yacc do.) If you wanna reject illegal dates, then drop yacc. /r$
Re: broken Date: 's (was Re: clock/timezone emails)
Author: Mark Brader
Date: Wed, 06 Dec 1995 00:00
Date: Wed, 06 Dec 1995 00:00
14 lines
1265 bytes
1265 bytes
Rich Salz (rsalz@uunet.uu.net) writes: > Dates are of lesser, if not almost no, importance, to the news system itself. Dates are how you tell whether the article is too old to appear in whatever history you keep locally. I don't know about NNTP-based systems or current C News, but in the C News version that we run here, a missing or unparsable date line is considered reason enough to reject the article. -- Mark Brader, msb@sq.com | "I asked you for a *good* reason, SoftQuad Inc., Toronto | not a *terrific* one!" -- Maxwell Smart (Agent 86) My text in this article is in the public domain.
broken Date:'s (was Re: clock/timezone emails)
Author: Dave Barr
Date: Wed, 06 Dec 1995 00:00
Date: Wed, 06 Dec 1995 00:00
16 lines
1345 bytes
1345 bytes
In article <4a41g1$nsi@rodan.UU.NET>, Rich Salz <rsalz@uunet.uu.net> wrote: >If you wanna reject illegal dates, then drop yacc. How about this: continue to parse dates in INN's usuall liberal fashion, but convert them to 1036 canonical format? This would be done just for local posts, of course. This would address the complaint I've seen that some people don't have access to the source code for their newsreader and can't fix its behavior. (though in some cases I can see the converting to canonical format is prone to the same errors, but at least you're not making the problem worse) --Dave
Re: broken Date:'s (was Re: clock/timezone emails)
Author: Rob J. Nauta
Date: Thu, 07 Dec 1995 00:00
Date: Thu, 07 Dec 1995 00:00
30 lines
1858 bytes
1858 bytes
barr@math.psu.edu (Dave Barr) writes: >In article <4a41g1$nsi@rodan.UU.NET>, Rich Salz <rsalz@uunet.uu.net> wrote: ->If you wanna reject illegal dates, then drop yacc. >How about this: continue to parse dates in INN's usuall liberal >fashion, but convert them to 1036 canonical format? This would be done >just for local posts, of course. >This would address the complaint I've seen that some people don't have >access to the source code for their newsreader and can't fix its >behavior. (though in some cases I can see the converting to canonical >format is prone to the same errors, but at least you're not making >the problem worse) I once read that the design goal of all software was: be liberal in what you accept, be strict in what you send out (regarding data I/O). One can make news software to accept anything, but it should either not send out anything that doesn't conform to RFC's or convert the offending lines to RFC-compliant format. Rob -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Rob J. Nauta rob@redwood.nl NOTE: my opinions are strictly my own and not those of my employer
Re: broken Date:'s (was Re: clock/timezone emails)
Author: Snowhare
Date: Thu, 07 Dec 1995 00:00
Date: Thu, 07 Dec 1995 00:00
48 lines
2737 bytes
2737 bytes
-----BEGIN PGP SIGNED MESSAGE----- Nothing above this line is part of the signed message. In article <4a2of8$ggh@rodan.UU.NET>, Rich Salz <rsalz@uunet.uu.net> wrote: >In <4a29c7$pq2@dodgson.math.psu.edu> barr@math.psu.edu (Dave Barr) writes: >|generally accepted) There's also a similar number of Date's >|out there that are in totally the wrong format, like: >|21 Nov 95 19:43:40 GMT >|Shouldn't we start thinking of tossing these altogether, especially >|in light of the upcoming century? > >Why? It's not in-spec, but it's parseable. Because the mishmash of date formats floating around causes headaches for those of us who index archives of netnews articles by date. It is bad enough dealing with people who manage to set their date bogusly (I've got three articles in one archive claiming to be in the year 2000) without having to write special purpose code to handle every possible way to break the date as well. "Lets see, after parsing the date, I get the real date by adding 1900 to it if it is between 80 and 99 (inclusively), and 2000 to it if it is less than 80...". Let's not _even_ get into a discussion of non-standard timezones. I've long since given up on ever hoping to reliably get the time resolution down to anything less than two days. There are just too many people who are convinced that 'EST/MST/BST' etc are known the world over as (insert your favorite localities name here) timezone. Not that there could ever be _duplication_ of three letter codes ending in 'ST' or 'DT' with a few hundred countries 'rolling their own'. Then there are those who don't seem to realize that the "+0000" time zone doesn't extend all the way to Hawaii... Benjamin Franz "Who is wondering how he managed to get into such a ramble." -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCUAwUBMMbkR+jpikN3V52xAQHpPAP2LNAWBjtqNN8OSlJ9DlJj5tfdGqo5hElU HSwAD45iMXNevuIclAa1YMfrV2N8IP+AMn66lXia45hp2Kk6hjdHFtI5XXnYcMBF 2kMjZyahCba4yITSgaPGhW1HqTeZGqjUkJjJhOJvRcxYbbUcZG4NSGgHdgBHIc0j 4/fmzHYtYA== =oRhH -----END PGP SIGNATURE-----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads