Projects Personal Contact Rss
 


System Utilities / Perl DummyIdentd

Paul Gregg - Projects - DummyIdentd

Author: pgregg@pgregg.com
Last updated: 19 September 2001

Version 2.1 released: 20th December 2001...

DummyIdentd is a 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 v2.x now has all socket code built in. It therefore takes up much less resources than v1.0 which either ran from inetd or from tcpserver and thus incurred the perl startup costs for each identd query. Version 2.0 now listens on the port for the reqests directly and handles them internally. If desired it will also append requests (and answers) to a logfile. All client connections also have a configurable timeout to prevent blocking.

As DummyIdentd needs to bind to port 113 it must be run as root, however DummyIdentd immediately gives up root as soon as the socket is bound and listening and handles all requests under a configurable UID (default nobody/65534).

Pre-Requisites:

  • Perl version 5 or later.

Installing DummyIdentd:

  1. Download DummyIdentd from here.
  2. Ensure that the first line of the program matches the location of your perl executable.
  3. Copy the file to /usr/local/sbin
  4. Make it executable: chmod a+rx /usr/local/sbin/dummyidentd-2.1.pl
  5. In your startup files e.g. /etc/rc.local place the following:
    • /usr/local/sbin/dummyidentd-2.1.pl
  6. Manually run this command to start it running.

Standard disclaimers apply. I accept no responsibility for the use or mis-use of this program.

Enjoy.



All content © Paul Gregg, 1994 - 2024
Page last updated: 15 July 2008 23:05:44.
This site https://pgregg.com has been online since 5th October 2000
Previous websites live at various URLs since 1994