I have too many Inktomi/Yahoo! visits!
I entered: $exclude_hosts = array('.+inktomisearch.com','msnbot.msn.com');
It works fine for msn bot, but not for Inktomi!!
I've tried also:$exclude_ips = array('68.142.+','66.196.+');
but it doesn't seems to work either
Any idea?
Thank you
Please enter your server specs in your user profile! 😢
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
hmm, still not sure why that isn't working, so I've restructured the check - it should now detect host names and ip addresses - follow existing instructions in ipconfig.php for excclusion of IP and hostname.
'inktomisearch.com' is sufficient to ensure it is excluded. Some care needs to be taken now e.g. if you were to use 'msn.com', it would exclude all things msn, including search queries, so it is important to use something like 'msnbot.msn.com'.
Simply extract the iptracking.inc from the attached zip and upload to modules/IP_Tracker
Attachment:
iptracking.inc.zip
Description
Filename
iptracking.inc.zip
Filesize
1.09 KiB
Downloaded
3 Time(s)
You are not allowed to view/download this attachment
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
Something I should have thought of originally was to just provide a flag that automatically excludes known search engines - that way you don't have to keep adding IPs and hostnames for bots that Dragonfly already identifies.
That way, you have the main ones covered and just use ipconfig to cover the gaps and any other specifics you want to handle.
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Something I should have thought of originally was to just provide a flag that automatically excludes known search engines - that way you don't have to keep adding IPs and hostnames for bots that Dragonfly already identifies.
That way, you have the main ones covered and just use ipconfig to cover the gaps and any other specifics you want to handle.
That would be a good addition
Thanks for the new file, I'll let you know if there's any problems!
Please enter your server specs in your user profile! 😢
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
exclude users can be added in an array like the others, though eventually I have to create a proper admin interface.
With an admin interface, it would be fairly straight forward to allow deletion of the first x,000 records, which essentially is what the program does now by setting the $ipdel variable.
Specific entries is a bit more work because you really need to know what you want before you do it.
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
oh well, started it - IP Tracker config now runs mainly from a new database table, though it means an extra database query, which was the benefit of a static config file.
Still some exclusion arrays to work out how to manage, and the admin interface, although the admin is the easy part.
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):