Wireshark-bugs: [Wireshark-bugs] [Bug 4766] New: Arrival Time is off by 1 hour
Date: Fri, 14 May 2010 07:07:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4766

           Summary: Arrival Time is off by 1 hour
           Product: Wireshark
           Version: 1.2.7
          Platform: All
        OS/Version: Windows 7
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=4650)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4650)
A packet example pcap file with the descripted problem

Build Information:
Version 1.2.7 (SVN Rev 32341)

Copyright 1998-2010 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.16.6, with GLib 2.22.4, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, without libpcre, without SMI, with
c-ares 1.7.0, with Lua 5.1, with GnuTLS 2.8.5, with Gcrypt 1.4.5, without
Kerberos, with GeoIP, with PortAudio V19-devel (built Mar 31 2010), with
AirPcap.

Running on 64-bit Windows 7, build 7600, with WinPcap version 4.1 beta5
(packet.dll version 4.1.0.1452), based on libpcap version 1.0.0, GnuTLS 2.8.5,
Gcrypt 1.4.5, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
I have a packet (attached) with WinPcap arrival time of 1093430201 seconds.
This is of course seconds since UTC Time January 1st, 1970 00:00:00 so some
calculation is needed:
1093430201 seconds = 12655 days + 10 hours + 36 minutes + 41 seconds.
January 1st, 1970 00:00:00 (UTC Time) + 12655 days + 10 hours + 36 minutes + 41
seconds = August 25th, 2004 10:36:41 (UTC Time).

When converting from August 25th, 2004 10:36:41 (UTC Time) to Local Time
(Israel) using Microsoft .NET4.0, I'm getting August 25th, 2004 12:36:41 (Local
Time).

However, Wireshark displays the timestamp as:
Arrival Time: Aug 25, 2004 13:36:41.000000000

This doesn't happen for every packet timestamp, but I could find timestamps
that were bad in every year but 2010.

I believe this is a bug in Wireshark GUI.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.