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 TCP support to the proxy #131

Closed
seanmonstar opened this issue Jan 10, 2018 · 0 comments
Closed

Add TCP support to the proxy #131

seanmonstar opened this issue Jan 10, 2018 · 0 comments
Assignees

Comments

@seanmonstar
Copy link
Contributor

When a new connection is made to the proxy, the proxy will try to determine if it is using HTTP (1 or 2), and if not, consider it a raw TCP connection to just pass through.

For the initial feature, the SO_ORIGINAL_DST will be used to determine where to open a socket to.

@seanmonstar seanmonstar added this to the Proxy Transparency milestone Jan 10, 2018
@seanmonstar seanmonstar self-assigned this Jan 10, 2018
@hawkw hawkw mentioned this issue Jan 11, 2018
@seanmonstar seanmonstar added the review/ready Issue has a reviewable PR label Jan 18, 2018
seanmonstar added a commit that referenced this issue Jan 24, 2018
The proxy will now try to detect what protocol new connections are
using, and route them accordingly. Specifically:

- HTTP/2 stays the same.
- HTTP/1 is now accepted, and will try to send an HTTP/1 request
  to the target.
- If neither HTTP/1 nor 2, assume a TCP stream and simply forward
  between the source and destination.

* tower-h2: fix Server Clone bounds
* proxy: implement Async{Read,Write} extra methods for Connection

Closes #130 
Closes #131
@olix0r olix0r removed the review/ready Issue has a reviewable PR label Jan 24, 2018
khappucino pushed a commit to Nordstrom/linkerd2 that referenced this issue Mar 5, 2019
The proxy will now try to detect what protocol new connections are
using, and route them accordingly. Specifically:

- HTTP/2 stays the same.
- HTTP/1 is now accepted, and will try to send an HTTP/1 request
  to the target.
- If neither HTTP/1 nor 2, assume a TCP stream and simply forward
  between the source and destination.

* tower-h2: fix Server Clone bounds
* proxy: implement Async{Read,Write} extra methods for Connection

Closes linkerd#130 
Closes linkerd#131
khappucino pushed a commit to Nordstrom/linkerd2 that referenced this issue Mar 5, 2019
There is no telemetry from the controller client currently.

This change adds a new scope (`control_`) of metrics including HTTP
metrics for the client to the proxy-api.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants