-
Notifications
You must be signed in to change notification settings - Fork 78
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
xdpcap support for IP-in-IP tunneled packets. #44
Comments
The simplest solution is not specify a filter, all packets will be captured. If you want to use a filter, you can use the
If the offset of the inner IPv4 packet is variable, or you also want to capture non-encapsulated packets, you can specify several offsets. For example, to capture regular (offset 14 for ethernet) and encapsulated (34 as before) packets:
We use this to capture our IP in UDP encapsulated packets. This isn't very well documented, let me know if you have any questions! |
Thanks @arthurfabre for quick reply. I will try this tool and get back to you with the updates. |
Hi,
Summary: I am trying to use xdpcap to capture the packets which have IP-in-IP additional header. I couldn't capture the packets with xdpcap.
Issue:
The packets structure is as follows
eth header + ip-ip tunnel header + ip header + tcp/udp header + data
Setup:
Source machine -> Proxy server( where xdpcap runs) -> destination
I am doing some processing in proxy server and apply XDP_TX on the data. I want to trace this data.
Can you suggest how to capture the packets?
The text was updated successfully, but these errors were encountered: