Enhancement Request for shared servers

design

#1

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!


#2

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.


#3
  1. As I read http://geolite.maxmind.com/download/geoip/database/LICENSE_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!


#4
  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.

  2. 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] * FIXME: Currently the dbfile needs to be truncated manually before startup

  • when the default name (/tmp/spambot.db) is used[/code]

[code]/*

  • FIXME: this is per server, should be per directory
    */
    static whitelist *whitehead, *whitelast;[/code]

#5

[quote=“andrewf, post:4, topic:54502”]

  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


#6

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.


#7

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.