Hi, I have an application, that I would like to check if is using bidirectional traffic. Is possible to check these with wireshark? Thanks and sorry for my English! asked 16 Jun '16, 09:30 absolut |
One Answer:
Yes, you can see bidirectional traffic in Wireshark. answered 16 Jun '16, 09:46 Amato_C |
Thanks... but how could I can identificate?
Wireshark will show ingress/egress traffic to/from the capture point. Look at the Source address. Ingress traffic will have the Source address as the capture point. Egress traffic will have a different source address.
Sorry I understand that the bi-directional communication always begin by source ip to destination ip, and communicates by the same port. So if I see like these:
It seems that is not bi-directional no? thanks!
It is bidirectional. The port numbers the participants use are independent of each other and tshark doesn't show them by default.
So one participant uses IP address
x.x.x.x
portXXXX
and the other one uses IP addressy.y.y.y
portYYYY
. One direction of the communication is thenx.x.x.x:XXXX -> y.y.y.y:YYYY
, the other direction isy.y.y.y:YYYY -> x.x.x.x:XXXX
.Besides, tshark shows the name of the highest-level protocol it could find in the frame. So if a transport protocol (TCP in your case) is used to convey PDUs of an application protocol (GIOP in your case), the frames which carry any GIOP as TCP's payload are marked as GIOP ones; the frames belonging to the same TCP session but carrying only TCP's overhead are marked as TCP ones (frame 12337 in your example).