-
Notifications
You must be signed in to change notification settings - Fork 519
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
pluto: Add hyper-proxy as a module #3439
Conversation
I've included a temp commit to make it easier to see what changed in the |
In its current state |
101b1b8
to
8f31b0a
Compare
Removed extraneous (to Bottlerocket) features and re-tested. |
8f31b0a
to
bf7812d
Compare
Rather than adding |
bf7812d
to
783cd7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me.
783cd7a
to
7114d37
Compare
Re-based, re-tested, and ready for review. |
The 'hyper_proxy' module is clone of tafia/hyper-proxy, but modified to take advantage of newer Rust dependencies. Since Bottlerocket only uses 'rustls', other features and unused lines of code have been removed.
7114d37
to
56a3efb
Compare
Description of changes:
The hyper_proxy module is a clone of tafia/hyper-proxy, but modified to take advantage of newer Rust dependencies.
Since Bottlerocket only uses 'rustls', other features and unused lines of code have been removed.
Also bumps
webpki
to 0.22.1.Testing done:
Launched instance using an
aws-k8s-1.25
AMI with user-data that includes the following:Checked proxy server logs and found all traffic from my private IP being tunneled, including the EKS API calls for
DescribeCluster
:Checking CloudTrail, I can see that the
DescribeCluster
API call source IP is my proxy server:I set no-proxy for the EKS API endpoint and reboot like so:
Then I can see that EKS API calls do not get proxied and the source IP is my actual instance's public IP:
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.