https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5627
Summary: DHCPv6 dissector formats DUID_LLT time incorrectly
Product: Wireshark
Version: 1.5.x (Experimental)
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: bej@xxxxxxxxx
Created an attachment (id=5810)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5810)
DHCPv6 Solicit packet capture
Build Information:
Version 1.5.0 (SVN Rev 35637 from /trunk)
Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> 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 (32-bit) with GTK+ 2.16.6, with GLib 2.24.2, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jan
24 2011), with AirPcap.
Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.2
(packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), 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.
--
The DHCPv6 dissector formats a client DUID as follows:
Client Identifier: 0001000114d4a26900145e475d16
Option: Client Identifier (1)
Length: 14
Value: 0001000114d4a26900145e475d16
DUID type: link-layer address plus time (1)
Hardware type: Ethernet (1)
Time: Jan 23, 2001 20:12:25 Central Standard Time
Link-layer address: 00:14:5e:47:5d:16
The time in this DUID (14d4a269) should indicate a date/time sometime on Jan
27, 2011 since it's the number of seconds since Jan 1, 2000 UTC.
packet-dhcpv6.c (line 1144 in 1.5.0 source downloaded today) adds 630822816U to
the time value extracted from the DUID. I think this should be 946684800U
instead if it's trying to convert from a 1/1/2000 base time (RFC 3315 DUID-LLT
format) to a 1/1/1970 base time.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.