From http://www.pgregg.com/projects/dummyidentd/:
DummyIdentd is a simple dummy ident daemon written in perl. It is designed to be secure and to give out no useful information. It would normally be run on company firewalls, gateways or natd hosts where clients are connecting to services which require identd or are slowed down by lack of identd (while a server's lookup timeouts).
DummyIdent can be run from identd, though I do not recommend this, (nor do I recommend running identd on a gateway/firewall). Instead you should run it under two programs by Dan Bernstein. One to accept the tcp connection, and the other to securely force the UID to a non-priveliged user *before* the perl program gets run.
Prerequisites:
tar -xzvf ucspi-tcp-0.88.tar
cd ucspi-tcp-0.88
make
make setup check
( echo 'First M. Last'; cat `cat SYSDEPS` ) \ | mail djb-sysdeps@cr.yp.to
Replace First M. Last with your name.
mkdir -p /package
chmod 1755 /package
cd /package
tar -xzvf daemontools-0.76.tar.gz
cd admin/daemontools-0.76
package/install
mail djb-sysdeps@cr.yp.to < /package/admin/daemontools/compile/sysdeps
mv dummyidentd.txt dummyidentd.pl
chmod a+rx /usr/local/sbin/dummyidentd.pl
/usr/local/bin/tcpserver 0 113 /usr/local/bin/setuidgid nobody /usr/local/sbin/dummyidentd.pl &