Skip to content

naoto-ogawa/wireshark-plugin-mysql-xprotocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wireshark plugin for MySQL XProtocol

Description

A dissector plugin for MySQL XProtocol

Screen shot

Screen shot

Requirement

Install and Setup

  • Get the xprotocol.lua file. (copy or clone)

  • Put the file into the Wireshark plugin folder.

  • Run Wireshark.

      $ git clone https://github.com/naoto-ogawa/wireshark-plugin-mysql-xprotocol
      $ cp wireshark-plugin-mysql-xprotocol/src/xprotocol.lua ~/.config/wireshark/plugins
      $ wireshark
    
  • Check installed correctly.

    • Menu -> About Wireshark -> pugin -> find the xprotocol.lua in the plugin list.

      (*1) install check

  • Start or restart MySQL if necessary.

    • Remember the port of MySQL.

          $ mysql.server restart --mysqlx_port=8000
      
    • Note that Wireshark can't work on the default port 33060 on my environment.

  • Set the port number of MySQL in the plugin preference.

    • Menu -> Preference -> Protocols -> XPROTOCOL -> server port

      (*2) set the port number

Examples

You can find a lot of example packets in the data directory.

Blog Post : Looking into the details of XProtocol Pipelining (in Japanese)

Test

I only tested the plugin with my local MySQL on my local Mac.

License

GPL

You should check Beware the GPL in the Wireshark Wiki.

Author

naoto-ogawa

Worklog

  • 2018/Feb/22
    • Add UTF-8 support

      A packet including emoji

About

a wireshark dissector plugin for MySQL XProtocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages