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

Is data represent by wireshark in windows and linux FC5 is different?

0

My Windows-7 machine received UDP packet which further trace by wireshark , my first UDP packet start with data "2c991002" and this is correct data which i am expecting.

same exercise i am doing on fedora-5 machine and show my first UDP packet start with data "043dd720"

why this data differ is linux based wireshark have different data representation scheme...?

please help me out...

asked 03 Jan '13, 03:34

kaushal's gravatar image

kaushal
1223
accept rate: 0%

As suggested i have upload the wireshark capture file "on Fedora-5 Machine.pcap" and "on Windows-7 Machine.pcap" for further analysis.

Source (MPEG-4 Encoder card)IP :192.168.1.200 at port 8

Destenation IP:

  1. Windows-7: 192.168.1.202 at port 8080
  2. Linux FC5: 192.168.1.66 at port 8080

First UDP packet Contain MPEG-4 Sequence Header (For VLC to understand that this is MPEG4 Video stream): that is

  1. 0x2C991002
  2. 0x409A1002
  3. 0x929A1002
  4. 0xE09A1002
  5. 0x000001B0
  6. 0xF5000001
  7. 0xB50CCF00
  8. 0x00010000
  9. 0x00012008
  10. 0xD4958800
  11. 0xCE185821
  12. 0x20A0C100

Regards

kaushal

(04 Jan '13, 04:38) kaushal

So what are the URLs for those captures? Cloudshark appears to have been designed to be write-only - there's plenty of functionality for uploading, but I can't find any way to browse for captures.

(05 Jan '13, 14:35) Guy Harris ♦♦
(06 Jan '13, 19:45) kaushal

3 Answers:

0

If those aren't the exact same packet, captured at the exact same time, this may just mean that those two packets have different contents; there's no difference in the data representation in capture files on Wireshark and Linux.

answered 03 Jan '13, 12:05

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Hello Harris,

Thanking you for your reply, i have repetitively do this exercise , i mean giving data to windows based Wireshark and then Fedora core-5 based Wireshark, but i got the different result, Data source remain the same for both Exercise.

can you suggest what are the possible resion.

(03 Jan '13, 19:38) kaushal

Can you post the two packets somewhere? by "Data" you mean the actual UDP payload, correct?

(03 Jan '13, 20:04) hansangb

i have .pcap files from both machine ...as i am new user on this forum ...please tell me how to i attached these two file on this post

(03 Jan '13, 21:58) kaushal

From Window-7

0000 bc 30 5b e7 b6 7e 00 08 dc 15 ce e3 08 00 45 00
0010 04 1c 00 01 40 00 80 11 71 ed c0 a8 01 c8 c0 a8
0020 01 ca 00 08 1f 90 04 08 75 99 2c 99 10 02 40 9a
0030 10 02 92 9a 10 02 e0 9a 10 02 00 00 01 b0 f5 00
0040 00 01 b5 0c cf 00 00 01 00 00 00 01 20 08 d4 95
0050 88 00 ce 18 58 21 20 a0 c1 00 00 00 01 b6 28 30

0060 66 c2 72 bb bf 4a cb 51 3b 3e b3 96 4c 6f f8 55
0070 72 2f 24 a4 e9 52 d6 a4 a2 0b 7a 48 a6 d3 e5 99
0080 54 d5 57 15 f0 0c e7 67 4d ca 4f 27 09 88 9c 7d
0090 46 f6 cd fd 2a 78 ce 7c 15 bc 51 72 e2 9d e1 25
00a0 e2 2e 8a eb 47 75 11 6b 6a 41 5f 5c 4f 4a c8 86
00b0 49 cb bf cb 4a b4 5c f2 a1 e3 0e b6 8f 9b 66 e4
00c0 9a cb 72 9b 53 42 53 c3 df 0f 78 a5 81 25 5c 07
00d0 88 ff d5 98 2e 86 47 ed 0e eb 1b f8 8f 32 f3 7d
00e0 a1 df 81 81 60 f1 6b 7b 9b e2 df 5e ad d7 22 83
00f0 ce a4 f8 6c 18 c1 0c 47 55 70 72 97 ed b5 06 fb

from Fedora Core-5

0000 00 0f 20 74 8a 7e 00 08 dc 15 ce e3 08 00 45 00
0010 04 1c 00 01 40 00 80 11 72 75 c0 a8 01 c8 c0 a8
0020 01 42 00 08 1f 90 04 08 5f 67 04 3d d7 20 59 32
0030 20 04 81 34 20 05 25 34 20 05 c1 34 20 04 00 00
0040 03 61 ea 00 00 03 6a 19 9e 00 00 02 00 00 00 02
0050 40 11 a9 2b 10 01 9c 30 b0 42 41 41 82 00 00 00
0060 03 61 ea 00 00 03 6a 19 9e 00 00 02 00 00 00 02
0070 40 11 a9 2b 10 01 9c 30 b0 42 41 41 82 00 00 00
0080 03 6c 20 c5 e6 50 76 db 78 c9 57 ff 8b 20 da e1
0090 80 7e ac 18 39 6c 18 63 a1 2a 82 48 32 31 32 ff
00a0 69 f9 96 54 ae cb 60 c3 1d 09 48 6e ec 5c 73 f5
00b0 c1 53 a1 2a 5e 23 ba a3 51 2e 7a 76 b0 82 df 0a
00c0 bf a3 3d 79 46 af ec 2b fe 82 3b d5 bd 45 20 a0
00d0 db 5e fa 91 53 cb 47 b5 11 6e 82 3b fd ba 04 74

(04 Jan '13, 00:32) kaushal

Those two packets are totally different.

  • different destination IP address
  • different length
  • different content/payload

If you think they should be the same, can you please tell us how you generated them.

BTW: The timestamp is different too. So, this is either not a capture you did at the same time (in the VM and on the host), or there is a time difference between the two hosts. Can you please add information if you did the capture at the same time, and thus expected to see the same packet?

Regards
Kurt

(04 Jan '13, 00:46) Kurt Knochner ♦

The destination MAC addresses of those packets are also different (bc:30:5b:e7:b6:7e vs. 00:0f:20:74:8a:7e), as are the destination IP addresses, and most of the data in the UDP payload. Perhaps the program/machine that is sending those packets is sending different data to different destination machines. What is the program/machine that is sending them?

(04 Jan '13, 00:49) Guy Harris ♦♦

I have MPEG4 Elementry Bit stream coming out from a MPEG-4 Encoder in UDP format which i stream out to VLC Player.

i have full control on encoder, where to send this Data, initially i forward this data toward windows-7 machine and Simultaneously trace the data on wireshark. i got the correct sequence having MPEG-4 Header Sequence that is 0x2C991002,0X409A1002....etc.

then i do the same exercise targeting Linux Fedora Core-5 machine ..i mean i stream out my MPEG-4 Data sequence on linux machine and simultaneous trace this data on wireshark but i got different sequence which always start with 0x043d....and this happen again and again.

Regards

Kaushal

(04 Jan '13, 01:21) kaushal

So is the sending machine running the MPEG-4 encoder and sending out the UDP packets? And, in both cases, is the same machine sending out the same stream? (You say "stream out my MPEG-4 Data sequence on linux machine" - does that mean that the sending machine is the "linux machine" there?) And is there any negotiation happening between the sending and receiving machine that might cause the encoder to send out a different stream?

(04 Jan '13, 01:41) Guy Harris ♦♦

MPEG4 Stream send by a MPEG4 Encoder Card running stand alone, sending unit is not any PC/machine and it work on 100BaseT , linux machine also work at 100BaseT

At Encoder end (Video encoder Card) Auto-negotiation is not supported but at linux (PC) end it is there.

Regards

Kaushal

(04 Jan '13, 03:21) kaushal

He's talking about media session negotiation, not Ethernet negotiation.

If you can post the two captures to cloudshark.org that would be helpful.

(04 Jan '13, 04:32) Jaap ♦
showing 5 of 10 show 5 more comments

0

-- The captures linked to in the comment in the previous answer are certainly different in detail.

That is: the UDP data for the main UDP stream begins as you indicate for each capture.

(The captures do, however, both have similar looking patterns of repeated bytes).

So; Assuming that the captures are "equivalent" (e.g., that each conversation 'starts at the beginning' it would seem that the MPEG4 may be somehow encoded differently in each case. I've no idea why.

(Note: Wireshark just shows the data as it is received on the wire. There's no issue of "linux based wireshark have[ing a] different data representation scheme".

-- Based upon the timestamps & your description, each of the captures is of a different session.

Also (as you indicate) it seems that the data is being received by a VLC client on each system (first: windows (on x86 32bit or 64bit) (second: Fedora 5 on unknown architecture with an HP NIC).

My random comment knowing nothing about MPEG4 and etc.

Is there some kind of setup (protocol handshake or something) which must occur between VLC and the encoder before the MPEG4 streaming can begin ?

If so, might there something about the setup which controls how the data is sent ?

(The captures don't show any setup, but they begin just before the streaming begins ...).

answered 06 Jan '13, 22:40

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%

edited 06 Jan '13, 22:42

Hello There,

There is No hand Shaking as i am using UDP protocol....., MPEG-4 Encoder continouselly transmitting MPEG4 stream, and time to time it insert the sequence header "2c 99 10 02 40 9a..." for Std. Player like VLC to understand the video sequence.

my setup is like

MPEG-4 Encoder----->NETWORK----->WINDOWS-7--->WIRE-SHARK + VLC Player

VLC player Play Data as wireshark show correct sequence header

MPEG-4 Encoder----->NETWORK----->FEDORA-5 --->WIRE-SHARK + VLC Player

wireshark show in-correct sequence header

regard

Kaushal

(07 Jan '13, 22:32) kaushal

There is No hand Shaking as i am using UDP protocol....., MPEG-4 Encoder continouselly transmitting MPEG4 stream

Continuously transmitting to a broadcast or multicast IP address, or continuously transmitting to one or more specified unicast IP addresses?

Obviously, it's not literally "continuous" since the Big Bang, so, if it's transmitting separately to one or more unicast addresses, the two transmissions didn't necessarily start at the exact same time; did you arrange that the MPEG-4 encoder started the transmission to the Windows machine and to the Linux machine at the exact same time?

(07 Jan '13, 23:40) Guy Harris ♦♦

MPEG-4 Encoder continouselly transmitting MPEG4 stream

some questions:

  • what is the streaming protocol used?
  • How did you configure VLC to receive the MP4 stream (vlc parameters)?
  • what is the streaming server brand/product?
(08 Jan '13, 01:30) Kurt Knochner ♦

0

Hello There,

It continuously transmitting to one machine having specific IP address and POrt.

Before Starting my Encoder i have to decide where to stream my Video Data, Either Linux FC5 or Windows 7 machine it is not simultaneously transmitting to both machine.

as my VLC player not played continuous Video Stream on Windows Machine so i decide to stream this data on linux machine but in linux machine i found there is no sequence header in received udp header. every time i stream data to linux machine and trace this data through wireshark it show 04 3d in first UDP packet it is suppose to be sequence header that is 2C991002 , as in case of windows-7

  1. Streaming Protocol is UDP
  2. Media-->Open Network Stream: Select Protocol(UDP), IP(192.168.1.200) and Port (8080) & then Play.
  3. Its a Analog Device hardware which give's MPEG-4 Elementary Stream

answered 08 Jan '13, 20:18

kaushal's gravatar image

kaushal
1223
accept rate: 0%