Bug 64812 - PROXY protocol support should expose original destination port
Summary: PROXY protocol support should expose original destination port
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_remoteip (show other bugs)
Version: 2.5-HEAD
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: Beginner
Depends on:
Blocks:
 
Reported: 2020-10-13 18:11 UTC by Eric Covener
Modified: 2020-10-13 18:11 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/)