Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2659] New: Wrong Interpretation of SIP Header Fields conta

Date: Sun, 29 Jun 2008 05:30:46 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2659

           Summary: Wrong Interpretation of SIP Header Fields containing
                    IPv6 Addresses
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: flat1984@xxxxxxxxxxxxxx


Created an attachment (id=1931)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=1931)
Sample SIP packet capture

Build Information:
wireshark 1.0.0

Copyright 1998-2008 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 with GTK+ 2.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.5,
with ADNS, with Lua 5.1, with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804
--
There seems to be a problem concerning SIP Header Fields containing IPv6 URIs.
Wireshark doesn't take care of the square brackets, that is why the second 16
Bit of the IPv6 address are interpreted as port number.

Example:

The Header Field Via

Via: SIP/2.0/UDP
[2001:678:900:a63:20c:29ff:feb7:6495]:5060;branch=z9hG4bK597112326

is interpreted as follows:

Transport: UDP
Sent-by Address: [2001
Sent-by port: 678


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