Article View: alt.free.newsservers
Article #167087Re: Question for newsserver admins on date headers on Mixmin (Steve Crook)
From: Henry Jones
Date: Tue, 05 Jul 2016 16:50
Date: Tue, 05 Jul 2016 16:50
111 lines
6555 bytes
6555 bytes
On Tue, 5 Jul 2016 10:54:32 -0400, kensi wrote: > Date: is a required header field, per RFC1036, which also recommends GMT > (but should probably be UTC these days) for that field. I know you, Kensi, to be reasonable, so I will comment upon your post, as I see none of TOSEM's, although I'm sure they are there. > RFC5537 clearly implies (in ยง3.4) that a proto-article (i.e., what you > compose in a newsreader and click "send" on) may lack the Date: field, > but states that this is a mandatory field in an injected article, which > means the server must add it if it is missing. Thank you for confirming that, and for supplying the terminology, that a proto article may lack a date, but the injected article must have the date. > The server must also add > the Injection-Date: header. Typically if the server adds both they'll be > identical, though I don't think that's guaranteed. Interesting that the Injection Date is mandatory. Odd. Many posts' headers do not contain an "Injection Date". Does mine from Steve's server contain an Injection date? > If you want to know whether your newsreader is setting the Date: field > or the server is adding it, the surest way to know is by empirical > testing. Yup. Found that out. Methinked that Pan did not set the Date & that 40tude dialog does. > Use a server that doesn't mandate encryption (i.e., not Mixmin; > aioe should do nicely) and turn off encryption, then send an article > however you normally do while Wireshark is set up and running and > configured to capture NNTP traffic. Then you can inspect the actual > network packets your newsreader sent, and see whether or not it > generated a Date: header of left it up to the server to do so. I don't have Linux but if I did, I'd run tcpdump & wireshark. On Windows, it's much harder because I don't have either running. > My guess, but I emphasize that it's a guess and only examining your > network traffic (or the source code, if available, for your newsreader) > can answer the question definitively, is that your particular newsreader > is not generating a date header, and that the time zone setting in it is > solely for deciding how to display dates *to* you in *downloaded* articles. I think you're correct for Pan, which does not seem to have any date settings. For 40Tude Dialog, there are ways to change the date as needed. > Per RFC1036 ยง2.1.2 "It is recommended that times in message headers be > transmitted in GMT and displayed in the local time zone," i.e. clients > may use a local time zone setting to display article dates in the local > time zone regardless of the original header value's time zone, for > instance by displaying 16:00 EDT as 13:00 PDT for a user on the West > Coast. Actually, this might be wrong. I won't be the one to argue the point, but others argued that the "GMT" (sans the parentheses) is not the current standard. It's legacy. But not the current standard. The current standard, I'm told, is to put whatever you want *inside* parenthesis, e.g., "+0400 (GMT)". > So the existence of a time zone setting in your newsreader need > not mean that this determines the TZ of the Date: on an article you > *post* with it, or even whether the proto-article *has* a Date:. I'm not sure where you're saying that there is a timezone setting *in* the newsreader. To my knowledge, none of the newsreaders I use have a timezone setting. The operating system has a timezone setting. The newsreader seems to know about that in the case of 40Tude Dialog, but not in the case of Pan. > I hope this answers your question as best as possible. Further answers > will, again, require examining your newsreader's source code and/or the > network traffic it generates, which means it's unlikely a server admin > here will be able to tell you anything new, except in the unlikely event > that one of them volunteers to watch the *inbound* traffic while you > post an article to tell you whether your client generated a > proto-article with or without a Date: header. Actually, I just wanted to know from the server admins why they chose to disply a +0000 or a -0000 when the proto article does not contain a date. Strictly speaking, AIOE with a +0000 is indicating that the server is using UTC as it's time zone (I think that's what the plus means), whereas Mixmin with a -0000 is indicating that it's not necessarily in the UTC zone but that it corrects the injection article to UTC time. I'm really just asking server admins what their defaults are, although I can tell what their defaults are by sending a proto article sans date - so I'm really just asking "why" they chose the defaults that they chose. > As for -0000 vs. +0000, the documentation I've read says to use -0000 to > indicate an unknown time zone, and +0000 to indicate a known offset of 0 > from UTC. That means if an article's date is given in UTC the offset > should be +0000, not -0000, whether or not that's the author's local > time zone. Most likely -0000 is used by servers if a client sends a > Date: without specifying either an offset from UTC or a recognized time > zone name such as GYT. I agree with you on the interpretation of the plus and minus, but in practice, I can tell you experimentally that Netfront and Aioe use the + sign as in "+0000 (UTC)", while Mixmin uses the minus sign as in "-0000 (UTC)" by default when the proto article does not contain header information. I'm just asking the respective admins why they chose the plus or the minus.
Technical Details
Message-ID:
<nlgohi$6j2$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<nlck57$bg7$1@news.mixmin.net> <nldb6m$auq$1@news.albasani.net> <nleica$1r2v$1@gioia.aioe.org> <nlghnc$iso$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <nlgohi$6j2$1@news.mixmin.net> Subject: Re: Question for newsserver admins on date headers on Mixmin (Steve Crook) Date: Tue, 5 Jul 2016 18:50:36 +0200 From: Henry Jones <henry@example.com> References: <nlck57$bg7$1@news.mixmin.net> <nldb6m$auq$1@news.albasani.net> <nleica$1r2v$1@gioia.aioe.org> <nlghnc$iso$1@gioia.aioe.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.free.newsservers Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Injection-Date: Tue, 5 Jul 2016 16:50:58 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="b877aa033250e4dd52e14c24ca1f6508c095d53b"; Lines: 110