Skip to content

Make ProtoPostgres support PROXY protocol#25526

Merged
AntonAM merged 1 commit intomasterfrom
anton/proxyline-postgres-protocol
May 3, 2023
Merged

Make ProtoPostgres support PROXY protocol#25526
AntonAM merged 1 commit intomasterfrom
anton/proxyline-postgres-protocol

Conversation

@AntonAM
Copy link
Copy Markdown
Contributor

@AntonAM AntonAM commented May 2, 2023

In multiplexer when protocol was determined to be ProtoPostgres we didn't include proxy line in the returned connection, which lead to problems with IP pinning (client IP was not matching).

Copy link
Copy Markdown
Collaborator

@r0mant r0mant left a comment

Choose a reason for hiding this comment

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

In general lgtm but I would like @smallinsky or @greedy52 to look over this as well to make sure there won't be any hidden side-effects of this.

@r0mant r0mant requested review from greedy52 and smallinsky and removed request for tigrato May 3, 2023 00:44
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from smallinsky May 3, 2023 01:32
Comment thread lib/multiplexer/multiplexer_test.go Outdated
@AntonAM AntonAM force-pushed the anton/proxyline-postgres-protocol branch from c95644e to e690419 Compare May 3, 2023 03:11
@AntonAM AntonAM enabled auto-merge May 3, 2023 03:13
@AntonAM AntonAM added this pull request to the merge queue May 3, 2023
Merged via the queue into master with commit 316ef40 May 3, 2023
@AntonAM AntonAM deleted the anton/proxyline-postgres-protocol branch May 3, 2023 03:41
@public-teleport-github-review-bot
Copy link
Copy Markdown

@AntonAM See the table below for backport results.

Branch Result
branch/v11 Create PR
branch/v12 Create PR
branch/v13 Create PR

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants