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

tunneldriver: use the ngrok-go provided forwarding mechanism #324

Closed
wants to merge 1 commit into from

Conversation

jrobsonchase
Copy link
Contributor

@jrobsonchase jrobsonchase commented Nov 30, 2023

What

Use the upstream ListenAndForward API instead of reimplementing the connection join logic.

This also lets us lean on the upstream TLS terminating semantics and (soon) its HTTP/2 interaction with TLS.

How

Remove handleConns and handleConn in favor of the ngrok-go provided API.

Breaking Changes

None

@jrobsonchase
Copy link
Contributor Author

jrobsonchase commented Nov 30, 2023

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@github-actions github-actions bot added the area/controller Issues dealing with the controller label Nov 30, 2023
@jrobsonchase jrobsonchase changed the base branch from josh/kind to main November 30, 2023 20:14
@jrobsonchase jrobsonchase marked this pull request as ready for review November 30, 2023 20:24
@jrobsonchase jrobsonchase requested a review from a team as a code owner November 30, 2023 20:24
go.mod Outdated
github.com/stretchr/testify v1.8.1
golang.ngrok.com/ngrok v1.4.0
github.com/stretchr/testify v1.8.4
golang.ngrok.com/ngrok v1.6.1-0.20231129180200-b8b5d7fcf1d0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this pointing to ngrok-go/main?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah - probably doesn't need to though. Pretty sure this feature is released.

@jrobsonchase
Copy link
Contributor Author

Ugh, I forgot that we haven't added the options for making the forwarding TLS config use InsecureSkipVerify 😢

Back to draft it goes.

@jrobsonchase jrobsonchase marked this pull request as draft November 30, 2023 20:36
@CK-Ward
Copy link
Contributor

CK-Ward commented May 22, 2024

@jrobsonchase what are the next steps on this ticket?

@jrobsonchase jrobsonchase force-pushed the josh/ngrok-go-forward branch 2 times, most recently from 47f96e2 to 681df85 Compare May 23, 2024 18:42
@CK-Ward
Copy link
Contributor

CK-Ward commented Aug 19, 2024

@jonstacks @deroine @alex-bezek heads up we're closing this for cleanup, feel free to reopen if it's still needed.

@CK-Ward CK-Ward closed this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Issues dealing with the controller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants