https://bz.apache.org/bugzilla/show_bug.cgi?id=59931

            Bug ID: 59931
           Summary: Misleading port after overriding client address
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_remoteip
          Assignee: [email protected]
          Reporter: [email protected]

After overriding the client IP address, the port of the useragent address is
invalid. The originating useragent port cannot be determined and should be set
to zero so that it is not misleading.

Something else to consider is that mod_log_config currently prints out the
useragent port when the %{remote}p is specified. If the useragent IP is
overrided, this will cause the logs to print the zeroed port. Should we also
update mod_log_config to handle this?

A few thoughts on what we could do:
1. Modify mod_log_config to print out the client port if the useragent port is
zero.
2. Add another option for %{}p (e.g. %{client}p) so that users can still get
the port if needed.

Any thoughts are appreciated.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to