b10-cmdctl.8 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. '\" t
  2. .\" Title: b10-cmdctl
  3. .\" Author: [see the "AUTHORS" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
  5. .\" Date: February 28, 2012
  6. .\" Manual: BIND10
  7. .\" Source: BIND10
  8. .\" Language: English
  9. .\"
  10. .TH "B10\-CMDCTL" "8" "February 28, 2012" "BIND10" "BIND10"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. b10-cmdctl \- BIND 10 remote control daemon
  32. .SH "SYNOPSIS"
  33. .HP \w'\fBb10\-cmdctl\fR\ 'u
  34. \fBb10\-cmdctl\fR [\fB\-a\ \fR\fB\fIstring\fR\fR] [\fB\-h\fR] [\fB\-i\ \fR\fB\fInumber\fR\fR] [\fB\-p\ \fR\fB\fInumber\fR\fR] [\fB\-v\fR] [\fB\-\-address\ \fR\fB\fIstring\fR\fR] [\fB\-\-help\fR] [\fB\-\-idle\-timeout\ \fR\fB\fInumber\fR\fR] [\fB\-\-port\ \fR\fB\fInumber\fR\fR] [\fB\-\-verbose\fR] [\fB\-\-version\fR]
  35. .SH "DESCRIPTION"
  36. .PP
  37. The
  38. \fBb10\-cmdctl\fR
  39. daemon provides an entry for commands sent to the BIND 10 services\&. For example, the
  40. \fBbindctl\fR
  41. user interface communicates via
  42. \fBb10\-cmdctl\fR\&.
  43. .PP
  44. It is a lightweight HTTPS server with HTTP Digest Authentication (username and password validation)\&. It offers a RESTful style interface\&.
  45. .SH "OPTIONS"
  46. .PP
  47. The arguments are as follows:
  48. .PP
  49. \fB\-a \fR\fB\fIstring\fR\fR, \fB\-\-address \fR\fB\fIstring\fR\fR
  50. .RS 4
  51. The IP address that
  52. \fBb10\-cmdctl\fR
  53. will listen on\&. The default is 127\&.0\&.0\&.1\&.
  54. .RE
  55. .PP
  56. \fB\-h\fR, \fB\-\-help\fR
  57. .RS 4
  58. Display command usage\&.
  59. .RE
  60. .PP
  61. \fB\-i \fR\fB\fInumber\fR\fR, \fB\-\-idle\-timeout \fR\fB\fInumber\fR\fR
  62. .RS 4
  63. The socket idle timeout for the HTTPS connection in seconds\&. The default is 1200 seconds\&.
  64. .RE
  65. .PP
  66. \fB\-p \fR\fB\fInumber\fR\fR, \fB\-\-port \fR\fB\fInumber\fR\fR
  67. .RS 4
  68. The port number
  69. \fBb10\-cmdctl\fR
  70. will listen on\&. The default is 8080\&.
  71. .RE
  72. .PP
  73. \fB\-v\fR, \fB\-\-verbose\fR
  74. .RS 4
  75. Enable verbose mode\&.
  76. .RE
  77. .PP
  78. \fB\-\-version\fR
  79. .RS 4
  80. Display the version number and exit\&.
  81. .RE
  82. .SH "CONFIGURATION AND COMMANDS"
  83. .PP
  84. The configurable settings are:
  85. .PP
  86. \fIaccounts_file\fR
  87. defines the path to the user accounts database\&. The default is
  88. /usr/local/etc/bind10\-devel/cmdctl\-accounts\&.csv\&.
  89. .PP
  90. \fIcert_file\fR
  91. defines the path to the PEM certificate file\&. The default is
  92. /usr/local/etc/bind10\-devel/cmdctl\-certfile\&.pem\&.
  93. .PP
  94. \fIkey_file\fR
  95. defines the path to the PEM private key file\&. The default is
  96. /usr/local/etc/bind10\-devel/cmdctl\-keyfile\&.pem\&.
  97. .PP
  98. The configuration command is:
  99. .PP
  100. \fBshutdown\fR
  101. exits
  102. \fBb10\-cmdctl\fR\&. This has an optional
  103. \fIpid\fR
  104. argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
  105. .SH "FILES"
  106. .PP
  107. /usr/local/etc/bind10\-devel/cmdctl\-accounts\&.csv
  108. \(em account database containing the name, hashed password, and the salt\&.
  109. .PP
  110. /usr/local/etc/bind10\-devel/cmdctl\-keyfile\&.pem
  111. \(em contains the Private key\&.
  112. .PP
  113. /usr/local/etc/bind10\-devel/cmdctl\-certfile\&.pem
  114. \(em contains the Certificate\&.
  115. .SH "SEE ALSO"
  116. .PP
  117. \fBb10-cfgmgr\fR(8),
  118. \fBbind10\fR(8),
  119. \fBbindctl\fR(1)\&.
  120. .SH "AUTHORS"
  121. .PP
  122. The
  123. \fBb10\-cmdctl\fR
  124. daemon was initially designed and coded by Zhang Likun of CNNIC\&.
  125. .SH "COPYRIGHT"
  126. .br
  127. Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
  128. .br