You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/28 22:24:59 UTC

[jira] [Commented] (TC-53) Log the real ip address of the remote client when making routing decisions using X-MM-Client-IP

    [ https://issues.apache.org/jira/browse/TC-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703331#comment-15703331 ] 

ASF GitHub Bot commented on TC-53:
----------------------------------

GitHub user trevorackerman opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/105

    TR now logs original IP when using X-MM-Client-IP. This closes [TC-53]

    TR now logs original IP when using X-MM-Client-IP. This closes [TC-53]

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/trevorackerman/incubator-trafficcontrol tr-log-headers

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/105.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #105
    
----
commit 93dbc80ccadd3e149109233b4dedb4451e38217e
Author: trevorackerman <tr...@gmail.com>
Date:   2016-11-28T22:07:44Z

    TR now logs original remote host IP when using X-MM-Client-IP. This closes TC-53

----


> Log the real ip address of the remote client when making routing decisions using X-MM-Client-IP
> -----------------------------------------------------------------------------------------------
>
>                 Key: TC-53
>                 URL: https://issues.apache.org/jira/browse/TC-53
>             Project: Traffic Control
>          Issue Type: Improvement
>          Components: Traffic Router
>    Affects Versions: 1.8.0
>            Reporter: Trevor Ackerman
>            Priority: Minor
>              Labels: triaged
>             Fix For: 1.9.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The 'chi' field in the access log is populated with the value in the X-MM-Client-IP request header but traffic router does not currently log what the client's real remote ip is.
> Add a new field 'rhi' (Remote Host IP)
> When Traffic Router receives X-MM-Client-IP header it sets the value of rhi to the real remote ip address of the client and otherwise sets the value to '-'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)