A Broadband and ADSL forum. BroadbanterBanter

Welcome to BroadbanterBanter.

You are currently viewing as a guest which gives you limited access to view most discussions and other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today.

Go Back   Home » BroadbanterBanter forum » Newsgroup Discussions » uk.telecom.broadband (UK broadband)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

uk.telecom.broadband (UK broadband) (uk.telecom.broadband) Discussion of broadband services, technology and equipment as provided in the UK. Discussions of specific services based on ADSL, cable modems or other broadband technology are also on-topic. Advertising is not allowed.

Date Bug in Netgear DG834G Log Files



 
 
Thread Tools Display Modes
  #1  
Old July 1st 05, 10:37 AM posted to alt.internet.wireless,uk.telecom.broadband
David
external usenet poster
 
Posts: 4
Default Date Bug in Netgear DG834G Log Files

My Netgear DG834G sent me a log file this morning which it dated Fri, 1
Aug 2005. The entries in the log file are all fine (ie. report as Fri,
2005-07-01 etc.) so it looks like just the code for the mailheader the
is wrong.

I'm running firmware v2.10.17 on a v2 DG834G.

Can anyone running the latest firmware (v2.10.22) confirm whether this
is a problem with their router?

(incidentally, as well as the date not being accurate, it isn't even
logically correct - 1st Aug isn't a Friday this year!)

Thanks, David
  #2  
Old July 1st 05, 11:14 AM posted to uk.telecom.broadband
Brian McIlwrath
external usenet poster
 
Posts: 352
Default Date Bug in Netgear DG834G Log Files

David wrote:
: My Netgear DG834G sent me a log file this morning which it dated Fri, 1
: Aug 2005. The entries in the log file are all fine (ie. report as Fri,
: 2005-07-01 etc.) so it looks like just the code for the mailheader the
: is wrong.

: I'm running firmware v2.10.17 on a v2 DG834G.

: Can anyone running the latest firmware (v2.10.22) confirm whether this
: is a problem with their router?

Yes - as I have my home DG834G set such that I can login to it remotely
from work I can confirm these exact same symptoms occur with v2.10.22 - the
router knows it is 1st July, the log entries are correctly dated BUT
the mail header is wrong!
  #3  
Old July 1st 05, 11:24 AM posted to alt.internet.wireless,uk.telecom.broadband
Martin Underwood
external usenet poster
 
Posts: 251
Default Date Bug in Netgear DG834G Log Files

"David" wrote in message
...
My Netgear DG834G sent me a log file this morning which it dated Fri, 1
Aug 2005. The entries in the log file are all fine (ie. report as Fri,
2005-07-01 etc.) so it looks like just the code for the mailheader the is
wrong.

I'm running firmware v2.10.17 on a v2 DG834G.

Can anyone running the latest firmware (v2.10.22) confirm whether this is
a problem with their router?

(incidentally, as well as the date not being accurate, it isn't even
logically correct - 1st Aug isn't a Friday this year!)


This is also the case with my DG834GT with firmware V1.01.28 (the latest).
To say that 30 June is followed immediately by 1 August is a real howler!

Netgear really do have problems with their dates and times in email headers.
In the firmware that the router was supplied with, the Date field was
missing from the email (I was amazed to find that Date is an *optional*
field in an email!), then in V1.01.28 it was present but the offset from GMT
was wrong during summer months. Quite why they need a "Adjust for Daylight
Savings Time" field is byond me: Windows has cracked the daylight savings
issue by hard-coding it with the rules on the changeover dates that are
associated with each time zone - if you say you live in Britain (GMT:
London, Edinburgh) it uses the standard changeover dates (last Sunday before
21 March and first Sunday after 21 October, I think). And the time is
correct in the logs so why is it wrong in the emails, I wonder?


  #4  
Old July 1st 05, 11:30 AM posted to uk.telecom.broadband
Brian McIlwrath
external usenet poster
 
Posts: 352
Default Date Bug in Netgear DG834G Log Files

Martin Underwood wrote:

: This is also the case with my DG834GT with firmware V1.01.28 (the latest).
: To say that 30 June is followed immediately by 1 August is a real howler!

: Netgear really do have problems with their dates and times in email headers.
: In the firmware that the router was supplied with, the Date field was

It has all the signs of an array index bug. I have reported it via their
web-site.

: was wrong during summer months. Quite why they need a "Adjust for Daylight
: Savings Time" field is byond me: Windows has cracked the daylight savings
: issue by hard-coding it with the rules on the changeover dates that are
: associated with each time zone

I am fully behind Netgear on this one! The "rules" you talk about are complex
(when expanded to a global scale) and would take up FAR to much of the
(finite) flash memory for such a simple function! Almost all digital devices
(cameras etc.) do it the same way!

: 21 March and first Sunday after 21 October, I think). And the time is
: correct in the logs so why is it wrong in the emails, I wonder?

Array indexing error or number of days in June bug in the header creation
June.
  #5  
Old July 1st 05, 12:18 PM posted to alt.internet.wireless,uk.telecom.broadband
Martin Underwood
external usenet poster
 
Posts: 251
Default Date Bug in Netgear DG834G Log Files

"Anthony R. Gold" wrote in message
...
On Fri, 01 Jul 2005 10:37:15 +0100, David wrote:



I have no idea why Netgear added that Date: header line, they got both the
time of day (misses DST adjustments) and month name wrong and this header
is not even required by RFC. Mails from systems running 1.05.00 always
arrived with correct Date: lines for both time and month; the router
didn't put in any at all and so MTAs added correct ones.



Adding the Date line seems on the face of it to be a sensible idea (I wonder
why "Date" was not a compulsory field in the RFC?) because it is the one
date that *should* be correct, irrespective of any timezone or clock errors
in the intervening mail servers between sender and recipient. Also, it
probably makes more sense to record when the sender posted the email (ie
when it went into the outbox) rather than when it was received by the first
MTA in the chain (ie when the user later did a Send/Receive).

Looking back at the mails from the old firmware, the Date line was not added
by my ISP's mail server. Outlook Express did deduce a "sent date", but
presumably by examining the various "Received from xxx by yyy" lines as the
email hopped from one server to another. Is it in the RFC that an MTA should
add a Date line (synchonised to its own time) if one is not already present.
If so, mine isn't doing it.

Return-Path: my address
Delivered-To: my address
Received: (qmail 30341 invoked from network); 8 Apr 2005 17:25:36 -0000
Received: from unknown (HELO ptb-mxcore01.plus.net) (212.159.14.215)
by ptb-mailstore04.plus.net with SMTP; 8 Apr 2005 17:25:36 -0000
Received: from ptb-relay02.plus.net ([212.159.14.213])
by ptb-mxcore01.plus.net with esmtp (Exim) id 1DJxIc-00078X-3a
for my address; Fri, 08 Apr 2005 18:29:42 +0100
Received: from [router's IP] (helo=unknown)
by ptb-relay02.plus.net with smtp (Exim) id 1DJxEd-0007SR-WC
for my address; Fri, 08 Apr 2005 17:25:36 +0000
From: my address
Subject: NETGEAR Security Log [03:04:05]
To: my address
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-NAS-Bayes: #0: 3.49051E-010; #1: 1
X-NAS-Classification: 0
X-NAS-MessageID: 5259
X-NAS-Validation: {EA35B401-4DA7-4A2E-A352-2E50E37EDD26}


Given that Netgear routers have a UNIX-like operating system, you'd think
that there's been plenty of development time for them to get the date/time
handling sorted out. Does UNIX have the same sort of daylight savings
algorithms as Windows or is it a bit more simplistic - eg it only knows
about the American changeover dates. It's nearly 10 years since I worked on
UNIX so I can't remember whether it changes over on the correct dates.

How much spread is there in the changeover dates around the world? Do most
countries that have daylight savings time change around the spring and
autumn equinoxes, or are the dates dependent on latitude?


  #6  
Old July 2nd 05, 09:36 AM posted to uk.telecom.broadband
Phil
external usenet poster
 
Posts: 18
Default Date Bug in Netgear DG834G Log Files

On Fri, 1 Jul 2005 12:18:24 +0100, "Martin Underwood"
wrote:

"Anthony R. Gold" wrote in message
.. .
On Fri, 01 Jul 2005 10:37:15 +0100, David wrote:



I have no idea why Netgear added that Date: header line, they got both the
time of day (misses DST adjustments) and month name wrong and this header
is not even required by RFC. Mails from systems running 1.05.00 always
arrived with correct Date: lines for both time and month; the router
didn't put in any at all and so MTAs added correct ones.




I had a similar problem - think it was logging the date as 2002 or
something crazy.

I set mine to look at a different NNTP server. I use 192.43.244.18 (in
the security...schedule page). Now it reports the correct date but in
Winter (BST) time. If I remember, this is the NIST.GOV time server.

  #7  
Old July 2nd 05, 09:46 AM posted to uk.telecom.broadband
Brian McIlwrath
external usenet poster
 
Posts: 352
Default Date Bug in Netgear DG834G Log Files

Phil [email protected] wrote:

: I had a similar problem - think it was logging the date as 2002 or
: something crazy.

I think you will find that the touter (which has *NO* hardware clock!)
always STARTS in 2002! When it does the NTP lookup (after a couple of minutes)
it moves to the correct date and time!

: I set mine to look at a different NNTP server. I use 192.43.244.18 (in
: the security...schedule page). Now it reports the correct date but in
: Winter (BST) time. If I remember, this is the NIST.GOV time server.

There is a selection box to select Summer time. NTP returns UTC/~GMT
  #8  
Old July 2nd 05, 12:34 PM posted to alt.internet.wireless,uk.telecom.broadband
James Taylor
external usenet poster
 
Posts: 3
Default Date Bug in Netgear DG834G Log Files

In article ,
Martin Underwood wrote:

Windows has cracked the daylight savings issue by hard-coding it
with the rules on the changeover dates that are associated with
each time zone - if you say you live in Britain (GMT: London,
Edinburgh) it uses the standard changeover dates (last Sunday
before 21 March and first Sunday after 21 October, I think).


Actually the UK now just follows the European system of last
Sunday in March until last Sunday in October. Articles 2 & 3:

http://webexhibits.org/daylightsaving/eu.html

--
James Taylor, London, UK PGP key: 3FBE1BF9
To protect against spam, the address in the "From:" header is not valid.
In any case, you should reply to the group so that everyone can benefit.
If you must send me a private email, use james at oakseed demon co uk.

  #9  
Old July 2nd 05, 03:41 PM posted to alt.internet.wireless,uk.telecom.broadband
Martin Underwood
external usenet poster
 
Posts: 251
Default Date Bug in Netgear DG834G Log Files

"James Taylor" wrote in message
...
In article ,
Martin Underwood wrote:

Windows has cracked the daylight savings issue by hard-coding it
with the rules on the changeover dates that are associated with
each time zone - if you say you live in Britain (GMT: London,
Edinburgh) it uses the standard changeover dates (last Sunday
before 21 March and first Sunday after 21 October, I think).


Actually the UK now just follows the European system of last
Sunday in March until last Sunday in October. Articles 2 & 3:

http://webexhibits.org/daylightsaving/eu.html


I knew we followed the rest of the EU, but I thought it was the closest
Sunday to each equinox, which would have been a week or so earlier than the
last Sunday in March and October.

What dates do other countries around the world use? Are they all around the
same times of year?


  #10  
Old July 2nd 05, 05:08 PM posted to alt.internet.wireless,uk.telecom.broadband
Lars
external usenet poster
 
Posts: 1
Default Date Bug in Netgear DG834G Log Files


"Martin Underwood" wrote in message
...
"James Taylor" wrote in message
...
In article ,
Martin Underwood wrote:

Windows has cracked the daylight savings issue by hard-coding it
with the rules on the changeover dates that are associated with
each time zone - if you say you live in Britain (GMT: London,
Edinburgh) it uses the standard changeover dates (last Sunday
before 21 March and first Sunday after 21 October, I think).


Actually the UK now just follows the European system of last
Sunday in March until last Sunday in October. Articles 2 & 3:

http://webexhibits.org/daylightsaving/eu.html


I knew we followed the rest of the EU, but I thought it was the closest
Sunday to each equinox, which would have been a week or so earlier than
the last Sunday in March and October.

What dates do other countries around the world use? Are they all around
the same times of year?


try
http://www.worldtimezone.com/daylight.html

Lars


 




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BA: Netgear DG834G for £45 Andy Pandy uk.telecom.broadband (UK broadband) 16 December 27th 04 04:01 AM
Can't VPN using Netgear DG834G Peter Harding uk.telecom.broadband (UK broadband) 8 November 7th 04 09:49 AM
WPA-PSK with Netgear DG834G Ben Lings uk.telecom.broadband (UK broadband) 0 May 10th 04 09:59 AM
Netgear DG834G Scooby Doo uk.telecom.broadband (UK broadband) 9 January 6th 04 02:11 AM
Netgear DG834G Steve uk.telecom.broadband (UK broadband) 0 December 9th 03 12:45 PM


All times are GMT +1. The time now is 05:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.Content Relevant URLs by vBSEO 2.4.0
Copyright ©2004-2019 BroadbanterBanter.
The comments are property of their posters.