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

Add a flowtable to speed up forwarding #158

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

majst01
Copy link
Contributor

@majst01 majst01 commented Jun 25, 2023

references #157

According to: https://www.kernel.org/doc/html/latest/networking/nf_flowtable.html#layer-2-encapsulation we do not need to specify every interface, instead lan0/lan1 should be sufficient

Another Post: https://www.ubicloud.com/blog/improving-network-performance-with-linux-flowtables

TODO:

  • measure impact
  • check if this is better placed in the metal table, seems so, with priority 0
  • check if accounting and NAT still works
  • fix tests
  • enable accounting e.g. sysctl -w net.netfilter.nf_conntrack_acct=1
  • check if accounting of external/internal traffic still works
    • Does not work anymore, requires a ebpf module for that

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

Successfully merging this pull request may close these issues.

1 participant