cloudflare / cloudflare/xdpcap

xdpcap support for IP-in-IP tunneled packets.

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
786
Forks
78
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported proxy-server setup with an Ethernet header, IP-in-IP tunnel header, inner IP header, TCP or UDP header, and data. Investigate how xdpcap handles these packets after XDP_TX, and consider the work complete when tunneled packets can be captured reliably in this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.