Discussion:
[squid-users] Proxy Protocol V2 - Reserved type ranges unsupported
msyber
2018-11-18 11:35:49 UTC
Permalink
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.
Francesco Chemolli
2018-11-18 14:39:59 UTC
Permalink
Can you file a feature request in our bugzilla?
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
http://lists.squid-cache.org/listinfo/squid-users
--
Francesco
msyber
2018-11-18 15:14:17 UTC
Permalink
Done.
Post by Francesco Chemolli
Can you file a feature request in our bugzilla?
Post by msyber
Hi,
I'm working on an AWS implementation to load balance a farm of squid
instances.
Post by msyber
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.
Post by msyber
Even though above doc states that Squid now supports PPv2, it doesn't
look like it can decode the Reserved type ranges.
Post by msyber
There is a public Github repo
https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot
to decode this information manually.
Post by msyber
Structure of the binary header is there
https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot/tst/com/amazonaws/proprot
Post by msyber
Unfortunately it doesn't look like Squid natively supports this
functionality.
Post by msyber
Any chance to have it on a next update?
Thank you.
_______________________________________________
squid-users mailing list
http://lists.squid-cache.org/listinfo/squid-users
--
Francesco
Alex Rousskov
2018-11-19 17:12:16 UTC
Permalink
Post by Francesco Chemolli
Done.
FTR: https://bugs.squid-cache.org/show_bug.cgi?id=4902

Alex.
Post by Francesco Chemolli
Can you file a feature request in our bugzilla?
Post by msyber
Hi,
I'm working on an AWS implementation to load balance a farm of
squid instances.
Post by msyber
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.
Post by msyber
Even though above doc states that Squid now supports PPv2, it
doesn't look like it can decode the Reserved type ranges.
Post by msyber
There is a public Github repo
https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot
to decode this information manually.
Post by msyber
Structure of the binary header is there
https://github.com/aws/elastic-load-balancing-tools/tree/master/proprot/tst/com/amazonaws/proprot
Post by msyber
Unfortunately it doesn't look like Squid natively supports this
functionality.
Post by msyber
Any chance to have it on a next update?
Thank you.
_______________________________________________
squid-users mailing list
http://lists.squid-cache.org/listinfo/squid-users
--
    Francesco
_______________________________________________
squid-users mailing list
http://lists.squid-cache.org/listinfo/squid-users
Loading...