Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] Weird Ip in access log, need help to understand

André Warnier

2008-06-24

Replies: Find Java Web Hosting

Author LoginPost Reply
I just saw the following in the documentation for mod_proxy :

quote

Be careful when using these headers on the origin server, since they
will contain more than one (comma-separated) value if the original
request already contained one of these headers. For example, you can use
%{X-Forwarded-For}i in the log format string of the origin server to log
the original clients IP address, but you may get more than one address
if the request passes through several proxies.

unquote

Maybe this has something to do with the issue you mention ?
I mean that maybe yahoo requests go through several proxies, and what
you are seeing in your loogs, is the result of a collection of various
proxy addresses, decoded by your logging format.

André


Artem Kuchin wrote:
>
>
> André Warnier пишет:
>>
>>
>> Artem Kuchin wrote:
>>> I recently upgraded to 2.2 and now i see thing which i have never
>>> seen mefore in
>>> the access log:
>>>
>>> 74.6.29.159, 74.6.8.118 - - [11/Jun/2008:06:28:55 +0400] "GET
>>> /Go/ViewProduct/id=883 HTTP/1.1" 200 7195 "-" "Mozilla/5.0
>>> (compatible; Yahoo! Slurp; http://he
>>> lp.yahoo.com/help/us/ysearch/slurp)"
>>
>> Following the link to :
>> http://help.yahoo.com//help/us/ysearch/slurp
>> may help understand
>>
>
> no, it does not. The problem is not with slurp and is not related to any
> particular client. It is not even
> a problem in a common meaning. The question is WHY in this record are 2
> (TWO) ip address in
> the first field of the record: 74.6.29.159, 74.6.8.118
> How it is possible at all? One request comes only from one ip. Where
> apache takes these
> addresses?
>
> --
> Regards,
> Artem
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@(protected)
>  "  from the digest: users-digest-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.