Skip to content
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

feature request:packet header rewrite #458

Open
ziojacky opened this issue Nov 30, 2024 · 2 comments
Open

feature request:packet header rewrite #458

ziojacky opened this issue Nov 30, 2024 · 2 comments

Comments

@ziojacky
Copy link

develop such a feature:can rewrite packet source address or destination address and destination port or source port? i mainly want to use this function with xdp-forward to forward packets to a specified server at high speed, or any good ideas?

@tohojo
Copy link
Member

tohojo commented Dec 2, 2024 via email

@ziojacky
Copy link
Author

Custom port rewriting is probably not something we'll add as a stand-alone thing in xdp-forward, but you may be able to achieve what you want with the flowtable offload feature, by installing a suitable netfilter rule...

flowtable can only support state offload, and it must enter the netfilter stack, performance will be greatly reduced, that's why i was born with the idea of stateless high-speed forwarding in XDP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants