Article View: alt.free.newsservers
Article #167111Re: Question for newsserver admins on date headers on Mixmin (Steve Crook)
From: Steve Crook
Date: Wed, 06 Jul 2016 08:29
Date: Wed, 06 Jul 2016 08:29
73 lines
4403 bytes
4403 bytes
On Wed, 6 Jul 2016 02:55:12 -0000 (UTC), Henry Jones wrote in Message-Id: <nlhruf$7sc$1@news.mixmin.net>: > Steve, I found more information by running a few tests. > > While Pan didn't seem to be inserting a date in the proto article, 40Tude > does seem to be inserting a date in the proto article. > > Given we know that if no date is sent in the proto article, the newsservers > inject a *default* date of the format: > Test 1. AIOE Date: Wed, 6 Jul 2016 02:10:11 +0000 (UTC) > Test 2. Netfront Date: Wed, 6 Jul 2016 02:10:11 +0000 (UTC) > Test 3. Mixmin Date: Wed, 6 Jul 2016 02:10:11 -0000 (UTC) > > The descrepancy above with Aioe and Netfront is odd, given that the > negative 0000 of Mixmin just indicates GMT time (and says nothing about > where the newsserver equipment is actually located), while the plus 0000 > indicates (literally) that the machine who set the date is (literally) in > the GMT (which is probably an untruth in the case of aioe and netfront). > > So basically, what the headers say above is that: > Test 1. Aioe is located *in* the GMT TZ > Test 2. Netfront is located *in* the GMT TZ. > Test 3. Mixmin is *not* located in the GMT TZ. > > Here is the result of a further experiment of setting the local TZ to GMT > and allowing the newsserver to send that GMT date header to the newsserver. > > Note that I had *expected* Mixmin to show -0000 but it showed +0000! > > Local time set to GMT & the date header supplied in the proto article: > Test 4. AIOE Date: Wed, 6 Jul 2016 02:10:11 +0000 > Test 5. Netfront Date: Wed, 6 Jul 2016 02:10:11 +0000 > Test 6. Mixmin Date: Wed, 6 Jul 2016 02:10:11 +0000 > > I guess that makes sense though, because what the proto header told the > news server is that the TZ *was* GMT, so, the newsservers are dutifully > reporting that the sender is *in* the GMT (with the use of the plus sign). > > So the only things that do not make sense is why the aioe and netfront > newsservers use a plus sign when they inject their own date header. > > It seems only the mixmin server is configured properly. > (Either that, or the aioe and netfront servers are actually *in* the GMT > time zone.) The discrepancy between servers is almost certainly due to the INN version they're running. Mixmin is frequently updated against the development branch while (I expect) the others are running a stable release. You can view the relevent code for INN here:- https://inn.eyrie.org/trac/browser/trunk/lib/date.c Look for the function: parsedate_rfc5322_lax The text on the last change to this file reads:- "Use -0000 instead of +0000 as the time zone in generated headers not at Universal Time nnrpd now uses -0000 as the time zone for Date: and Injection-Date: header fields it generates. It was previously using +0000, wrongly systematically indicating a local time zone at Universal Time when the localtime paramater is set to false (which is the default) in readers.conf. The +0000 time zone will now be used only if localtime is set to true and UTC is really the local time zone of the server. Improve the documentation of readers.conf, mentioning a use case for the localtime parameter. Thanks to Russ for it. convdate now similarly also uses -0000." The server (by default) adds a Date header in UTC but it can be configured to use localtime instead. In my case that would be confusing as the server runs GMT/BST to match my local time, not that of its location. -- And with glasses high we raised a cry for freedom had arrived
Technical Details
Message-ID:
<slrnnnpgb1.1iv.steve@fleegle.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> <slrnnnmtqp.1iv.steve@fleegle.mixmin.net> <nlhruf$7sc$1@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnnnpgb1.1iv.steve@fleegle.mixmin.net> Subject: Re: Question for newsserver admins on date headers on Mixmin (Steve Crook) Date: Wed, 06 Jul 2016 08:29:21 +0000 From: Steve Crook <steve@mixmin.net> References: <nlck57$bg7$1@news.mixmin.net> <slrnnnmtqp.1iv.steve@fleegle.mixmin.net> <nlhruf$7sc$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-mail Newsgroups: alt.free.newsservers Organization: Mixmin Injection-Date: Wed, 6 Jul 2016 08:29:21 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2901da9c7752945f9c9166bd8c484479ba2c30d0"; User-Agent: slrn/pre1.0.3-10 (Linux) Lines: 72