On Fri, 31 Aug 2007, Peter J. Holzer wrote:
On 2007-08-31 10:42:37 -0400, Charlie Brady wrote:
However, there is still an issue with Peter's proposed "zero out remote
address components" proposal - prior to accept(), qpstmpd-forkserver may
have multiple listening sockets. Some of those sockets (e.g. 127.0.0.1:25)
won't be unique across multiple hosts.
127.0.0.1 is a problem even after establishing the connection: With
"normal" routing arrangements the remote IP address will be 127.0.0.1,
too, so the only variable is the remote port.
Just to clarify, you are referring to SMTP connections from other
processes local to the qpsmtpd server, i.e. connecting over loopback.
Correct?
Yes, I can see that in that case 127.0.0.1:nnn:127.0.0.1:25 would not
identify the host and would not be unique across multiple servers.
---
Charlie