View Full Version : Webalizer and sites grouping

Corrado Fiore
07-06-2005, 09:40 AM
Hi guys,

I'm trying to hack my webalizer.conf to resolve IP numbers into readable names. To do it, I use the GroupSite and HideSite feature (for those who are not familiar with Webalizer, a "site" is any Internet host who's visiting your site).

A quick example (IP numbers are totally invented here!):

GroupSite Acme Co.

...will make any visit from Acme Co. appear into the "Sites" list in a readable format instead of bare IP numbers.

Now, the problem is that most companies use a bunch of IP numbers, tipically in groups of 8. Let's assume, for example, that Acme Co. used the following IP class: to In the webalizer.conf I would write

GroupSite Acme Co.
GroupSite Acme Co.
GroupSite Acme Co.

and so on. Multiply the above work for tens of IP groups and you'll end up with an unmanageable amount of work.

I already use wildcards like

GroupSite 150.120.* Acme Europe Corp.
HideSite 150.120.*

but most IP groups are small sets (like in the first example) where you cannot apply that sort of wildcards.

Any ideas?


07-06-2005, 11:20 AM
You can also use domain names.

GroupSite *.aol.com
GroupSite *.compuserve.com