You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2017/12/15 11:56:31 UTC

[Bug 61908] New: Doesn't write remote IP

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

            Bug ID: 61908
           Summary: Doesn't write remote IP
           Product: Apache httpd-2
           Version: 2.4.27
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_log_config
          Assignee: bugs@httpd.apache.org
          Reporter: d.tkacik@mac.com
  Target Milestone: ---

Hi, 

I'm not sure if this is a bug or just a miss-configuration from my side.

The problem is the following:

I have this custom log defined at the main httpd.conf

LogFormat "%h (%{X-Forwarded-For}i) %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined

It logs the X-Forwaded-For correctly until I have set the:

RemoteIPHeader X-Forwarded-For

Inside our outside of a virtualhost. 

When RemoteIPHeader X-Forwarded-For is set, apache stops logging the IP.

Thanks !

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 61908] Doesn't write remote IP

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61908

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
I think you are observing an expected and documented behavior:

"The header field is updated to this remaining list of unconfirmed IP
addresses, or if all IP addresses were trusted, this header is removed from the
request altogether."

See: http://httpd.apache.org/docs/2.4/en/mod/mod_remoteip.html

If you need further discussion please do not reopen this ticket but instead
post to the httpd users list. Only after the discussion there has given clear
indication that there is a bug, a ticket in bugzilla should be opened (or this
one here reopened).

Thanks and regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 61908] Doesn't write remote IP

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61908

d.tkacik@mac.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Mac OS X 10.1               |Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 61908] Doesn't write remote IP

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61908

d.tkacik@mac.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.tkacik@mac.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org