Hi friends! I need to convert text to pcap, this is an example. Can you help me? Thanks! Julian
also I can obtain this other format
asked 13 Jun ‘12, 13:29 chochi |
2 Answers:
You could write a script that takes the second output and format that to something readable by text2pcap and then use text2pap to convert that to a libpcap format file. answered 13 Jun '12, 22:12 Anders ♦ |
just a few comments/thoughts:
It would be possible to write a converter script to format your log into "something" that text2pcap can read. However, one would have to insert a lot of fake data (like ethernet frame, ip frame, tcp ports) that are not in your log.
Regards answered 15 Jun '12, 01:32 Kurt Knochner ♦ Hi Kurt! I used Wireshark almost all days with SIP traffic, I don't really need the RTP traffic, only signalling. I work in a ISP provider and sometimes we have to analyse only errors on the network to know how the ASR goes. Unfortunately my company have new equipment (Huawei) and when you capture in a remote servers only capture SIP signalling, they export in proprietary format or in this two text options. They made my work harder because to find a complete call flow in all the SIP traces is a pain in the ass... Thanks anyway for your support! (15 Jun '12, 06:44) chochi 1
I see. What is that proprietary format used for? Do they offer a protocol analyzer for it? Please check Homer. It looks like it can talk to Huawei equipment and the capture agent on it. This is just a wild guess, as I don't know Homer personally!
(15 Jun '12, 07:17) Kurt Knochner ♦ |
The idea is to know if somebody known how to do that :) I don't know how to do what you said Anders. Thanks for your answer anyway.