Forum Moderators: DixonJones
I am trying to filter out my own admin traffic from the awstats logs but unfortunately my ISP's netmask is not as simple as 24 bit, 16 bit, etc. but rather something like this:
72.92.128.0/19
Currently, whenever my own IP address changes by the ISP, I simply update the SkipHosts list:
SkipHosts="REGEX[^71\.169\.] REGEX[^71\.161\.] REGEX[^72\.92\.]"
Is there a simple way to simply filter out 72.92.128.0/19?
Thanks.
How do you do it 'normally'?
SkipHosts=""
To:
SkipHosts="REGEX[^71\.169\.] REGEX[^71\.161\.] REGEX[^72\.92\.]"
Now... REGEX, by definition, is great for strings. But 72.92.128.0/19 is not just a string, it is a mathematical notation (aka CIDR, or "Classless Inter-Domain Routing").
Any idea whether there is a way to use this CIDR notation in AWSTAT to filter out all addresses covered by it?