Current time: 04-23-2014, 12:32 PM Hello There, Guest! (LoginRegister)

Post Reply 
Enhancement Request for shared servers
02-08-2011, 12:36 PM
Post: #1
Enhancement Request for shared servers
Please add mod_geoip. Tech support suggested I install a Perl module and amend all of my scripts to use that, however (a) that's a lot of files to amend and (b) it wouldn't work on static (HTML) pages or on dynamic pages not written in Perl.

Please add mod_speling.

Please add mod_spambot.

Thanks!
Find all posts by this user
Quote this message in a reply
02-08-2011, 01:51 PM
Post: #2
RE: Enhancement Request for shared servers
mod_geoip only works if a GeoIP database is installed, and those aren't free. (We can't even get a site license for the database — every customer using the database would be required to pay for their own license.)

We're currently discussing mod_speling internally.

mod_spambot has a number of major design issues which would make it unsuitable for use in a shared hosting environment.
Find all posts by this user
Quote this message in a reply
02-08-2011, 01:59 PM
Post: #3
RE: Enhancement Request for shared servers
1) As I read http://geolite.maxmind.com/download/geoi...SE_WC.txt, geoip is free. But I'm not a lawyer.

2) That's great news - could you please keep me informed?

3) Anything specific that you're referring to?

Thanks!
Find all posts by this user
Quote this message in a reply
02-08-2011, 04:16 PM
Post: #4
RE: Enhancement Request for shared servers
1) The GeoLite database is very limited. It'll usually give you the right country, but that's it. (And there can only be one database in use by the module, so users can't install their own licensed GeoIP databases.) The utility simply doesn't justify the technical cost of installing and loading yet another Apache module.

3) mod_spambot isn't configurable on a per-site basis, and it would be completely inappropriate to enable by default. It also tries to do a few insane, unreasonable things, like send the site owner an email every time someone gets throttled by it. Here's a couple choice comments from the source code:

Code:
* TODO: Improved handing of vhosts, and test .htaccess works
Code:
* FIXME: Currently the dbfile needs to be truncated manually before startup
*    when the default name (/tmp/spambot.db) is used
Code:
/*
* FIXME: this is per server, should be per directory
*/
static    whitelist    *whitehead, *whitelast;
Code:
* FIXME: this linear search will be slow for large sites.
Find all posts by this user
Quote this message in a reply
02-08-2011, 07:36 PM
Post: #5
RE: Enhancement Request for shared servers
[quote='andrewf' pid='133930' dateline='1297207013']
1) The GeoLite database is very limited. It'll usually give you the right country, but that's it. (And there can only be one database in use by the module, so users can't install their own licensed GeoIP databases.) The utility simply doesn't justify the technical cost of installing and loading yet another Apache module.

Country is enough.

-Nigel
Find all posts by this user
Quote this message in a reply
04-18-2012, 03:45 AM
Post: #6
RE: Enhancement Request for shared servers
I would have to agree that country would be specific enough.

Some of my clients are being plagued by pirates using stolen credit cards to buy online content then ripping off the site and posting content on file lockers to gain commission payments.

Invariably the 'pirates' have been detected as using IPs from Russia, Hungaria and other former Eastern Bloc countries.

I have implemented mod_geoip on servers for other clients and it works well in combating this criminal behaviour as it makes the site rippers use proxy servers outside of their domestic country, significantly increasing download times and effort for them. We have seen significant drops in piracy by being proactive this way.

On Dreamhost we currently have to set, and maintain, individual htaccess files with lists of country-specific IP addresses for each domain to obtain the same effect.

So please Dreamhost, reconsider and let us all have mod_geoip Lite installed.
Find all posts by this user
Quote this message in a reply
04-18-2012, 06:39 AM
Post: #7
RE: Enhancement Request for shared servers
(04-18-2012 03:45 AM)Retiarius Wrote:  So please Dreamhost, reconsider and let us all have mod_geoip Lite installed.

It's pretty simple to download the DB and use the PEAR module and a line or two of PHP and do it yourself. I've integrated that into a framework I use. Adds <5 microseconds to the load time.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: