summaryrefslogtreecommitdiff
path: root/doc/minidentd.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-15 23:08:59 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-15 23:08:59 +0000
commite0fc82203d677a6f1e808e9a1a46176c109d89be (patch)
treee9609209b755e3f7a8480aea86601ffe9d4ca540 /doc/minidentd.html
downloads6-networking-e0fc82203d677a6f1e808e9a1a46176c109d89be.tar.xz
Initial commit
Diffstat (limited to 'doc/minidentd.html')
-rw-r--r--doc/minidentd.html83
1 files changed, 83 insertions, 0 deletions
diff --git a/doc/minidentd.html b/doc/minidentd.html
new file mode 100644
index 0000000..e23fa86
--- /dev/null
+++ b/doc/minidentd.html
@@ -0,0 +1,83 @@
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>s6-networking: the minidentd program</title>
+ <meta name="Description" content="s6-networking: the minidentd program" />
+ <meta name="Keywords" content="s6-networking minidentd identd ident server rfc 1413" />
+ <!-- <link rel="stylesheet" type="text/css" href="http://skarnet.org/default.css" /> -->
+ </head>
+<body>
+
+<p>
+<a href="index.html">s6-networking</a><br />
+<a href="http://skarnet.org/software/">Software</a><br />
+<a href="http://skarnet.org/">skarnet.org</a>
+</p>
+
+<h1> The <tt>minidentd</tt> program </h1>
+
+<p>
+<tt>minidentd</tt> is a small
+<a href="http://cr.yp.to/proto/ucspi.txt">UCSPI</a> server application
+that answers IDENT requests.
+</p>
+
+<h2> Interface </h2>
+
+<pre>
+ minidentd [ -v ] [ -n | -i | -r ] [ -y <em>file</em> ] [ -t <em>timeout</em> ]
+</pre>
+
+<p>
+<tt>minidentd</tt> reads a series of IDENT requests on stdin and answers
+them on stdout. It logs what it's doing on stderr. The environment
+variables <em>x</em>LOCALIP and <em>x</em>REMOTEIP, where <em>x</em> is
+the value of the PROTO environment variable, must contain the IDENT
+server address and the IDENT client address, respectively.
+</p>
+
+<p>
+ minidentd exits 0 on success, 100 on a usage error and 111 on a system
+call failure.
+</p>
+
+<p>
+ minidentd does not contact the network directly. It's meant to
+run under a superserver like
+<a href="s6-tcpserver.html">s6-tcpserver</a>. minidentd will
+work with IPv4 as well as IPv6.
+</p>
+
+<h2> Options </h2>
+
+<ul>
+ <li> <tt>-v</tt>&nbsp;: verbose mode. Log queries and replies.. </li>
+ <li> <tt>-n</tt>&nbsp;: send ERROR&nbsp;:&nbsp;HIDDEN-USER replies if
+the user has a <tt>.ident</tt> file in his home directory. </li>
+ <li> <tt>-i</tt>&nbsp;: user-defined answers. The first 14 chars of the
+user's <tt>.ident</tt> file, up to EOF or newline, are used instead of
+the user name. If the file exists and is empty, send
+ERROR&nbsp;:&nbsp;HIDDEN-USER. If it doesn't exist, send a normal reply. </li>
+ <li> <tt>-r</tt>&nbsp;: send random replies. </li>
+ <li> <tt>-y&nbsp;<em>file</em></tt>&nbsp;: valid with <tt>-n</tt> or <tt>-i</tt>.
+Use <em>file</em> instead of <tt>.ident</tt>. </li>
+ <li> <tt>-t&nbsp;<em>timeout</em></tt>&nbsp;: close connection after
+<em>timeout</em> milliseconds without a client request. </li>
+</ul>
+
+<h2> Notes </h2>
+
+<ul>
+ <li> minidentd works only under Linux (2.2 or later);
+on other systems, it will compile and run, but report an error for every
+request.
+The problem is that <em>there is no portable Unix way</em> of listing active
+outgoing TCP connections with the relevant uids. On Linux, minidentd parses
+the <tt>/proc/net/tcp</tt> or <tt>/proc/net/tcp6</tt> virtual file. Other
+systems have their own way of doing this, if you want your system to be
+supported by minidentd, please contact the author. </li>
+</ul>
+
+</body>
+</html>