Re: Weird Ip in access log, need help to understand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux