-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Pcap-analyzer for Voip and VoLTE pcaps #1
Comments
Hi, I do not know all these protocols well, so my answer may miss some elements. From what I understand, it may not very very easy. The main reasons are:
In the current state, what can be done is add a plugin to the network or transport layers (or both), and call decoding functions recursively. You'll be able to call To keep information from different layers is a different thing. Currently, plugins store hashmaps of whatever they want, the key usually being the identifier of the flow. I'm still trying to think of a global/easier solution, but Rust makes it quite hard due to borrowing/ownership issues :/ |
Additional thoughts: Having a standalone plugin is better if you'll use your own parsers, and already know how to identify / track the protocol. Rusticata is useful if you want to use the existing probing mechanisms, so I think it would not be the case here. You only have to link your plugin (like the Note that even if you add them in the rusticata plugin, it is not mandatory to have them in the rusticata crate, they only have to share the same interface. |
Not sure what do you mean by existing probing systems? We extract this informaiton from Telco grade probes and the dissectors exist on tshark/wireshark so there is no problem on supporting decding them. Thanks for the help, I'll let you know the outcome. |
What is called probing in PAL is the protocol identification functions and logic, to be able to recognize for ex. TLS independently of the port number. I'm not sure you need it here. |
Hi,
Based on the answer on Can't build pcap-parser #5 " Depending on what you want to do, I can provide some hints on what is better to choose": I am looking to work on pcaps contianing protocols such as GTP, RTP, RTCP, SIP, S1AP, DIAMETER and parse specific attributes within the applicaiton layer, some attributes from FRAME and Transport layers as well but mainly on application layers.
Is this something currenlty possible? Any hint or recommendation on how to use it for Application layers?
The text was updated successfully, but these errors were encountered: