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

lte dissector on top of PGM protocol

0

I am using wireshark 1.10.6 on Ubuntu 14.04. I am able to dissect lte packets which comes over UDP. Thus all lte packets details are visible in wireshark. But I want to use PGM protocol for LTE stack development. I want to put LTE packet details on top of PGM protocol. There is no settings available for PGM protocol to dissect LTE packets. Like for UDP, setting avalable is "Try heuristic LTE-MAC over UDP framing". Is anyone have any idea? Is there any way so that I can use to build LTE frame on top of PGM protocol?

asked 21 Nov '14, 06:08

atul's gravatar image

atul
1114
accept rate: 0%

edited 21 Nov '14, 06:10


One Answer:

1

You need to modify the source code so that LTE-MAC dissector registers itself in the PGM heuristic table (assuming that you use the same framing protocol than on UDP). Something like:

--- a/epan/dissectors/packet-mac-lte.c
+++ b/epan/dissectors/packet-mac-lte.c
@@ -7282,6 +7282,7 @@ void proto_reg_handoff_mac_lte(void)
 {
     /* Add as a heuristic UDP dissector */
     heur_dissector_add("udp", dissect_mac_lte_heur, proto_mac_lte);
+    heur_dissector_add("pgm", dissect_mac_lte_heur, proto_mac_lte);
 /* Look up RLC dissector handle once and for all */
 rlc_lte_handle = find_dissector(&quot;rlc-lte&quot;);</code></pre></div><div class="answer-controls post-controls"></div><div class="post-update-info-container"><div class="post-update-info post-update-info-user"><p>answered <strong>21 Nov '14, 06:51</strong></p><img src="https://secure.gravatar.com/avatar/713f24fd877861260b71ecd455018625?s=32&amp;d=identicon&amp;r=g" class="gravatar" width="32" height="32" alt="Pascal%20Quantin&#39;s gravatar image" /><p><span>Pascal Quantin</span><br />

5.5k1060
accept rate: 30%

Hi pascal, Thank you for your suggestion. I have checked the source code, I think it will work.

(23 Nov ‘14, 20:40) atul

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(24 Nov ‘14, 00:37) grahamb ♦