Proxy Protocol V2 - Reserved type ranges unsupported

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Proxy Protocol V2 - Reserved type ranges unsupported

msyber
Hi,

I'm working on an AWS implementation to load balance a farm of squid instances.

AWS supports Proxy Protocol V2 through TCP Network Load Balancer.
Based on tests, NLB support a forked version of PPv2 wherein using "2.2.7 Reserved types ranges" (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) which needs a custom parser to parse this information.
Even though above doc states that Squid now supports PPv2, it doesn't look like it can decode the Reserved type ranges.

There is a public Github repo https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot to decode this information manually.

Unfortunately it doesn't look like Squid natively supports this functionality.

Any chance to have it on a next update?

Thank you.




_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Proxy Protocol V2 - Reserved type ranges unsupported

Kinkie
Can you file a feature request in our bugzilla?
On Sun, Nov 18, 2018 at 11:35 AM msyber <[hidden email]> wrote:

>
> Hi,
>
> I'm working on an AWS implementation to load balance a farm of squid instances.
>
> AWS supports Proxy Protocol V2 through TCP Network Load Balancer.
> Based on tests, NLB support a forked version of PPv2 wherein using "2.2.7 Reserved types ranges" (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) which needs a custom parser to parse this information.
> Even though above doc states that Squid now supports PPv2, it doesn't look like it can decode the Reserved type ranges.
>
> There is a public Github repo https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot to decode this information manually.
> Structure of the binary header is there https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot/tst/com/amazonaws/proprot
>
> Unfortunately it doesn't look like Squid natively supports this functionality.
>
> Any chance to have it on a next update?
>
> Thank you.
>
>
>
> _______________________________________________
> squid-users mailing list
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users



--
    Francesco
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Proxy Protocol V2 - Reserved type ranges unsupported

msyber
Done. 

Le dim. 18 nov. 2018 à 15:40, Francesco Chemolli <[hidden email]> a écrit :
Can you file a feature request in our bugzilla?
On Sun, Nov 18, 2018 at 11:35 AM msyber <[hidden email]> wrote:
>
> Hi,
>
> I'm working on an AWS implementation to load balance a farm of squid instances.
>
> AWS supports Proxy Protocol V2 through TCP Network Load Balancer.
> Based on tests, NLB support a forked version of PPv2 wherein using "2.2.7 Reserved types ranges" (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) which needs a custom parser to parse this information.
> Even though above doc states that Squid now supports PPv2, it doesn't look like it can decode the Reserved type ranges.
>
> There is a public Github repo https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot to decode this information manually.
> Structure of the binary header is there https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot/tst/com/amazonaws/proprot
>
> Unfortunately it doesn't look like Squid natively supports this functionality.
>
> Any chance to have it on a next update?
>
> Thank you.
>
>
>
> _______________________________________________
> squid-users mailing list
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users



--
    Francesco

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Proxy Protocol V2 - Reserved type ranges unsupported

Alex Rousskov
On 11/18/18 08:14, msyber wrote:
> Done.

FTR: https://bugs.squid-cache.org/show_bug.cgi?id=4902

Alex.

> Le dim. 18 nov. 2018 à 15:40, Francesco Chemolli <[hidden email]
> <mailto:[hidden email]>> a écrit :
>
>     Can you file a feature request in our bugzilla?
>     On Sun, Nov 18, 2018 at 11:35 AM msyber <[hidden email]
>     <mailto:[hidden email]>> wrote:
>      >
>      > Hi,
>      >
>      > I'm working on an AWS implementation to load balance a farm of
>     squid instances.
>      >
>      > AWS supports Proxy Protocol V2 through TCP Network Load Balancer.
>      > Based on tests, NLB support a forked version of PPv2 wherein
>     using "2.2.7 Reserved types ranges"
>     (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) which
>     needs a custom parser to parse this information.
>      > Even though above doc states that Squid now supports PPv2, it
>     doesn't look like it can decode the Reserved type ranges.
>      >
>      > There is a public Github repo
>     https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot
>     to decode this information manually.
>      > Structure of the binary header is there
>     https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot/tst/com/amazonaws/proprot
>      >
>      > Unfortunately it doesn't look like Squid natively supports this
>     functionality.
>      >
>      > Any chance to have it on a next update?
>      >
>      > Thank you.
>      >
>      >
>      >
>      > _______________________________________________
>      > squid-users mailing list
>      > [hidden email]
>     <mailto:[hidden email]>
>      > http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>     --
>          Francesco
>
>
> _______________________________________________
> squid-users mailing list
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users
>
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users