Hi All, I'm new to lua script development. I'm trying to get dissector = Dissector.get(lte-rrc.bcch.bch) but getting error "No such dissector" .I want to decode lte RRC message by identifying logical channel that is "on UDP port number 9999 will be receiving : 1 byte (Logical channel detail) + lte RRC Hex dump" based on 1st byte need to decode lte RRC hex dump. can you please help me on this . Thanks in advance. asked 07 Jun '16, 07:05 Senthil edited 07 Jun '16, 07:06 grahamb ♦ |
One Answer:
It's strange you get a different error than me (maybe a different Wireshark version), but the mistake you've made are just the missing quotes around the dissector name, you have to use
answered 07 Jun '16, 08:38 sindy |
Thanks sindy. Now i am not getting this error. I have a follow up question: Not seeing any impact when I'm using
tshark -r lte.pcap -X lua_script:sample.lua -X 'read_format:sample'
. My Code is below (modified the code based on available example in internet), please help me on thisHouse rules: any Answer must answer the original Question, all other posts are Comments. See site FAQ for details on this one and for other house rules.
Now I don’t understand what exactly did you expect to happen when you’ve used
-X ‘read_format:sample’
. Can you publish an example of your lte.pcap file (of at least several packets)? Normally the preferred way to publish captures is to upload them to Cloudshark, but as your one may be in an unusual format, any plain file sharing service (Dropbox, Google drive, …) is a better option in this exceptional case. Files have to be published login-free, that’s why I mention “several packets” if you are afraid of any privacy issues.