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

What is the reason for Malformed Packet Error ?

0

Hi Folks,

Kindly share the exact reason for below wireshark Errors.

  1. Malformed GSM Over IP (Malformed Packet Exception Occurred)
  2. Malformed RSL (Malformed Packet Exception Occurred)
  3. Malformed T.38 (Malformed Packet Exception Occurred)
  4. Malformed Bundle (Malformed Packet Exception Occurred)

asked 03 May '16, 13:28

jimmy2016's gravatar image

jimmy2016
6223
accept rate: 0%

This cannot be answered without the respective capture files, as there may be many different reasons.

In general, any frame (or part of it) is marked as malformed if the dissector finds data in it which do not match the grammar the dissector uses to dissect the frame. So data may be missing due to packet truncation, or there may be some protocol extension unknown to the dissector, or the actual protocol may be a different one than the dissector expects - e.g. as soon as an SDP re-negotiation changes the codec from G.729 to T.38, Wireshark starts applying a T.38 dissector to any UDP packet to/from the media sockets of the session, but in fact the change may not have happened that quickly, so still a couple of G.729 packets follow the SDP re-negotiation before real udptl/t38 packets occur.

And, of course, there may also be a bug in the dissector code.

(03 May '16, 13:48) sindy

Thanks Buddy !

Could you also please help me find out the reason for Warning 1. "TCP: ACKed segment that wasn't captured (common at capture start)"
2. HTTP: Unencrypted HTTP protocol detected over encrypted port, could indicate a dangerous misconfiguration"

(03 May '16, 14:28) jimmy2016

One Answer:

2

The reasons why a "Malformed Packet" error occurs are either

  1. the packet isn't valid according to the specification for the protocol
  2. the packet is valid but the Wireshark dissector for it has a bug;
  3. the packet isn't a packet for the protocol in question but is being dissected as a packet for that protocol by Wireshark.

The answer could be different for those four examples; we would have to see the actual network traces to see, for each of them, what the reason is.

answered 03 May '16, 13:46

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%