Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you make packet "human readable"? #5

Open
jShaf opened this issue Oct 12, 2010 · 2 comments
Open

How do you make packet "human readable"? #5

jShaf opened this issue Oct 12, 2010 · 2 comments

Comments

@jShaf
Copy link

jShaf commented Oct 12, 2010

Based on the examples, I tried but to no luck being able to print out something readable from TCP or UDP rather than some raw bytes. Do you have any example that might be of a help here?

Thanks.

@akdrim
Copy link

akdrim commented Nov 16, 2010

Hi,
Do you have a response for your request ?

@knoopx
Copy link

knoopx commented Aug 2, 2011

Packet#body returns only the raw packet data. in order to get the inner payload you will have to manually parse it. you can use packetfu or any other protocol dissection library. this "thing" also looks promising https://github.com/pcapr-local/pcapr-local/tree/master/lib/mu/pcap , however I haven't used it yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants