This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Can I use Wireshark as a sniffer on Modbus/TCP traffic? Can I use it for simulating either a Modbus/TCP client or a server?

asked 14 Mar '12, 19:54

mshani's gravatar image

mshani
1111
accept rate: 0%

edited 14 Mar '12, 22:23

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


Can I use WireShark as a sniffer on Modbus/TCP traffic?

Wireshark includes, at least in the top of the SVN trunk, a Modbus/TCP dissector:

$ tshark -G protocols | egrep -i modbus
$ CIP Modbus Object CIPMB   cipmb
$ Modbus    Modbus  modbus
$ Modbus/TCP    Modbus/TCP  mbtcp

and I think that was added before the 1.6 release, so 1.6.x, and possibly earlier releases, should have it, so you should be able to decode and analyzer Modbus/TCP traffic on any network on which Wireshark can capture traffic.

Can I use it for simulating either a Modbus/TCP client or a server?

No. Wireshark is a packet sniffer (network analyzer), not a network simulator.

permanent link

answered 14 Mar '12, 22:23

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×32

question asked: 14 Mar '12, 19:54

question was seen: 6,336 times

last updated: 14 Mar '12, 22:23

p​o​w​e​r​e​d by O​S​Q​A