Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

An XDP program I attempted to make, but didn't work out because XDP doesn't support outgoing/TX packets. I am releasing the code anyways just in case XDP starts supporting TX path/outgoing packets.

Notifications You must be signed in to change notification settings

gamemann/IPIP-Direct-XDP-TX-Not-Supported-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPIP Direct (Not Supported)

Description

An XDP program I made in C that is supposed to attach to the main interface of a machine and capture outgoing IPIP packets from an IPIP tunnel. The program removes the outer IP header and changes the main IP header's source address to the forwarding server's IP (outer IP header's destination address). This would result in packets being sent back to the client directly instead of going back through the forwarding server. Unfortunately, after making the program, I learned that XDP doesn't support the TX path/outgoing packets. However, I wanted to release this code anyways in case support does get implemented.

Warning - As I said above, this program doesn't work at the moment. I am releasing the code in case XDP supports the TX path in the future. I am probably going to have to learn DPDK to achieve what I initially wanted with fast packet processing.

Usage

Here's its current usage:

./IPIPDirect_loader <Interface>

Example:

./IPIPDirect_loader ens18

Credits

About

An XDP program I attempted to make, but didn't work out because XDP doesn't support outgoing/TX packets. I am releasing the code anyways just in case XDP starts supporting TX path/outgoing packets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published