Hi Experts, Problem statement : I have big trace (>300 MB) which has radius and diameter requests. Username fields in both protocol are common for specific user's session lifetime - which I am treating as key for filtering traffic. I want to filter requests wherein I will get complete list (diameter and radius) of messages (requests and response) for user's entire session (as long as packets are available in trace :-) ) I wrote following MATE code :
I tried to apply filters asked 19 Dec ‘16, 08:19 Vijay Gharge edited 19 Dec ‘16, 08:22 |
One Answer:
At least that's the theory... Based on my memory... And it's been a while since I've used MATE. BTW what version of Wireshark are you using? answered 21 Dec '16, 18:51 JeffMorriss ♦ Hi Jeff, Thanks for suggestion. I have managed to solve issue partially. Following MATE code give me complete life-cycle of the user with few caveat i.e.
Apologies, I couldn't format below message properly hence marked as answer. But voted your earlier message as Solution :-) Code :
(25 Dec ‘16, 14:13) Vijay Gharge Glad you’re making progress. :-) I converted my comment to an answer your your answer to a comment (more or less as you suggested). A note on formatting: yes, I frequently compose my comments in the answer window and then cut-n-paste it into the comment window. It makes the formatting easier…
(27 Dec ‘16, 07:34) JeffMorriss ♦ |
So what kind of data do you get?
Do the Radius and Diameter parts work independently (i.e., does the Diameter GOP give you all the packets for that user?)?
In general I’d think what you’re trying to do should work. I don’t (yet) see what the problem is though…
Thanks Jeff for response.
I can extract diameter / radius messages for specific user i.e. “123456789”. However I don’t see relevant “response messages” irrespective of radius or diameter. I am not sure what exactly is missing
Since there are number of such users - I have to choose 1 user at a time & then apply mate.radius_diameter.username == “$username” filter. This approach just looks impossible. I will have to spend days to filter through complete trace
As a end result - I want to extract complete list of messages across radius & diameter - wherein “diameter.Result-Code == 5002”
Kindly guide me through this. Thanks in advance.