1 .\" $NetBSD: identd.8,v 1.19 2005/04/03 22:15:32 peter Exp $
3 .\" This software is in the public domain.
4 .\" Written by Peter Postma <peter@NetBSD.org>
11 .Nd TCP/IP Ident protocol server
29 is a TCP/IP server which implements the user identification protocol
30 as specified in RFC 1413.
33 operates by looking up specific TCP/IP connections and returning
34 information which may or may not be associated with the process owning
37 The following options are available:
38 .Bl -tag -width XXusernameXX
40 Bind to IPv4 addresses only
44 Bind to IPv6 addresses only
50 This may be an IPv4 or IPv6 address or even a hostname.
51 If a hostname is specified then
53 will resolve it to an address (or addresses) and will bind this address
57 Run in the background (as daemon).
59 Specify an optional character set designator to be included in replies.
61 should be a valid charset set as described in the
63 in upper case characters.
73 Specify the format to display info.
74 The allowed format specifiers are:
78 %g print (primary) group name
79 %G print (primary) group number
80 %l print list of all groups by name
81 %L print list of all groups by number
84 The lists of groups (%l, %L) are comma-separated, and start with the primary
85 group which is not repeated.
86 Any other characters (preceded by %, and those not preceded by it)
87 are printed literally.
91 If the lookup fails then this username will be returned.
92 This can be useful for when running this service on a NAT host and
93 not using the forward/proxy functionality.
95 Specify the group id number or name which the server should switch to after
96 binding itself to the TCP/IP port.
100 but without the restriction that the username in
102 must not match an existing user.
106 file exists in the home directory of the identified user, return the username
107 found in that file instead of the real username.
108 If the username found in
110 is that of an existing user, then the real username will be returned.
116 will return this name for all valid ident requests.
120 for logging purposes.
122 Enables forwarding of ident queries.
125 argument specifies which packet filter should be used to lookup the
126 connections, currently
130 are supported packet filters.
133 changes the ident queries to use the local port on the NAT host instead of
134 the local port on the forwarding host.
135 This is needed because otherwise we can't do a lookup on the proxy host.
138 should be enabled with the
149 If this file exists in the home directory of the identified user then return
151 instead of the normal USERID response.
153 Return numeric user IDs instead of usernames.
157 instead of the default
160 Specify a proxy server which will be used to receive proxied ident
164 flag how this operates.
166 Specify an alternative port number under which the server should run.
167 The default is port 113
171 Return a random name of alphanumeric characters.
174 flag is also enabled then a random number will be returned.
176 Specify a timeout for the service.
177 The default timeout is 30 seconds.
179 Specify the user id number or name to which the server should switch after
180 binding itself to the TCP/IP port.
188 or as standalone daemon.
189 Put the following lines into
193 as an IPv4 and IPv6 service via inetd:
195 ident stream tcp nowait nobody /usr/libexec/identd identd -l
197 ident stream tcp6 nowait nobody /usr/libexec/identd identd -l
201 as standalone daemon, use the
208 This implementation of
212 .Aq peter@NetBSD.org .
216 should typically not be run as a privileged user or group,
218 files for use when running with the
222 flags will need to be world accessible.
225 files when running with the
229 When forwarding is enabled with the
233 will need access to either
238 Since it's not a good idea to run
240 under root, you'll need to adjust group owner/permissions to the device(s)