tyk icon indicating copy to clipboard operation
tyk copied to clipboard

[TT-9985] Add HTTP proxy protocol handling

Open ldmonster opened this issue 2 years ago • 9 comments

Is your feature request related to a problem? Please describe. We already have an TCP handling of ha-proxy-protocol, but still not support HTTP/HTTPS. In our case, we want to parse ha-proxy protocol in tyk, not any service before or after.

Describe the solution you'd like We already have a solution for ourselves, but we want to tyk use it, because we want to use new stable versions with this feature. We add new GatewayConfig toggle, to enable all ha-proxy-protocol handling on HTTP/HTTPS/h2c.

{
  "enable_proxy_protocol_http": true
}

Describe alternatives you've considered We already trying to use nginx before or after, but it looks like overhead, when we can do it on tyk

Additional context This feature already requested before https://github.com/TykTechnologies/tyk/issues/2300#issuecomment-560207754 Our branch https://github.com/ldmonster/tyk/tree/feature/add-proxy-protocol Our PR https://github.com/TykTechnologies/tyk/pull/5464

ldmonster avatar Aug 24 '23 13:08 ldmonster

Hi @ldmonster,

Thanks for getting in touch with this. I've taken a look at the original ticket and can see that it was auto-closed by a bot that we were running a while back, because the bot detected it as stale.

We're very open to community PRs, which are a lot easier to inspect than your fork of the Tyk codebase. Would you consider raising a PR, then we'll be able to take a look more promptly?

Thank you for supporting Tyk!

andyo-tyk avatar Aug 24 '23 14:08 andyo-tyk

Hey folks! any update on supporting Proxy Protocol?

ArcRiiad avatar Apr 24 '24 15:04 ArcRiiad

Hey folks! any update on supporting Proxy Protocol?

We have PR

https://github.com/TykTechnologies/tyk/pull/5464

ldmonster avatar May 05 '24 18:05 ldmonster

Hi @andyo-tyk , could you please take a look?

OlegPS avatar May 06 '24 07:05 OlegPS

@andyo-tyk PTAL

ldmonster avatar May 06 '24 16:05 ldmonster

Hi @OlegPS @ldmonster,

Sorry for the slow reply on this, not sure how I missed it. We'll take a look at this, please bear with me.

andyo-tyk avatar May 08 '24 13:05 andyo-tyk

Any update on this @andyo-tyk? No pressure just to know if we can help and if yes how :)

PrettyWood avatar Jun 10 '24 17:06 PrettyWood