Static Replies

oidentd can send different ident replies for each host connecting through the machine it is running on.

To use this functionality, oidentd must be run with the --masquerade (-m) flag.

Configuring Replies

Replies can be configured in the masquerading configuration file, which is usually found in /etc/oidentd_masq.conf or in /usr/local/etc/oidentd_masq.conf, depending on how oidentd was installed.

This file should consist of lines of the following form:

<host>[/subnet] ident_reply system_type

This file is read from top to bottom, so more specific rules should be placed before more general ones. For example:

10.0.0.1     user1  UNIX
10.0.0.2     user2  FREEBSD
10.0.0.0/24  user3  OTHER

In this example, a user1 reply is sent in response to all requests for 10.0.0.1. A user2 reply is sent for all requests for 10.0.0.2. Finally, user3 is sent in response to requests for other machines in the 10.0.0.0/24 subnetwork.