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: Add ProxyProtocol Support to Flannel #1800

Open
w7team opened this issue Sep 1, 2023 · 2 comments
Open

Feature Request: Add ProxyProtocol Support to Flannel #1800

w7team opened this issue Sep 1, 2023 · 2 comments

Comments

@w7team
Copy link

w7team commented Sep 1, 2023

Feature Request: Add ProxyProtocol Support to Flannel

Description
Flannel is a widely-used container networking solution, and it plays a crucial role in container orchestration platforms like Kubernetes. ProxyProtocol is a valuable feature for users who need to work with proxy servers and load balancers, as it allows the proxy server to communicate information about the client connection to the backend server. This feature is currently missing in Flannel, and we propose adding support for ProxyProtocol to enhance its capabilities.

Feature Details

  • Feature Name: ProxyProtocol Support
  • Feature Description: Enable Flannel to parse and handle ProxyProtocol headers, allowing proxy servers to communicate client connection information to Flannel.
  • Use Cases: This feature is essential for scenarios where Flannel is used in conjunction with proxy servers and load balancers that rely on the ProxyProtocol to pass client information to backend services.

Proposal
We suggest implementing ProxyProtocol support in Flannel by extending its capabilities to recognize and process ProxyProtocol headers. This would involve changes to the Flannel codebase to handle incoming connections with ProxyProtocol headers appropriately.

Expected Behavior

  1. Flannel should recognize and parse incoming ProxyProtocol headers.
  2. Flannel should use the information from the ProxyProtocol header to determine the source client's IP address and port.
  3. Flannel should correctly forward traffic to the intended destination based on the ProxyProtocol information.

Implementation Considerations

  • It might be necessary to introduce a new configuration option to enable or disable ProxyProtocol support, allowing users to control its usage.
  • Comprehensive testing should be performed to ensure that the feature works as expected without causing regressions in existing functionality.
  • Documentation updates should accompany this feature to inform users on how to enable and configure ProxyProtocol support in Flannel.

Community Feedback
We welcome feedback and contributions from the Flannel community regarding this proposed feature. Please share your thoughts, suggestions, or concerns about the implementation and use cases of ProxyProtocol support in Flannel.

Additional Context
ProxyProtocol is a well-established protocol used by various proxy servers and load balancers, making it a valuable addition to Flannel's feature set. Its inclusion would enhance Flannel's compatibility with a broader range of network architectures and deployments.

References

Thank you for considering this feature request, and we look forward to your feedback and collaboration.

@w7team
Copy link
Author

w7team commented Nov 15, 2023

@rbrtbnfgl cc

@w7team
Copy link
Author

w7team commented Feb 29, 2024

up

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

No branches or pull requests

2 participants