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

Hello I have develop a electronic card (client) for connect to a commercial controler(server) in modbus TCP. Can you tell me why the server don't answer, to modbus tcp, my ip is 192.164.0.34. Thanks

http://cloudshark.org/captures/4b8f9f3579b3

asked 16 Jan '14, 05:45

gregoire's gravatar image

gregoire
26114
accept rate: 100%


I have found the problem, i have not the same source port between the 7 (SYN) and 8(modbus) frame , but wireshark have not detect the problem!

Thanks

permanent link

answered 16 Jan '14, 08:19

gregoire's gravatar image

gregoire
26114
accept rate: 100%

That's a very odd TCP client.

As Wireshark is a packet analyzer not a Modbus master\slave, it doesn't particularly care that the "conversation" isn't proceeding using the same TCP stream as it just dissects the data seen on the wire. In particular consider a capture made after the start of the initial part of the conversation, Wireshark should still be able to dissect the traffic it has seen. Note that this isn't true for all protocols.

You can set Wireshark to display the ports used as columns and that may have lead to you (and me) spotting this earlier.

(16 Jan '14, 09:18) grahamb ♦

There seems to be some sort of connection issue between the client and the server. The server never responds to the client Modbus\TCP messages, and a long time later sends dup ACKS to the client SYN.

permanent link

answered 16 Jan '14, 06:48

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

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:

×752
×32

question asked: 16 Jan '14, 05:45

question was seen: 2,724 times

last updated: 16 Jan '14, 09:18

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