Hi,

On Tue, Nov 24, 2020 at 09:42:53AM +0100, Lothruin Mirwen wrote:
> Hi!
> 
> I've seen on proxy protocol spec (
> https://www.haproxy.org/download/2.3/doc/proxy-protocol.txt) the section
> "Validation" with a list of tested implementations for some protocols.
> 
> Right now on SubEthaSMTP we have created a new release with support for
> proxy protocol (https://github.com/davidmoten/subethasmtp/releases/tag/5.2.7.
> Please note that this is a maintained fork of an unmaintained project that
> is a fork of an unmaintained project). SubEthaSMTP is a powerful yet simple
> open source SMTP server.
> 
> How can our implementation be validated?

We don't have particular test patterns, so I guess that you'll just
have to proceed like all other implementors, by placing a reverse proxy
supporting the proxy protocol in front of your server to validate that
it works as expected. Haproxy implements both version 1 and version 2,
I tend to think that once you've validated that you should be OK with
other implementations. V1 is very simple. V2 supports extended fields
to pass TLS information for example. So if you use haproxy to offload
TLS and use V2 to talk to your server and it still works as expected,
you're likely to have got it right.

Regards,
Willy

Reply via email to