[erlang-questions] extract and parsing megaco message from pcap file

Zsolt Czinkos czinkos@REDACTED
Fri Apr 8 09:39:02 CEST 2011


Thank you guys, they look promising.

czinkos

On Thu, Apr 7, 2011 at 2:58 PM, Michael Santos <michael.santos@REDACTED> wrote:
> On Thu, Apr 07, 2011 at 01:47:42PM +0200, Zsolt Czinkos wrote:
>> Hello
>>
>> Anyone has ever done something similar to this?
>>
>> I'd like to process pcap files containing megaco messages (among
>> others). I'd like to filter and extract and parse megaco messages from
>> this file and produce some human readable format.
>
> For reading the pcap files, you could use epcap (which uses libpcap)
> or Anders Nygren's pran (which reads the pcap file using Erlang):
>
> https://github.com/msantos/epcap
> https://github.com/nygge/pran
>
> For fun, I've used epcap to dump HTTP responses, doing the parsing with
> httpc (httpc is awesome!):
>
> https://github.com/msantos/perv
>
> You might be able to do something similar and pass off the data to the
> Erlang megaco module but I don't know anything about megaco.
>



More information about the erlang-questions mailing list