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

[client] Manage the IP forwarding sysctl setting in global way #3270

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

pappz
Copy link
Contributor

@pappz pappz commented Feb 2, 2025

Describe your changes

Add new package ipfwdstate that implements reference counting for IP forwarding
state management. This allows multiple usage to safely request IP forwarding
without interfering with each other.

TODO:

  • Read initial state from system config
  • Implement DisableIPForwarding call

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@pappz pappz force-pushed the feature/port-forwarding-ipfwdsysopts branch from ef0309a to 4db673c Compare February 2, 2025 16:07
@pappz pappz changed the title Manage the ip forwarding sysctl setting in global way [client] Manage the ip forwarding sysctl setting in global way Feb 3, 2025
@pappz pappz changed the title [client] Manage the ip forwarding sysctl setting in global way [client] Manage the IP forwarding sysctl setting in global way Feb 3, 2025
Copy link

sonarqubecloud bot commented Feb 3, 2025

@pappz pappz merged commit 1b011a2 into feature/port-forwarding Feb 3, 2025
39 of 41 checks passed
@pappz pappz deleted the feature/port-forwarding-ipfwdsysopts branch February 3, 2025 11:27
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

Successfully merging this pull request may close these issues.

2 participants