The site uses cookies that you may not want. Continued use means acceptance. For more information see our privacy policy.


Some quirks of the nullidentd documentation and how to get random identd.

Just a quick note about the package nullidentd. This is an Ident Daemon that purports to be as light as possible. In the man page you see mention that (and I quote — under OPTIONS):

nullidentd takes only one optional argument, the username to answer with. If this is omitted, nullidentd will reply with the username "foobar". If the username is RANDOM, a random string is generated.

And under USAGE:

nullidentd is typically invoked from inetd. The following is a typical inetd.conf example:
auth stream tcp nowait nobody /usr/sbin/nullidentd nullidentd

What you don’t see is the actual, proper use of adding a specified string or the magic RANDOM string.

The way? Add -u. Fairly straightforward, but undocumented. Even running nullidentd --help lists the usage as “nullidentd [uid].”

auth stream tcp nowait nobody /usr/sbin/nullidentd -u RANDOM

But once you figure it out it runs quite fine, no harm no foul. Still, it ought to announce proper syntax.

(For a quick and easy test, this works like a charm.)


5 thoughts on “nullidentd

  1. Excellent, thanks for posting this. It was the last piece in the puzzle of stopping FreeNode periodically kicking my bip proxy!

Add a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation