Fatal Dimensions - MavEtJu's rom coding part

Snippets

Threaded DNS

Who needs this?

Everybody who is tired of the delay in the gethostbyname() function.

What is it exactly?

When using a custom library for DNS lookups, the mud will no longer lock up when it’s trying to get the hostname by a certain IP address. The hostname will be cached also, so next time a player logs in from that address it will not do the lookup again.

Files

Thanks to Jodocus for the code!

User contributed notes: RDNS-cache comments
mavetju@chello.nl
Mar 25, 2000 23:59

Code added on March 25th 2000

bps@dse.nl
Mar 26, 2000 11:04

The above email address is incorrect. Use bps@dse.nl instead.

mavetju@chello.nl
May 14, 2000 12:22

Added IPv6 support plus some additional fixes. (See changes)

edwin@mavetju.org
Dec 12, 2001 00:57

The latest version of rdns_cache is available from the guy who made it all: www.jodocus.org, at the bottom of the page.


Apache authentication module

Who needs this?

If you want to use your player-database as authication source for the Apache webserver.

What is it exactly?

If you browse through the src-directory of Apache you see a directory modules, with in it directories named as standard, proxy, extra etc. There are the modules which allow you to authenticate yourself with an standard userid/password, to use Apache as a proxy-server, to show directories as if you’re ftp-ing etc.

This module adds extra functionality to the authentication-part. Normal authentication uses only userid/password and DBM authentication. On http://modules.apache.org there is a huge repository of other authentication modules (for example, SMB authentication, Oracle database authentication etc). Just another database-authentication :-)

Disclaimer

  • This module is build for Apache 1.3.4 and might or might not work for other versions.
  • This module might or might not contain buffer-overflows, use at your own risk.

Where to find it?