Bug 64812

Summary: PROXY protocol support should expose original destination port
Product: Apache httpd-2 Reporter: Eric Covener <covener>
Component: mod_remoteipAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: enhancement CC: mentalstring+apache
Priority: P2 Keywords: Beginner
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Eric Covener 2020-10-13 18:11:01 UTC
the PROXY protocol support in mod_remoteip should add the destination port sent in this protocol to an environment variable.  

I think it should also spill the "real" client port to an environment variable  before overlaying it with the addr/port in the proxy protocol.

(first part via reddit https://old.reddit.com/r/apache/comments/j9tzvg/query_on_proxy_protocol_implementation/)