-
Notifications
You must be signed in to change notification settings - Fork 9
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 to use pcap file as input instead of interface #6
Comments
I believe there's a |
Yes I plan on using the -d flag to decapsulate ERSPAN (GRE) packets for example: according to usage() I should be able to read from stdin:
I finally got it working. requires root and when reading from stdin we need to specify file output
which creates file unfortunately the result pcap file is filled with invalid L2 frames. as if payload has been truncated. viewing the original capture.pcap file with wireshark correctly show the GRE packets with complete payload. passing the same file through gulp without |
Thanks for the more verbose description of your situation - now I understand your problem. I don't have a good answer yet how to solve your problem - it would need further investigation and funding for the project. If that's not an option for you, what I can suggest is trying to contact one of the original authors and copy-paste your question there - he seems to be still active on his blog: https://blog.crox.net/archives/72-gulp-tcpdump-alternative-for-lossless-capture-on-Linux.html. We can then update the docs or the code with his solution here (if he doesn't decide to maintain his own project on GitHub as it's currently the case). |
Hello,
I have a tcpdump capture of erspan traffic.
I would like to pass it through gulp to decapsulte the erspan headers
and output the result back into a pcap file for further analysis with wireshark.
How can I do that?
Thanks,
The text was updated successfully, but these errors were encountered: