For a java project i'm working on, I need to be able to take a raw (binary) ethereal capture file (.cap), which is written in libpcap format, and convert the info inside of it to ASCII text so it is human readable. the catch is that I want to be able to do it with as few external dependencies as possible.
I would hazard a guess that writing a parser of my own to handle the raw data would be tricky (correct me if i'm wrong), so I'm ok if I need to include a .jar file or something i can easily package into my project's .jar. what i'm trying to avoid is having to search the registry or environment variables and relying on some particular programs (such as tethereal or tcpdump) to be installed.
any suggestions are appreciated
I would hazard a guess that writing a parser of my own to handle the raw data would be tricky (correct me if i'm wrong), so I'm ok if I need to include a .jar file or something i can easily package into my project's .jar. what i'm trying to avoid is having to search the registry or environment variables and relying on some particular programs (such as tethereal or tcpdump) to be installed.
any suggestions are appreciated