Willy Tarreau: > On Tue, Dec 31, 2019 at 08:21:05AM +0100, Tam?s G?rczei wrote: > > Thanks Wietse, this is what I thought and found out during my > > experiments,That said, now knowing that only v1 is supported, may I ask > > whether you have considered implementing v2 support? I'm about to > > migrate to a setup where I'm behind a load balancer that only speaks v2. > > Maybe you can try to implement v2 support ? Parsing v2 when v1 is already > supported is quite easy, especially at the same level of support (i.e. no > TLV field support for TLS or whatever). You can have a look at > conn_recv_proxy() in haproxy:src/connection.c which supports the two > versions. Feel free to steal any code I wrote there, if that helps :-)
I'm looking into this, and a Postfix-quality implementation including tests(!) is going to take more than a few hours. Primarily, because v2 uses a binary protocol, which complicates everything. I'll put a few hours in today. Wietse