File: oidentd.8

package info (click to toggle)
oidentd 2.0.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 840 kB
  • ctags: 505
  • sloc: ansic: 5,290; sh: 3,215; yacc: 364; lex: 335; makefile: 101
file content (186 lines) | stat: -rw-r--r-- 5,653 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
.\" Copyright (C)  2001  Ryan McCabe.
.\"
.\" Permission is granted to copy, distribute and/or modify this document
.\" under the terms of the GNU Free Documentation License, Version 1.1
.\" or any later version published by the Free Software Foundation;
.\" with the Invariant Sections being no invariant sections, with the
.\" Front-Cover Texts being no front-cover texts, and with the Back-Cover
.\" Texts being no back-cover texts.  A copy of the license is included with
.\" this package in the file "COPYING.DOC."
.\"
.\" $Id: oidentd.8,v 1.21 2001/12/29 16:23:02 odin Exp $
.TH oidentd 8 "29 Dec 2001" "version 2.0.3"

.SH NAME
oidentd, in.oidentd \- TCP/IP IDENT protocol server

.SH SYNOPSIS
.BI "oidentd [options]"
.sp
.B [ \-dehmoqv ]
.br
.B [ \-a <host> ]
.br
.B [ \-c <charset> ]
.br
.B [ \-C <config file> ]
.br
.B [ \-f <port> ]
.br
.B [ \-p <port> ]
.br
.B [ \-P <host> ]
.br
.B [ \-o or \-\-other=[<OS string>] ]
.br
.B [ \-t or \-\-timeout=<seconds> ]
.br
.B [ \-g or \-\-group=<group|GID> ]
.br
.B [ \-l or \-\-limit=<number>]
.br
.B [ \-r or \-\-reply=<string> ]
.br
.B [ \-u or \-\-user=<username|UID> ]

.SH DESCRIPTION
\fBoidentd\fP is a server that implements the TCP/IP standard IDENT user
identification protocol as specified in the RFC 1413 document.
.PP
\fBoidentd\fP operates by looking up specific TCP connections and returning the
user name of the process owning the connection.

.SH OPTIONS

.TP
.B "\-a or \-\-address=<address|hostname>"
Listen for connections on the specified address.  The default is to listen
for connections on all configured IP addresses.

.TP
.B "\-c or \-\-charset=<charset>"
Use the specified alternate charset.

.TP
.B "\-C or \-\-config=<config file>"
Use the specified file as the configuration file.  The default
location of the configuration file is \fB/etc/oidentd.conf\fP.

.TP
.B "\-d or \-\-debug"
Enable debugging.  This causes debugging messages to be printed via syslog.
This option can be useful when trying to track down the cause of failed
lookups.

.TP
.B "\-e or \-\-error"
Return "UNKNOWN-ERROR" for all errors, so as not to divulge any
unnecessary information to remote clients.

.TP
.B "\-f or \-\-forward=[<port>]"
When IP masquerading support is enabled, forward requests for machines that
masquerade through us to those machines on the specified port. If a port is not given, oidentd
will use the default port for the ident service ("auth" or port 113). If the forwarded
request fails, \fBoidentd\fP will fall back to reading the \fB/etc/oident_masq.conf\fP file.
In order for forwarding to work, the machine to which the connection is forwarded must also
be running oidentd, and oidentd must be run with the -P switch specifying the host that is
forwarding the connections.  If the ident daemon on the host to which the connection is forwarded
is capable of returning a fixed string for any lookup (for example, the ident server built in to
the mIRC windows IRC client), it is not necessary to run oidentd on that host.

.TP
.B "\-g or \-\-group=<group|GID>"
Run with specified GID or group.

.TP
.B "\-l or \-\-limit=<number>"
Allow, at most, the specified number of open connections at once.

.TP
.B "\-m or \-\-masq"
Enable support for ident queries for masqueraded/NAT connections. See
.BR oidentd_masq.conf (5)
for details on configuring support for masqueraded/NAT connections.

.TP
.B "\-o or \-\-other=[<string>]"
The string specified will be returned as the OS string by
default for all successful ident lookups.  If no argument is given,
"OTHER" will be returned instead of the name of the operating system.
Some requests may be interpreted as having failed by the client
side (with ident in general, not just with
\fBoidentd\fP), when some other string is returned instead of the actual
name of the operating system.

.TP
.B "\-p or \-\-port=<port>"
Listen on the specified port.

.TP
.B "\-P or \-\-proxy=<host>"
The specified host acts as a proxy, forwarding connections to us. This option
must be enabled when connections on the machine on which oidentd is running are
masqueraded through another host and the host through which the connections are
masqueraded forwards requests to us.

.TP
.B "\-q or \-\-quiet"
Quiet mode; do not log any status messages to syslog.

.TP
.B "\-t or \-\-timeout=<seconds>"
Sets the number of seconds to wait for input from a client before closing the
connection.

.TP
.B "\-u or \-\-user=<user|UID>"
Run with specified username or UID.

.TP
.B "\-U or \-\-udb"
Perform lookups in the UDB shared memory tables, both for connections
originating on the local host and for masqueraded connections.  When a match is
found, it will be used instead of the values supplied by the operating system,
for either masqueraded entries (with the -m flag) or normal TCP connections.
Entries in the table which don't match any local user will be returned verbatim.
This allows oidentd to cooperate with other programs (e.g. RADIUS servers or 
proxies) to give valid replies for dynamic connections.

.TP
.B "\-r or \-\-reply=<string>"
Upon a failed lookup, the specified string will be returned to the client as if the
lookup had succeeded.

.TP
.B "\-v or \-\-version"
Display version information and exit.

.TP
.B "\-h or \-\-help"
Display options and exit.

.SH FILES
.TP
.B /etc/oidentd.conf
System-wide configuration file.

.TP
.B /etc/oidentd_masq.conf
IP masquerading mappings.

.TP
.B $HOME/.oidentd.conf
Per-user configuration file.

.SH AUTHOR
Ryan McCabe <odin@numb.org>
.br
http://dev.ojnk.net

.SH BUGS
Solaris lacks IPv6 support and IP masquerading (NAT) support.

.SH "SEE ALSO"
.BR oidentd.conf (5)
.BR oidentd_masq.conf (5)