Re: CombinedLog with IPv6

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

 



It was thus said that the Great Marten Lehmann once stated:
> Hello,
> 
> I want to setup Apache with IPv6 hosts and so I asked myself, what 
> happens to REMOTE_ADDR in log files? A typical line would be
> 
> 12.23.34.45 - - [06/Apr/2010:23:15:32 +0200] "GET /styles/navi.css 
> HTTP/1.0" 304 - "referer" "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0)"
> 
> Will the first entry be a mixed typ of IPv4 and IPv6 REMOTE_ADDRs 
> depending on the listening interface that the visitor connected to?

  Yes.  

fc00::2 - - [06/Apr/2010:16:25:28 -0400] "GET / HTTP/1.1" 200 2776 "-" "Mozilla/
fc00::2 - - [06/Apr/2010:16:25:28 -0400] "GET /CSS/screen.css HTTP/1.1" 200 673 
fc00::2 - - [06/Apr/2010:16:25:28 -0400] "GET /images/logo.jpg HTTP/1.1" 200 110
fc00::2 - - [06/Apr/2010:16:25:28 -0400] "GET /favicon.ico HTTP/1.1" 404 299 "-"
fc00::2 - - [06/Apr/2010:16:25:34 -0400] "GET /favicon.ico HTTP/1.1" 404 299 "-"
192.168.1.10 - - [06/Apr/2010:18:09:24 -0400] "GET /favicon.ico HTTP/1.1" 404 30
192.168.1.10 - - [06/Apr/2010:18:09:24 -0400] "GET / HTTP/1.1" 200 339 "-" "Mozi
192.168.1.10 - - [06/Apr/2010:18:09:27 -0400] "GET /favicon.ico HTTP/1.1" 404 30
fc00::3 - - [06/Apr/2010:18:10:22 -0400] "GET / HTTP/1.1" 200 339 "-" "Mozilla/5
fc00::3 - - [06/Apr/2010:18:10:22 -0400] "GET /favicon.ico HTTP/1.1" 404 300 "-"

(the lines have been truncated to 80 characters for posting here)

> How does log analyzing software like webalizer react on IPv6 addresses?

  Check the documentation, or just try it and see ... 

  -spc 



---------------------------------------------------------------------
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