Hello I have a pcap file and am parsing it using tshark and wish dump the OSPF hello and dead intervals but there are no display filter names for these two attribtues (or many other OSPF attribtues). Dumping the hex value would be fine but I can't seem to find a filter that will give me these results. I was fiddling around with "ospf[x:y]" but that doesn't work. Does anyone have any ideas as to how I can dump these values? Thanks asked 30 Oct '13, 14:43 JohnAInDallas |
One Answer:
Apparently there are no fields for those two timers. They are shown as Meanwhile, here is what you can do: Run tshark with option -V. Then parse the output of tshark to extract the two values.
Strings to look for:
An alternative to -V is -T pdml (XML like output).
Finally you can print the text fields and then parse that output to extract the intervals
Output:
Regards answered 30 Oct '13, 15:11 Kurt Knochner ♦ edited 30 Oct '13, 15:49 |