-
Notifications
You must be signed in to change notification settings - Fork 861
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
A way to exclude protocol headers out of data dump is needed #654
Comments
Actually, the right way to handle the issue in the question is probably to have tcpdump print port 6667 traffic as a text protocol, the way it prints port 80 traffic, for example. But, yes, the ability to limit the hex and ASCII dumps might be useful. Unfortunately, So what might be useful is a flag that 1) affects |
Just an idea: maybe something like |
If you want to see SMTP, current versions of tcpdump should just dump it as text:
|
A "show me the transport-layer payload" option would handle that - |
Yes, that's correct. But I meant to suggest that the action the original requestor wanted (hexdump) could only happen after the parameter has been decremented n times, regardless of particular protocol. It just crossed my mind as I was reading through the comments, so I decided to write it down before I forget. Feel free to disregard. |
Skipping a specified number of (potentially variable-sized) headers might be more useful than skipping a specified amount of bytes (as discussed in #427). Anyway, would anybody like to work on such a feature anytime soon? |
There's an option -X which says
It would indeed be handy for analysing a protocol, except that its hex dump still includes tcp headers, which makes it very hard to see the actual data.
There's this question with 21.5k views which suggests it's a very popular problem.
The text was updated successfully, but these errors were encountered: