Personal patches for wwwstat

Japanese version
The tools to analyze web server access logs, wwwstat, is not updating after November 1996. Another tools was developing, but I like the result page and I have already used wwwstat. There are something to modify, and I provide the form of patch.

Domain name restriction patch

When I collet access logs of web server using wwwstat, I will get unfortunately result because it was done in FQDN. I think that it is enough to collect statistics of each domain by three level domain from top rather than FQDN.

patch.wwwstat

mapping the block of IP addresses to any domain

In the process, wwwstat resolves FQDN from IP addresses, but it maps all unresolved addresses to ``Unresolved''. I think that the entries of terminals inside organization was not registered to DNS generally, I implemented the facility of mapping those IP addresses to Domain name.
patch.ipmap
After you will apply this patch, please config your wwwstat.rc or ~/.wwwstatrc such as following:

$IpMap{'172.16.0.0/12'}  = 'hoge.kansai-u.ac.jp';
$IpMap{'192.168.0.0/16'} = 'hoge.kansai-u.ac.jp';

Takashi Kobayashi
Last modified: Friday, 09-May-2003 00:55:30 JST