Thread View: news.software.nntp
11 messages
11 total messages
Started by News Administrator
Thu, 23 Mar 1995 18:05
more broken Date: headers
Author: News Administrator
Date: Thu, 23 Mar 1995 18:05
Date: Thu, 23 Mar 1995 18:05
93 lines
4198 bytes
4198 bytes
I've encountered still more non-compliant (RFCs 822, 1036, and
1123) Date headers. If somebody could inform the authors of the
broken software that generates these, I'd appreciate it. I've
included sample headers from examples of several types of
broken-ness:
1) missing required "zone" token (RFC 822 section 5); the
message-ids seem to be of the form
<username.sequence#.???@domain>
Anybody know what reader/transport software generates these?:
From: hallkin@itsnet.com (Hall Kinion)
Date: Wed, 22 Mar 1995 15:21:33
Message-ID: <hallkin.102.000F5C6B@itsnet.com>
NNTP-Posting-Host: 204.118.1.220
From: sklar@cerfnet.com (Thelma Sklar)
Date: Wed, 22 Mar 1995 11:27:34
Message-ID: <sklar.43.000B75F6@cerfnet.com>
NNTP-Posting-Host: default13.uci.cerfnet.com
From: fdigenna@reeusda.gov
Date: Thu, 16 Mar 1995 13:29:07
Message-ID: <fdigenna.1.000D7CA6@reeusda.gov>
NNTP-Posting-Host: 198.76.115.114
From: tbray@opentext.com (Tim Bray)
Date: Mon, 20 Mar 1995 08:58:46
Message-ID: <tbray.93.0008FB02@opentext.com>
From: ivanh@iconz.co.nz (Ivan Hyslop)
Date: Fri, 17 Mar 1995 08:09:47
Message-ID: <ivanh.390.0145B73A@iconz.co.nz>
2) syntactically valid, but semantic nonsense (daylight savings
time not being in effect for the dates in question). Some of these
appear to be generated by a broken package identifying itself as
``NEWTnews''. And whoever is responsible for calldei.com has a lot
to answer for--postmaster@calldei.com doesn't work!:
From: gdruebsamen@vms4.sci.csupomona.edu (YES)
Date: 21 Mar 95 11:58:37 PDT
Message-ID: <1995Mar21.115837.1@clstcs>
NNTP-Posting-Host: vms6.sci.csupomona.edu
From: rogerw@hhunt.com
Date: Fri, 10 Mar 95 00:07:17 PDT
Message-ID: <3jp1te$895@aimnet1.aimnet.com>
From: info@calldei.com
Date: Wed, 15 Mar 95 18:17:22 PDT
Message-ID: <3k8742$d9l@kane.ico.net>
NNTP-Posting-Host: calldei.calldei.com
From: scm@intsys.com
Date: Thu, 16 Mar 95 19:11:32 CDT
Message-ID: <3kaooa$si3@flood.xnet.com>
NNTP-Posting-Host: intsys.xnet.com
From: Resource Spectrum <spectrum@onramp.net>
Date: Sat, 18 Mar 95 10:44:12 PDT
Message-ID: <NEWTNews.22791.795552308.spectrum@onramp.net>
NNTP-Posting-Host: dal28.onramp.net
3) nonsense where the zone token should be. For brevity, I've
not listed all of the various "alphabet soup" (e.g. EWT, MET, CET, SOL)
gobbledygook, just two persistent types ("LOCAL" & "UNDEFINED").
Note that the message-ids (and NNTP-posting-host contents) are of
the same form as type 1 above--could it be that there's a software
author out there who is *totally* clueless, replacing one foul-up
with another ( <1% :-) ):
From: fgoldstein@bbn.com (Fred R. Goldstein)
Date: Mon, 13 Mar 1995 09:18:20 LOCAL
Message-ID: <fgoldstein.227.001847F7@bbn.com>
From: queen@infi.net (Linda)
Date: Tue, 14 Mar 1995 09:43:45 LOCAL
Message-ID: <queen.30.004F22BE@infi.net>
NNTP-Posting-Host: 204.117.154.84
From: pjbussey@hk.super.net (Peter J. Bussey)
Date: Wed, 15 Mar 1995 14:56:05 UNDEFINED
Message-ID: <pjbussey.15.0174180A@hk.super.net>
NNTP-Posting-Host: 202.64.6.25
4) syntactically valid, but highly likely to be incorrect:
From: dclark@mindsource.com (David Clark)
Date: 19 Mar 1995 17:39:54 -0801
Sender: dclark@best.com
Re: more broken Date: headers
Author: Russell Schulz
Date: Fri, 24 Mar 1995 15:45
Date: Fri, 24 Mar 1995 15:45
15 lines
1559 bytes
1559 bytes
lillyb@ccmail.nhq.sony.com writes: > appear to be generated by a broken package identifying itself as > ``NEWTnews''. I think newtnews is from chameleon from the comp.os.msdos.mail-news FAQ: chameleon donna@netmanage.com chameleon ftp.netmanage.com:/pub/demos/chameleon/* 632. chameleon - smtp mail; nntp news -- Russell Schulz russell@alpha3.ersys.edmonton.ab.ca ersys!rschulz Shad 86c
Re: more broken Date: headers
Author: Andreas Ley
Date: Fri, 24 Mar 1995 19:01
Date: Fri, 24 Mar 1995 19:01
17 lines
1971 bytes
1971 bytes
In article <Pnews.header.news.795981946.23493@sonyd1.broadcast.sony.com>, News Administrator <news@sonyd1.broadcast.sony.com> writes: |> 3) nonsense where the zone token should be. For brevity, I've |> not listed all of the various "alphabet soup" (e.g. EWT, MET, CET, SOL) Can you give a pointer to a list of valid zones? I tried hard to find a correct and unique name for +0100, and the only one that was listed in a compilation by POSCHAD@DHVMHH1.BITNET that wasn't also used for another zone was CET (Central European Time). I'm surprised to get it called "alphabet soup"... Bye, Andy ------------------------------------------------------------------------------- Andreas Ley ! "Even when you're ! Email: ley@rz.uni-karlsruhe.de Nelkenstr. 9 ! a genius, life is ! Voice: +49 721 84 10 36 76135 Karlsruhe ! a mystery!" ! RZ: +49 721 608 6114 Germany ! Doogie Howser, M.D. ! AKK: +49 721 96 403 22
Re: more broken Date: headers
Author: John Gardiner Myers
Date: Fri, 24 Mar 1995 20:51
Date: Fri, 24 Mar 1995 20:51
19 lines
2006 bytes
2006 bytes
The list of valid zones is in RFC 822, to wit:
zone = "UT" / "GMT" ; Universal Time
; North American : UT
/ "EST" / "EDT" ; Eastern: - 5/ - 4
/ "CST" / "CDT" ; Central: - 6/ - 5
/ "MST" / "MDT" ; Mountain: - 7/ - 6
/ "PST" / "PDT" ; Pacific: - 8/ - 7
/ 1ALPHA ; Military: Z = UT;
; A:-1; (J not used)
; M:-12; N:+1; Y:+12
/ ( ("+" / "-") 4DIGIT ) ; Local differential
; hours+min. (HHMM)
The correct and unique name you should be using for +0100 is "+0100".
--
_.John G. Myers Internet: jgm+@CMU.EDU
LoseNet: ...!seismo!ihnp4!wiscvm.wisc.edu!give!up
Re: more broken Date: headers
Author: Andreas Ley
Date: Fri, 24 Mar 1995 21:34
Date: Fri, 24 Mar 1995 21:34
17 lines
1939 bytes
1939 bytes
In article <8jQn3f200WBw5FDdFO@andrew.cmu.edu>, John Gardiner Myers <jgm+@CMU.EDU> writes: |> The list of valid zones is in RFC 822, to wit: Oh, well, ok, in case of news postings... INN uses GMT on these anyway. What I was interested in is a list of valid timezones outside of news (TZ has to be set to something), and there are more zones than the ones that cover the US. Any pointers? If I want to use a zone within an article, you're right, +0100 is the only correct solution. Bye, Andy ------------------------------------------------------------------------------- Andreas Ley ! "Even when you're ! Email: ley@rz.uni-karlsruhe.de Nelkenstr. 9 ! a genius, life is ! Voice: +49 721 84 10 36 76135 Karlsruhe ! a mystery!" ! RZ: +49 721 608 6114 Germany ! Doogie Howser, M.D. ! AKK: +49 721 96 403 22
Re: more broken Date: headers
Author: Barry Margolin
Date: Fri, 24 Mar 1995 22:56
Date: Fri, 24 Mar 1995 22:56
26 lines
2163 bytes
2163 bytes
In article <Pnews.header.news.795981946.23493@sonyd1.broadcast.sony.com> lillyb@ccmail.nhq.sony.com writes: >2) syntactically valid, but semantic nonsense (daylight savings >time not being in effect for the dates in question). It seems more likely (to me, at least) that this would be the result of problems in /usr/lib/zoneinfo than that it results from broken news software. The news software presumably just asks the system for the date and time, and if it says that the current zone is PDT that's what it puts in the header. I suppose on System V, which has a two-element array containing pointers to the names of the non-DST and DST zones, there could be a bug which causes it to use the wrong array element. >4) syntactically valid, but highly likely to be incorrect: > >From: dclark@mindsource.com (David Clark) >Date: 19 Mar 1995 17:39:54 -0801 >Sender: dclark@best.com Again, I think this is more likely to result from system configuration problems than bugs in the news software. Many systems permit you to configure the current zone as an offset in seconds or minutes from GMT, and the news software should take this setting as gospel. -- Barry Margolin BBN Planet Corporation, Cambridge, MA barmar@bbnplanet.com
Re: more broken Date: headers
Author: Tom Limoncelli
Date: Sun, 26 Mar 1995 22:18
Date: Sun, 26 Mar 1995 22:18
35 lines
2996 bytes
2996 bytes
In <3kv4tr$ieh@nz12.rz.uni-karlsruhe.de> ry66@rz.uni-karlsruhe.de (Andreas Ley) writes:
>In article <Pnews.header.news.795981946.23493@sonyd1.broadcast.sony.com>, News Administrator <news@sonyd1.broadcast.sony.com> writes:
>|> 3) nonsense where the zone token should be. For brevity, I've
>|> not listed all of the various "alphabet soup" (e.g. EWT, MET, CET, SOL)
>Can you give a pointer to a list of valid zones? I tried hard to find a
>correct and unique name for +0100, and the only one that was listed in a
>compilation by POSCHAD@DHVMHH1.BITNET that wasn't also used for another
>zone was CET (Central European Time). I'm surprised to get it called
>"alphabet soup"...
RFC822 defines the only accepted names. You shouldn't use new ones
because there is no way for every site on the internet to get updates
of what new zones are created, renamed, etc. So, instead, it is best
to use +0100 (i.e. the GMT designation). That way you don't need any
updates every time a new country gets on the internet.
As far as netnews is concerned, the ability to correctly parse the date
on the Date: header is critical to many parts of the protocol. This is
so critical that C News and INN will silently DELETE any article with a
non-conforming Date: header. Why not fix a bad date? Deleting an article
pisses people off so much, that they immediately fix the program that
is generating the buggy software that is generating the bad Date: headers
in the first place. If C News or INN tried to be nice and fix the bad
Date:, then nobody would fix their bad software (and the authors of C News
and INN would spend most of their time adding new non-standard date formats,
rather than adding important features).
--tal
--
George Will, Rush Limbaugh, John Sununu, Pat Buchanan, James Kilpatrick, Mona
Charen, G. Gordon Liddy, Robert Novak, Bay Buchanan, Pat Robertson, Joseph
Sobran, Paul Harvey, Phyllis Schafly, Maureen Reagan, and John McLaughlin
always bemoan the need for more conservative media voices.
Re: more broken Date: headers
Author: Henry Spencer
Date: Sun, 26 Mar 1995 23:19
Date: Sun, 26 Mar 1995 23:19
15 lines
1738 bytes
1738 bytes
In article <3kvin0$q5p@tools.near.net> barmar@nic.near.net (Barry Margolin) writes: >...Many systems permit you to >configure the current zone as an offset in seconds or minutes from GMT, and >the news software should take this setting as gospel. C News certainly does... although it turns out that *discovering* this offset is not simple to do in a portable way. There is too much variation in how the information is made available, if it's made available at all. What I ended up doing, in fact -- horrible but true -- is running the current time through both localtime() and gmtime(), and analyzing the outputs to compute the difference. While a bit grotesque, this has the virtue of being highly portable... -- There is a difference between | Henry Spencer cynicism and skepticism. | henry@zoo.toronto.edu
Re: more broken Date: headers
Author: Henry Spencer
Date: Sun, 26 Mar 1995 23:26
Date: Sun, 26 Mar 1995 23:26
29 lines
2561 bytes
2561 bytes
In article <8jQn3f200WBw5FDdFO@andrew.cmu.edu> John Gardiner Myers <jgm+@CMU.EDU> writes:
>The list of valid zones is in RFC 822, to wit:
>
> zone = "UT" / "GMT" ; Universal Time
> / "EST" / "EDT" ; Eastern: - 5/ - 4
> / "CST" / "CDT" ; Central: - 6/ - 5
> / "MST" / "MDT" ; Mountain: - 7/ - 6
> / "PST" / "PDT" ; Pacific: - 8/ - 7
> / 1ALPHA ; Military: Z = UT;
> / ( ("+" / "-") 4DIGIT ) ; Local differential
In fact, while these are all legal, most of them are inadvisable. The
single-letter zones are largely useless because the detailed specification
for them in RFC 822 is *wrong*, with the sign reversed. The North
American three-letter abbreviations are a bad idea because too many people
use them elsewhere for other zones; there are at least *five* different
zones which somebody calls "EST". (In theory, in an Internet date, EST
always means the North American zone; in practice, you can't rely on
that.) RFC 822, like many old RFCs, should be read together with the
relevant section of RFC 1122/1123, and if you look there, you find a
strong recommendation to use numeric offsets for time zone specification
(perhaps with an alphabetic abbreviation supplied as a comment).
>The correct and unique name you should be using for +0100 is "+0100".
Agreed.
--
There is a difference between | Henry Spencer
cynicism and skepticism. | henry@zoo.toronto.edu
Re: more broken Date: headers
Author: Henry Spencer
Date: Tue, 28 Mar 1995 04:45
Date: Tue, 28 Mar 1995 04:45
11 lines
1410 bytes
1410 bytes
In article <3kvdtg$grn@nz12.rz.uni-karlsruhe.de> Andreas.Ley@rz.uni-karlsruhe.de writes: >What I was interested in is a list of valid timezones outside of news >(TZ has to be set to something), and there are more zones than the ones >that cover the US. Any pointers? Depends on what you mean by "valid". You might want to look at the list of commonly-used time zones in the C News source, I believe it's in libc/dateabstoks.c. -- There is a difference between | Henry Spencer cynicism and skepticism. | henry@zoo.toronto.edu
Re: more broken Date: headers
Author: Michael Shields
Date: Thu, 30 Mar 1995 02:29
Date: Thu, 30 Mar 1995 02:29
17 lines
1538 bytes
1538 bytes
In article <Pnews.header.news.795981946.23493@sonyd1.broadcast.sony.com>, News Administrator <lillyb@ccmail.nhq.sony.com> wrote: > 4) syntactically valid, but highly likely to be incorrect: > > From: dclark@mindsource.com (David Clark) > Date: 19 Mar 1995 17:39:54 -0801 > Sender: dclark@best.com I've reproduced this accidentally. It occurs when local time accounts for leap seconds, while system time (POSIX quasi-UTC) does not. -0801 is, in some sense, a reasonable value. This was enough for me to discard the leap second handling, though, as a full minute is an overcorrection, and it's too weird to have your articles say `-0001'. -- Shields.
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