Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-bugs: [Wireshark-bugs] [Bug 2763] New: when try to decrypt ssl in pdml or psml --> ERROR:(print.c: 707):get_field_data: code should not be reached

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: bugzilla-daemon@xxxxxxxxxxxxx
Date: Fri, 1 Aug 2008 03:11:22 -0700 (PDT)

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2763

           Summary: when try to decrypt ssl in pdml or psml -->
                    ERROR:(print.c:707):get_field_data: code should not be
                    reached
           Product: Wireshark
           Version: 1.0.0
          Platform: PC
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: riccardo.bacchiorri@xxxxxxxxx


Build Information:
TShark 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 GLib 2.16.1, with libpcap 0.9.8, with libz 1.2.3.3, with POSIX
capabilities (Linux), with libpcre 7.4, without SMI, with ADNS, with Lua 5.1,
with GnuTLS 2.0.4, with Gcrypt 1.2.4, with MIT Kerberos.

Running on Linux 2.6.24-19-generic, with libpcap version 0.9.8.

Built using gcc 4.2.3 (Ubuntu 4.2.3-2ubuntu7).

--
We installed tshark to monitor internal HTTPS CLIENT/SERVER session.

The command we give is :

tshark     -f "port 443" -t e -T psml    -V -i eth0  
or
tshark     -f "port 443" -t e -T pdml    -V -i eth0  


We configure preferences file :~/.wireshark/preferences.

ssl.keys_list:
192.168.254.114,443,http,/root/script/crypto_annuser/cert/apache_nopwd.key
ssl.debug_file: ~/script/crypto_annuser/log/debug_ssl.log


When we try to capture traffic from command line, tshark stops with error:
<field name="ssl.record.length" showname="Length: 32" size="2" pos="57"
show="32" value="0020"/>
      <field name="ssl.alert_message" showname="Alert Message" size="2" pos="0"
show="" value="">
**
** ERROR:(print.c:707):get_field_data: code should not be reached
        <field name="ssl.alert_message.level" showname="Level: Warning (1)"
size="1" pos="0" show="1" value="Aborted

If we use -T text or fields, or disabling flag -V, all seems ok.


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

  • Prev by Date: [Wireshark-bugs] [Bug 2752] Add Ethernet Global Data dissector
  • Next by Date: [Wireshark-bugs] [Bug 1662] Allow customized port protocol mapping
  • Previous by thread: [Wireshark-bugs] [Bug 2752] Add Ethernet Global Data dissector
  • Next by thread: [Wireshark-bugs] [Bug 1662] Allow customized port protocol mapping
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation