b10-cmdctl.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  2. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  3. [<!ENTITY mdash "&#8212;">]>
  4. <!--
  5. - Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
  6. -
  7. - Permission to use, copy, modify, and/or distribute this software for any
  8. - purpose with or without fee is hereby granted, provided that the above
  9. - copyright notice and this permission notice appear in all copies.
  10. -
  11. - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  12. - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  13. - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  14. - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  15. - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  16. - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  17. - PERFORMANCE OF THIS SOFTWARE.
  18. -->
  19. <!-- $Id$ -->
  20. <refentry>
  21. <refentryinfo>
  22. <date>March 9, 2010</date>
  23. </refentryinfo>
  24. <refmeta>
  25. <refentrytitle>b10-cmdctl</refentrytitle>
  26. <manvolnum>8</manvolnum>
  27. <refmiscinfo>BIND10</refmiscinfo>
  28. </refmeta>
  29. <refnamediv>
  30. <refname>b10-cmdctl</refname>
  31. <refpurpose>BIND 10 remote control daemon</refpurpose>
  32. <!-- TODO: is that okay? -->
  33. </refnamediv>
  34. <docinfo>
  35. <copyright>
  36. <year>2010</year>
  37. <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
  38. </copyright>
  39. </docinfo>
  40. <refsynopsisdiv>
  41. <cmdsynopsis>
  42. <command>b10-cmdctl</command>
  43. <arg><option>-a <replaceable>string</replaceable></option></arg>
  44. <arg><option>-h</option></arg>
  45. <arg><option>-i <replaceable>number</replaceable></option></arg>
  46. <arg><option>-p <replaceable>number</replaceable></option></arg>
  47. <arg><option>-v</option></arg>
  48. <arg><option>--address <replaceable>string</replaceable></option></arg>
  49. <arg><option>--help</option></arg>
  50. <arg><option>--idle-timeout <replaceable>number</replaceable></option></arg>
  51. <arg><option>--port <replaceable>number</replaceable></option></arg>
  52. <arg><option>--verbose</option></arg>
  53. <arg><option>--version</option></arg>
  54. </cmdsynopsis>
  55. </refsynopsisdiv>
  56. <refsect1>
  57. <title>DESCRIPTION</title>
  58. <para>The <command>b10-cmdctl</command> daemon provides an entry
  59. for commands sent to the BIND 10 services.
  60. For example, the <command>bindctl</command> user interface
  61. communicates via <command>b10-cmdctl</command>.
  62. </para>
  63. <para>
  64. It is a lightweight HTTPS server with HTTP Digest Authentication
  65. (username and password validation).
  66. It offers a RESTful style interface.
  67. <!-- TODO: document the RESTful APIs -->
  68. </para>
  69. </refsect1>
  70. <refsect1>
  71. <title>OPTIONS</title>
  72. <para>The arguments are as follows:</para>
  73. <variablelist>
  74. <varlistentry>
  75. <term><option>-a <replaceable>string</replaceable></option>,
  76. <option>--address <replaceable>string</replaceable></option></term>
  77. <listitem><para>
  78. The IP address that <command>b10-cmdctl</command> will listen on.
  79. The default is 127.0.0.1.</para>
  80. </listitem>
  81. </varlistentry>
  82. <varlistentry>
  83. <term><option>-h</option>,
  84. <option>--help</option></term>
  85. <listitem><para>
  86. Display command usage.</para>
  87. </listitem>
  88. </varlistentry>
  89. <varlistentry>
  90. <term><option>-i <replaceable>number</replaceable></option>,
  91. <option>--idle-timeout <replaceable>number</replaceable></option></term>
  92. <listitem><para>
  93. The socket idle timeout for the HTTPS connection in seconds.
  94. The default is 1200 seconds.</para>
  95. </listitem>
  96. </varlistentry>
  97. <varlistentry>
  98. <term><option>-p <replaceable>number</replaceable></option>,
  99. <option>--port <replaceable>number</replaceable></option></term>
  100. <listitem><para>
  101. The port number <command>b10-cmdctl</command> will listen on.
  102. The default is 8080.</para>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry>
  106. <term><option>-v</option></term>
  107. <term><option>--verbose</option></term>
  108. <listitem><para>
  109. Enable verbose mode.</para>
  110. </listitem>
  111. </varlistentry>
  112. <varlistentry>
  113. <term>
  114. <option>--version</option></term>
  115. <listitem><para>
  116. Display the version number and exit.</para>
  117. </listitem>
  118. </varlistentry>
  119. </variablelist>
  120. </refsect1>
  121. <refsect1>
  122. <title>FILES</title>
  123. <!-- TODO: replace /usr/local -->
  124. <!-- TODO: permissions -->
  125. <!-- TODO: what about multiple accounts? -->
  126. <!-- TODO: shouldn't the password file name say cmdctl in it? -->
  127. <para><filename>/usr/local/etc/bind10-devel/cmdctl-accounts.csv</filename>
  128. &mdash; account database containing the name, hashed password,
  129. and the salt.
  130. </para>
  131. <!-- TODO: replace /usr/local -->
  132. <!-- TODO: permissions -->
  133. <!-- TODO: shouldn't have both in same file, will be configurable -->
  134. <para><filename>/usr/local/etc/bind10-devel/cmdctl-keyfile.pem</filename>
  135. &mdash; contains the Private key.
  136. </para>
  137. <para><filename>/usr/local/etc/bind10-devel/cmdctl-certfile.pem</filename>
  138. &mdash; contains the Certificate.
  139. </para>
  140. </refsect1>
  141. <refsect1>
  142. <title>SEE ALSO</title>
  143. <para>
  144. <citerefentry>
  145. <refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
  146. </citerefentry>,
  147. <citerefentry>
  148. <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
  149. </citerefentry>,
  150. <citerefentry>
  151. <refentrytitle>bindctl</refentrytitle><manvolnum>1</manvolnum>
  152. </citerefentry>.
  153. </para>
  154. </refsect1>
  155. <refsect1>
  156. <title>AUTHORS</title>
  157. <para>
  158. The <command>b10-cmdctl</command> daemon was initially designed
  159. and coded by Zhang Likun of CNNIC.
  160. </para>
  161. </refsect1>
  162. </refentry><!--
  163. - Local variables:
  164. - mode: sgml
  165. - End:
  166. -->