Wireshark-bugs: [Wireshark-bugs] [Bug 6396] Added cursor type decoding to MySQL dissector
Date: Thu, 29 Sep 2011 10:13:40 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6396

--- Comment #8 from András Veres-Szentkirályi <[email protected]> 2011-09-29 10:13:40 PDT ---
(In reply to comment #5)
> The mysql dissector has code to store "per-conversation" (connection) info. 
> See dissect_mysql_pdu() and mysql_dissect_greeting().
> 
> I see that mysql_dissect_greeting() dissects a "version" string. If the string
> has well-defined values for the mysql version, then maybe a version number can
> be saved in the conversation data (mysql_conn_data_t) in a manner similar to
> the way done for the "caps".
> could 
> 
> The default for "version" (if no greeting seen) could be whatever is most
> appropriate: V5 ?

I attached a new diff and a capture containing a MySQL 5.x greeting. Without
greeting, it assumes V4, it can be checked using the older capture.

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