Mailing List Archive

Varnish5 PROXY protocol and health probes
Hi,

I'm using varnish-5.0.0 with PROXY protocol enabled on the backends
thanks to the new .proxy_header attribute. This works great as long as
the backends don't have health probes defined. When a backend has both
a .proxy_header attribute and a probe defined, varnish fails to
properly detect the backend health state and marks the backend as
sick.

The problem seems to be that varnish does not use the PROXY protocol
when sending health probes. If the backend correctly implements the
PROXY protocol, it is required to drop the connection, as it cannot
identify it as valid PROXY protocol v1 nor v2. Thus, from varnish's
pov the backend is unreachable.

I think it would be pretty useful to have health probes handle the
PROXY protocol as well. What do you think? Are there any plans to
enhance varnish accordingly?

Best regards,

Florian

_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Varnish5 PROXY protocol and health probes [ In reply to ]
--------
In message <CAKKwObZUT0=TM_=Oa2vToLMnWiq+fyjtRUymBLWY7ThJDFRTGA@mail.gmail.com>
, Florian Tham writes:

That's a bug, please open a ticket:

https://github.com/varnishcache/varnish-cache


--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Varnish5 PROXY protocol and health probes [ In reply to ]
For reference, ticket is here:
https://github.com/varnishcache/varnish-cache/issues/2151

Best regards,

Florian

On Thu, Dec 1, 2016 at 10:55 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> --------
> In message <CAKKwObZUT0=TM_=Oa2vToLMnWiq+fyjtRUymBLWY7ThJDFRTGA@mail.gmail.com>
> , Florian Tham writes:
>
> That's a bug, please open a ticket:
>
> https://github.com/varnishcache/varnish-cache
>
>
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG | TCP/IP since RFC 956
> FreeBSD committer | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc