[exim-dev] [Bug 2018] proxy protocol is not supported on smt…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2018] proxy protocol is not supported on smtps (direct SSL/TLS) connections
https://bugs.exim.org/show_bug.cgi?id=2018

--- Comment #11 from Phil Pennock <pdp@???> ---
Isolated the problem, confirmed with a debug statement.

We're doing a fixed read for proxy handling, assuming that the read will come
up short for PROXYv1. For SMTP where server-speaks-first, that's true for
compliant clients.

For TLS, where client-speaks-first and the proxy waits for client data before
opening the backend connection, it's not true. With a little bit of debugging
added:

90478 Bytes read not within PROXY header: 178

For plaintext, that "178" is the desired "0".

Am pondering solutions right now. I consider this blocking of 4.89RC1.

--
You are receiving this mail because:
You are on the CC list for the bug.