vlmcsd.8.html 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143
  1. <!-- Creator : groff version 1.22.3 -->
  2. <!-- CreationDate: Sun Dec 11 22:03:20 2016 -->
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  4. "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta name="generator" content="groff -Thtml, see www.gnu.org">
  8. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  9. <meta name="Content-Style" content="text/css">
  10. <style type="text/css">
  11. p { margin-top: 0; margin-bottom: 0; vertical-align: top }
  12. pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
  13. table { margin-top: 0; margin-bottom: 0; vertical-align: top }
  14. h1 { text-align: center }
  15. </style>
  16. <title>VLMCSD</title>
  17. </head>
  18. <body>
  19. <h1 align="center">VLMCSD</h1>
  20. <a href="#NAME">NAME</a><br>
  21. <a href="#SYNOPSIS">SYNOPSIS</a><br>
  22. <a href="#DESCRIPTION">DESCRIPTION</a><br>
  23. <a href="#OPTIONS">OPTIONS</a><br>
  24. <a href="#SIGNALS">SIGNALS</a><br>
  25. <a href="#SUPPORTED OPERATING SYSTEMS">SUPPORTED OPERATING SYSTEMS</a><br>
  26. <a href="#SUPPORTED PRODUCTS">SUPPORTED PRODUCTS</a><br>
  27. <a href="#FILES">FILES</a><br>
  28. <a href="#EXAMPLES">EXAMPLES</a><br>
  29. <a href="#BUGS">BUGS</a><br>
  30. <a href="#AUTHOR">AUTHOR</a><br>
  31. <a href="#CREDITS">CREDITS</a><br>
  32. <a href="#SEE ALSO">SEE ALSO</a><br>
  33. <hr>
  34. <h2>NAME
  35. <a name="NAME"></a>
  36. </h2>
  37. <p style="margin-left:11%; margin-top: 1em">vlmcsd - a
  38. fully Microsoft compatible KMS server</p>
  39. <h2>SYNOPSIS
  40. <a name="SYNOPSIS"></a>
  41. </h2>
  42. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b> [
  43. <i>options</i> ]</p>
  44. <h2>DESCRIPTION
  45. <a name="DESCRIPTION"></a>
  46. </h2>
  47. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>
  48. is a fully Microsoft compatible KMS server that provides
  49. product activation services to clients. It is meant as a
  50. drop-in replacement for a Microsoft KMS server (Windows
  51. computer with KMS key entered). It currently supports KMS
  52. protocol versions 4, 5 and 6.</p>
  53. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>
  54. is designed to run on POSIX compatible operating systens. It
  55. only requires a basic C library with a BSD-style sockets API
  56. and either <b>fork</b>(2) or <b>pthreads</b>(7). That allows
  57. it to run on most embedded systems like routers, NASes,
  58. mobile phones, tablets, TVs, settop boxes, etc. Some efforts
  59. have been made that it also runs on Windows.</p>
  60. <p style="margin-left:11%; margin-top: 1em">Although
  61. <b>vlmcsd</b> does neither require an activation key nor a
  62. payment to anyone, it is not meant to run illegal copies of
  63. Windows. Its purpose is to ensure that owners of legal
  64. copies can use their software without restrictions, e.g. if
  65. you buy a new computer or motherboard and your key will be
  66. refused activation from Microsoft servers due to hardware
  67. changes.</p>
  68. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>
  69. may be started via an internet superserver like
  70. <b>inetd</b>(8) or <b>xinetd</b>(8) as well as an advanced
  71. init system like <b>systemd</b>(8) or <b>launchd</b>(8)
  72. using socket based activation. If <b>vlmcsd</b> detects that
  73. <b>stdin</b>(3) is a socket, it assumes that there is
  74. already a connected client on stdin that wants to be
  75. activated.</p>
  76. <p style="margin-left:11%; margin-top: 1em">All options
  77. that control setting up listening sockets will be ignored
  78. when in inetd mode. The sockets will be set up by your
  79. internet superserver. You also cannot limit the number of
  80. simultanous clients (option <b>-m</b>). You need to
  81. configure the limit in your internet superserver.</p>
  82. <p style="margin-left:11%; margin-top: 1em">The followong
  83. features that require that vlmcsd is permanently loaded will
  84. not work if started from an internet superserver:</p>
  85. <p style="margin-left:22%; margin-top: 1em">You cannot
  86. maintain a client list (option <b>-M1</b>)</p>
  87. <p style="margin-left:22%; margin-top: 1em">EPID
  88. Randomization Level 1 (option <b>-r1</b>) works like Level 2
  89. (<b>-r2</b>). You may want to use Level 0 (<b>-r0</b>) or
  90. custom EPIDs (options <b>-w</b>, <b>-0</b>, <b>-3</b> and
  91. <b>-6</b>) instead.</p>
  92. <h2>OPTIONS
  93. <a name="OPTIONS"></a>
  94. </h2>
  95. <p style="margin-left:11%; margin-top: 1em">Since vlmcsd
  96. can be configured at compile time, some options may not be
  97. available on your system.</p>
  98. <p style="margin-left:11%; margin-top: 1em">All options
  99. that do no require an argument may be combined with a single
  100. dash, for instance &quot;vlmcsd -D -e&quot; is identical to
  101. &quot;vlmcsd -De&quot;. For all options that require an
  102. argument a space between the option and the option argument
  103. is optional. Thus &quot;vlmcsd -r 2&quot; and &quot;vlmcsd
  104. -r2&quot; are identical too. <b><br>
  105. -h</b> or <b>-?</b></p>
  106. <p style="margin-left:22%;">Displays help.</p>
  107. <table width="100%" border="0" rules="none" frame="void"
  108. cellspacing="0" cellpadding="0">
  109. <tr valign="top" align="left">
  110. <td width="11%"></td>
  111. <td width="3%">
  112. <p><b>-V</b></p></td>
  113. <td width="8%"></td>
  114. <td width="78%">
  115. <p>Displays extended version information. This includes the
  116. compiler used to build vlmcsd, the intended platform and
  117. flags (compile time options) to build vlmcsd. If you have
  118. the source code of vlmcsd, you can type <b>make help</b> (or
  119. <b>gmake help</b> on systems that do not use the GNU version
  120. of <b>make</b>(1) by default) to see the meaning of those
  121. flags.</p> </td></tr>
  122. </table>
  123. <p style="margin-left:11%;"><b>-L</b>
  124. <i>ipaddress</i>[:<i>port</i>]</p>
  125. <p style="margin-left:22%;">Instructs vlmcsd to listen on
  126. <i>ipaddress</i> with optional <i>port</i> (default 1688).
  127. You can use this option more than once. If you do not
  128. specify <b>-L</b> at least once, IP addresses 0.0.0.0 (IPv4)
  129. and :: (IPv6) are used. If the IP address contains colons
  130. (IPv6) you must enclose the IP address in brackets if you
  131. specify the optional port, e.g.
  132. [2001:db8::dead:beef]:1688.</p>
  133. <p style="margin-left:22%; margin-top: 1em">If no port is
  134. specified, vlmcsd uses the default port according to a
  135. preceding <b>-P</b> option. If you specify a port, it can be
  136. a number (1-65535) or a name (usually found in /etc/services
  137. if not provided via LDAP, NIS+ or another name service).</p>
  138. <p style="margin-left:22%; margin-top: 1em">If you specify
  139. a link local IPv6 address (fe80::/10, usually starting with
  140. fe80::), it must be followed by a percent sign (%) and a
  141. scope id (=network interface name or number) on most unixoid
  142. OSses including Linux, Android, MacOS X and iOS, e.g.
  143. fe80::1234:56ff:fe78:9abc<b>%eth0</b> or
  144. [fe80::1234:56ff:fe78:9abc<b>%2</b>]:1688. Windows
  145. (including cygwin) does not require a scope id unless the
  146. same link local address is used on more than one network
  147. interface. Windows does not accept a name and the scope id
  148. must be a number.</p>
  149. <p style="margin-left:11%;"><b>-o</b> <i>level</i></p>
  150. <p style="margin-left:22%;">Sets the <i>level</i> of
  151. protection against activations from public IP addresses. The
  152. default is <b>-o0</b> for no protection.</p>
  153. <p style="margin-left:22%; margin-top: 1em"><b>-o1</b>
  154. causes vlmcsd not to listen on all IP addresses but on
  155. private IP addresses only. IPv4 addresses in the
  156. 100.64.0.0/10 range (see RFC6598) are not treated as private
  157. since they can be reached from other users of your ISP.
  158. Private IPv4 addresses are 10.0.0.0/8, 172.16.0.0/12,
  159. 192.168.0.0/16, 169.254.0.0/16 and 127.0.0.0/8. vlmcsd
  160. treats all IPv6 addresses not within 2000::/3 as private
  161. addresses.</p>
  162. <p style="margin-left:22%; margin-top: 1em">If <b>-o1</b>
  163. is combined with <b>-L</b>, it will listen on all private IP
  164. addresses plus the ones specified by one or more <b>-L</b>
  165. statements. If <b>-o1</b> is combined with <b>-P</b>, only
  166. the last <b>-P</b> statement will be used.</p>
  167. <p style="margin-left:22%; margin-top: 1em">Using
  168. <b>-o1</b> does not protect you if you enable NAT port
  169. forwarding on your router to your vlmcsd machine. It is
  170. identical to using multiple -L statements with all of your
  171. private IP addresses. What <b>-o1</b> does for you, is
  172. automatically enumerating your private IP addresses.</p>
  173. <p style="margin-left:22%; margin-top: 1em"><b>-o2</b> does
  174. not affect the interfaces, vlmcsd is listening on. When a
  175. clients connects, vlmcsd immediately drops the connection if
  176. the client has a public IP address. Unlike <b>-o1</b>
  177. clients will be able to establish a TCP connection but it
  178. will be closed without a single byte sent over the
  179. connection. This protects against clients with public IP
  180. addresses even if NAT port forwarding is used. While
  181. <b>-o2</b> offers a higher level of protection than
  182. <b>-o1</b>, the client sees that the KMS TCP port (1688 by
  183. default) is actually accepting connections.</p>
  184. <p style="margin-left:22%; margin-top: 1em">If vlmcsd is
  185. compiled to use MS RPC, <b>-o2</b> can only offer very poor
  186. protection. Control is passed from MS RPC to vlmcsd after
  187. the KMS protocol has already been negotiated. Thus a client
  188. can always verify that the KMS protocol is available even
  189. though it receives an RPC_S_ACCESS_DENIED error message.
  190. vlmcsd will issue a warning if <b>-o2</b> is used with MS
  191. RPC. <b>For adaequate protection do not use a MS RPC build
  192. of vlmcsd with -o2</b>.</p>
  193. <p style="margin-left:22%; margin-top: 1em"><b>-o3</b>
  194. combines <b>-o1</b> and <b>-o2</b>. vlmcsd listens on
  195. private interfaces only and if a public client manages to
  196. connect anyway due to NAT port forwarding, it will be
  197. immediately dropped.</p>
  198. <p style="margin-left:22%; margin-top: 1em">If you use any
  199. form of TCP level port forwarding (e.g. <b>nc</b>(1),
  200. <b>netcat</b>(1), <b>ssh</b>(1) port forwarding or similar)
  201. to redirect KMS requests to vlmcsd, there will be no
  202. protection even if you use <b>-o2</b> or <b>-o3</b>. This is
  203. due to the simple fact that vlmcsd sees the IP address of
  204. the redirector and not the IP address of the client.</p>
  205. <p style="margin-left:22%; margin-top: 1em"><b>-o1</b> (and
  206. thus <b>-o3</b>) is not (yet) available in some
  207. scenarios:</p>
  208. <p style="margin-left:29%; margin-top: 1em">FreeBSD: There
  209. is a longtime unfixed
  210. <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178881">bug</a>
  211. in the 32-bit ABI of the 64-bit kernel. If you have a 64-bit
  212. FreeBSD kernel, you must run the 64-bit version of vlmcsd if
  213. you use <b>-o1</b> or <b>-o3</b>. The 32-bit version causes
  214. undefined behavior up to crashing vlmcsd. Other BSDs
  215. (NetBSD, OpenBSD, Dragonfly and Mac OS X) work
  216. correctly.</p>
  217. <p style="margin-left:29%; margin-top: 1em">If vlmcsd was
  218. started by an internet superserver or was compiled to use
  219. Microsoft RPC (Windows only) or simple sockets, <b>-o1</b>
  220. and <b>-o3</b> are not available by design.</p>
  221. <p style="margin-left:11%;"><b>-P</b> <i>port</i></p>
  222. <p style="margin-left:22%;">Use TCP <i>port</i> for all
  223. subsequent <b>-L</b> statements that do not include an
  224. optional port. If you use <b>-P</b> and <b>-L</b>, <b>-P</b>
  225. must be specified before <b>-L</b>.</p>
  226. <p style="margin-left:11%;"><b>-O</b>
  227. <i>vpn-adapter-name</i>[=<i>ipv4-address</i>][/<i>cidr-mask</i>][:<i>dhcp-lease-duration</i>]</p>
  228. <p style="margin-left:22%;">Enables a compatible VPN
  229. adapter to create additional local IPv4 addresses (like
  230. 127.0.0.1) that appear as remote IPv4 addresses to the
  231. system. This allows product activation using a local
  232. instance of vlmcsd. This feature is only available in
  233. Windows and Cygwin builds of vlmcsd since it is not of any
  234. use on other operating systems. Compatible VPN adapters are
  235. Tap-windows version 8.2 or higher (from OpenVPN) and the
  236. TeamViewer VPN adapter. There are two special
  237. <i>vpn-adapter-name</i>s. A single period (.) instructs
  238. vlmcsd to use the first available compatible VPN adapter. A
  239. single dash (-) disables the use of a VPN adapter if one has
  240. been configured in <b>vlmcsd.ini</b>(5). The
  241. <i>vpn-adapter-name</i> is <b>not</b> case-sensitive. If the
  242. <i>vpn-adapter-name</i> contains spaces (e.g. Ethernet 3),
  243. you must enclose it in quotes.</p>
  244. <p style="margin-left:22%; margin-top: 1em">The default
  245. <i>ipv4-address</i> is 10.10.10.9 and the default
  246. <i>cidr-mask</i> is 30. If you are using the default values,
  247. your VPN adapter uses an IPv4 address of 10.10.10.9 and you
  248. can set your activation client to use the easy to remember
  249. address 10.10.10.10 (e.g. slmgr /skms 10.10.10.10 or cscript
  250. ospp.vbs /sethst:10.10.10.10).</p>
  251. <p style="margin-left:22%; margin-top: 1em">The
  252. <i>dhcp-lease-duration</i> is a number optionally followed
  253. by s, m, h, d or w to indicate seconds, minutes, hours, days
  254. or weeks. The default <i>dhcp-lease-duration</i> is 1d (one
  255. day). It is normally not required to change this value.</p>
  256. <p style="margin-left:22%; margin-top: 1em">It is advised
  257. not to manually configure your OpenVPN TAP or TeamViewer VPN
  258. adapter in &quot;Network Connections&quot;. If you set the
  259. IPv4 configuration manually anyway, the IPv4 address and the
  260. subnet mask must match the <b>-O</b> parameter. It is safe
  261. leave the IPv4 configuration to automatic (DHCP). vlmcsd
  262. will wait up to four seconds for the DHCP configuration to
  263. complete before binding to and listenin on any
  264. interfaces.</p>
  265. <p style="margin-left:22%; margin-top: 1em">You should be
  266. aware that only one program can use a VPN adapter at a time.
  267. If you use the TeamViewer VPN adapter for example, you will
  268. not be able to use the VPN feature of TeamViewer as long as
  269. vlmcsd is running. The same applies to OpenVPN TAP adapters
  270. that are in use by other programs (for example OpenVPN,
  271. QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid
  272. conflicts is to install Tap-Windows from OpenVPN, cd to
  273. C:\Program Files\TAP-Windows\bin and run addtap.bat to
  274. install an additional TAP adapter. Go to &quot;Network
  275. Connections&quot; and rename the new adapter to
  276. &quot;vlmcsd&quot; and specify <b>-O vlmcsd</b> to use
  277. it.</p>
  278. <p style="margin-left:22%; margin-top: 1em">Example: <b>-O
  279. &quot;Ethernet 7&quot;=192.168.123.1/24</b> (uses VPN
  280. adapter Ethernet 7 with IPv4 address 192.168.123.1 and have
  281. 192.168.123.2 to 192.168.123.254 as additional local (but
  282. apparently remote) IPv4 addresses.</p>
  283. <p style="margin-left:11%;"><b>-F0</b> and <b>-F1</b></p>
  284. <p style="margin-left:22%;">Allow (<b>-F1</b>) or disallow
  285. (<b>-F0</b>) binding to IP addresses that are currently not
  286. configured on your system. The default is <b>-F0</b>.
  287. <b>-F1</b> allows you to bind to an IP address that may be
  288. configured after you started <b>vlmcsd</b>. <b>vlmcsd</b>
  289. will listen on that address as soon as it becomes available.
  290. This feature is only available under Linux (IPv4 and IPv6)
  291. and FreeBSD (IPv4 only). FreeBSD allows this feature only
  292. for the root user (more correctly: processes that have the
  293. PRIV_NETINET_BINDANY privilege). Linux does not require a
  294. capability for this.</p>
  295. <p style="margin-left:11%;"><b>-t</b> <i>seconds</i></p>
  296. <p style="margin-left:22%;">Timeout the TCP connection with
  297. the client after <i>seconds</i> seconds. After sending an
  298. activation request. RPC keeps the TCP connection for a
  299. while. The default is 30 seconds. You may specify a shorter
  300. period to free ressources on your device faster. This is
  301. useful for devices with limited main memory or if you used
  302. <b>-m</b> to limit the concurrent clients that may request
  303. activation. Microsoft RPC clients disconnect after 30
  304. seconds by default. Setting <i>seconds</i> to a greater
  305. value does not make much sense.</p>
  306. <p style="margin-left:11%;"><b>-m</b>
  307. <i>concurrent-clients</i></p>
  308. <p style="margin-left:22%;">Limit the number of clients
  309. that will be handled concurrently. This is useful for
  310. devices with limited ressources or if you are experiencing
  311. DoS attacks that spawn thousands of threads or forked
  312. processes. If additional clients connect to vlmcsd, they
  313. need to wait until another client disconnects. If you set
  314. <i>concurrent-clients</i> to a small value ( &lt;10 ), you
  315. should also select a reasonable timeout of 2 or 3 seconds
  316. with <b>-t</b>. The default is no limit.</p>
  317. <table width="100%" border="0" rules="none" frame="void"
  318. cellspacing="0" cellpadding="0">
  319. <tr valign="top" align="left">
  320. <td width="11%"></td>
  321. <td width="3%">
  322. <p><b>-d</b></p></td>
  323. <td width="8%"></td>
  324. <td width="78%">
  325. <p>Disconnect each client after processing one activation
  326. request. This is a direct violation of DCE RPC but may help
  327. if you receive malicous fake RPC requests that block your
  328. threads or forked processes. Some other KMS emulators (e.g.
  329. py-kms) behave this way.</p></td></tr>
  330. <tr valign="top" align="left">
  331. <td width="11%"></td>
  332. <td width="3%">
  333. <p><b>-k</b></p></td>
  334. <td width="8%"></td>
  335. <td width="78%">
  336. <p>Do not disconnect clients after processing an activation
  337. request. This selects the default behavior. <b>-k</b> is
  338. useful only if you used an ini file (see
  339. <b>vlmcsd.ini</b>(5) and <b>-i</b>). If the ini file
  340. contains the line &quot;DisconnectClientsImmediately =
  341. true&quot;, you can use this switch to restore the default
  342. behavior.</p> </td></tr>
  343. </table>
  344. <p style="margin-left:11%;"><b>-N0</b> and <b>-N1</b></p>
  345. <p style="margin-left:22%;">Disables (<b>-N0</b>) or
  346. enables (<b>-N1</b>) the use of the NDR64 transfer syntax in
  347. the RPC protocol. Unlike Microsoft vlmcsd supports NDR64 on
  348. 32-bit operating systems. Microsoft introduced NDR64 in
  349. Windows Vista but their KMS servers started using it with
  350. Windows 8. Thus if you choose random ePIDs, vlmcsd will
  351. select ePIDs with build numbers 9200 and 9600 if you enable
  352. NDR64 and build numbers 6002 and 7601 if you disable NDR64.
  353. The default is to enable NDR64.</p>
  354. <p style="margin-left:11%;"><b>-B0</b> and <b>-B1</b></p>
  355. <p style="margin-left:22%;">Disables (<b>-B0</b>) or
  356. enables (<b>-B1</b>) bind time feature negotiation (BTFN) in
  357. the RPC protocol. All Windows operating systems starting
  358. with Vista support BTFN and try to negotiate it when
  359. initiating an RPC connection. Thus consider turning it off
  360. as a debug / troubleshooting feature only. Some older
  361. firewalls that selectively block or redirect RPC traffic may
  362. get confused when they detect NDR64 or BTFN.</p>
  363. <p style="margin-left:11%;"><b>-l</b> <i>filename</i></p>
  364. <p style="margin-left:22%;">Use <i>filename</i> as a log
  365. file. The log file records all activations with IP address,
  366. Windows workstation name (no reverse DNS lookup), activated
  367. product, KMS protocol, time and date. If you do not specify
  368. a log file, no log is created. For a live view of the log
  369. file type tail -f <i>file</i>.</p>
  370. <p style="margin-left:22%; margin-top: 1em">If you use the
  371. special <i>filename</i> &quot;syslog&quot;, vlmcsd uses
  372. <b>syslog</b>(3) for logging. If your system has no syslog
  373. service (/dev/log) installed, logging output will go to
  374. /dev/console. Syslog logging is not available in the native
  375. Windows version. The Cygwin version does support syslog
  376. logging.</p>
  377. <p style="margin-left:11%;"><b>-T0</b> and <b>-T1</b></p>
  378. <p style="margin-left:22%;">Disable (<b>-T0</b>) or enable
  379. (<b>-T1</b>) the inclusion of date and time in each line of
  380. the log. The default is <b>-T1</b>. <b>-T0</b> is useful if
  381. you log to <b>stdout</b>(3) which is redirected to another
  382. logging mechanism that already includes date and time in its
  383. output, for instance <b>systemd-journald</b>(8). If you log
  384. to <b>syslog</b>(3), <b>-T1</b> is ignored and date and time
  385. will never be included in the output sent to
  386. <b>syslog</b>(3).</p>
  387. <table width="100%" border="0" rules="none" frame="void"
  388. cellspacing="0" cellpadding="0">
  389. <tr valign="top" align="left">
  390. <td width="11%"></td>
  391. <td width="3%">
  392. <p><b>-D</b></p></td>
  393. <td width="8%"></td>
  394. <td width="78%">
  395. <p>Normally vlmcsd daemonizes and runs in background
  396. (except the native Windows version). If <b>-D</b> is
  397. specified, vlmcsd does not daemonize and runs in foreground.
  398. This is useful for testing and allows you to simply press
  399. &lt;Ctrl-C&gt; to exit vlmcsd.</p></td></tr>
  400. </table>
  401. <p style="margin-left:22%; margin-top: 1em">The native
  402. Windows version never daemonizes and always behaves as if
  403. <b>-D</b> had been specified. You may want to install vlmcsd
  404. as a service instead. See <b>-s</b>.</p>
  405. <table width="100%" border="0" rules="none" frame="void"
  406. cellspacing="0" cellpadding="0">
  407. <tr valign="top" align="left">
  408. <td width="11%"></td>
  409. <td width="3%">
  410. <p style="margin-top: 1em"><b>-e</b></p></td>
  411. <td width="8%"></td>
  412. <td width="78%">
  413. <p style="margin-top: 1em">If specified, vlmcsd ignores
  414. <b>-l</b> and writes all logging output to <b>stdout</b>(3).
  415. This is mainly useful for testing and debugging and often
  416. combined with <b>-D</b>.</p></td></tr>
  417. <tr valign="top" align="left">
  418. <td width="11%"></td>
  419. <td width="3%">
  420. <p><b>-v</b></p></td>
  421. <td width="8%"></td>
  422. <td width="78%">
  423. <p>Use verbose logging. Logs every parameter of the base
  424. request and the base response. It also logs the HWID of the
  425. KMS server if KMS protocol version 6 is used. This option is
  426. mainly for debugging purposes. It only has an effect if some
  427. form of logging is used. Thus <b>-v</b> does not make sense
  428. if not used with <b>-l</b>, <b>-e</b> or <b>-f</b>.</p></td></tr>
  429. <tr valign="top" align="left">
  430. <td width="11%"></td>
  431. <td width="3%">
  432. <p><b>-q</b></p></td>
  433. <td width="8%"></td>
  434. <td width="78%">
  435. <p>Do not use verbose logging. This is actually the default
  436. behavior. It only makes sense if you use vlmcsd with an ini
  437. file (see <b>-i</b> and <b>vlmcsd.ini</b>(5)). If the ini
  438. file contains the line &quot;LogVerbose = true&quot; you can
  439. use <b>-q</b> to restore the default behavior.</p></td></tr>
  440. </table>
  441. <p style="margin-left:11%;"><b>-p</b> <i>filename</i></p>
  442. <p style="margin-left:22%;">Create pid file
  443. <i>filename</i>. This has nothing to do with KMS ePIDs. A
  444. pid file is a file where vlmcsd writes its own process id.
  445. This is used by standard init scripts (typically found in
  446. /etc/init.d). The default is not to write a pid file.</p>
  447. <p style="margin-left:11%;"><b>-u</b> <i>user</i> and
  448. <b>-g</b> <i>group</i></p>
  449. <p style="margin-left:22%;">Causes vlmcsd to run in the
  450. specified <i>user</i> and <i>group</i> security context. The
  451. main purpose for this is to drop root privileges after it
  452. has been started from the root account. To use this feature
  453. from cygwin you must run cyglsa-config and the account from
  454. which vlmcsd is started must have the rights &quot;Act as
  455. part of the operating system&quot; and &quot;Replace a
  456. process level token&quot;. The native Windows version does
  457. not support these options.</p>
  458. <p style="margin-left:22%; margin-top: 1em">The actual
  459. security context switch is performed after the TCP sockets
  460. have been created. This allows you to use privileged ports
  461. (&lt; 1024) when you start vlmcsd from the root account.</p>
  462. <p style="margin-left:22%; margin-top: 1em">However if you
  463. use an ini, pid or log file, you must ensure that the
  464. unprivileged user has access to these files. You can always
  465. log to <b>syslog</b>(3) from an unprivileged account on most
  466. platforms (see <b>-l</b>).</p>
  467. <p style="margin-left:11%;"><b>-w</b> <i>ePID</i></p>
  468. <p style="margin-left:22%;">Use <i>ePID</i> as Windows
  469. ePID. If specified, <b>-r</b> is disregarded for
  470. Windows.</p>
  471. <p style="margin-left:11%;"><b>-0</b> <i>ePID</i></p>
  472. <p style="margin-left:22%;">Use <i>ePID</i> as Office 2010
  473. ePID (including Project and Visio). If specified, <b>-r</b>
  474. is disregarded for Office 2010.</p>
  475. <p style="margin-left:11%;"><b>-3</b> <i>ePID</i></p>
  476. <p style="margin-left:22%;">Use <i>ePID</i> as Office 2013
  477. ePID (including Project and Visio). If specified, <b>-r</b>
  478. is disregarded for Office 2013.</p>
  479. <p style="margin-left:11%;"><b>-6</b> <i>ePID</i></p>
  480. <p style="margin-left:22%;">Use <i>ePID</i> as Office 2016
  481. ePID (including Project and Visio). If specified, <b>-r</b>
  482. is disregarded for Office 2016.</p>
  483. <p style="margin-left:11%;"><b>-H</b> <i>HwId</i></p>
  484. <p style="margin-left:22%;">Use <i>HwId</i> for all
  485. products. All HWIDs in the ini file (see <b>-i</b>) will not
  486. be used. In an ini file you can specify a seperate HWID for
  487. each <i>application-guid</i>. This is not possible when
  488. entering a HWID from the command line.</p>
  489. <p style="margin-left:22%; margin-top: 1em"><i>HwId</i>
  490. must be specified as 16 hex digits that are interpreted as a
  491. series of 8 bytes (big endian). Any character that is not a
  492. hex digit will be ignored. This is for better readability.
  493. The following commands are identical:</p>
  494. <p style="margin-left:22%; margin-top: 1em">vlmcsd -H
  495. 0123456789ABCDEF <br>
  496. vlmcsd -H 01:23:45:67:89:ab:cd:ef <br>
  497. vlmcsd -H &quot;01 23 45 67 89 AB CD EF&quot;</p>
  498. <p style="margin-left:11%;"><b>-i</b> <i>filename</i></p>
  499. <p style="margin-left:22%;">Use configuration file (aka ini
  500. file) <i>filename</i>. Most configuration parameters can be
  501. set either via the command line or an ini file. The command
  502. line always has precedence over configuration items in the
  503. ini file. See <b>vlmcsd.ini</b>(5) for the format of the
  504. configuration file.</p>
  505. <p style="margin-left:22%; margin-top: 1em">If vlmcsd has
  506. been compiled to use a default configuration file (often
  507. /etc/vlmcsd.ini), you may use <b>-i-</b> to ignore the
  508. default configuration file.</p>
  509. <p style="margin-left:11%;"><b>-j</b> <i>filename</i></p>
  510. <p style="margin-left:22%;">Use KMS data file
  511. <i>filename</i>. By default vlmcsd only contains the minimum
  512. product data that is required to perform all operations
  513. correctly. You may use a more complete KMS data file that
  514. contains all detailed product names. This is especially
  515. useful if you are logging KMS requests. If you don&rsquo;t
  516. log, there is no need to load an external KMS data file.</p>
  517. <p style="margin-left:22%; margin-top: 1em">If vlmcsd has
  518. been compiled to use a default KMS data file, you may use
  519. <b>-j-</b> to ignore the default configuration file.</p>
  520. <p style="margin-left:11%;"><b>-r0</b>, <b>-r1</b>
  521. (default) and <b>-r2</b></p>
  522. <p style="margin-left:22%;">These options determine how
  523. ePIDs are generated if</p>
  524. <p style="margin-left:22%; margin-top: 1em">- you did not
  525. sprecify an ePID in the command line and <br>
  526. - you haven&rsquo;t used <b>-i</b> or <br>
  527. - the file specified by <b>-i</b> cannot be opened or <br>
  528. - the file specified by <b>-i</b> does not contain an ePID
  529. for the KMS request</p>
  530. <p style="margin-left:22%; margin-top: 1em"><b>-r0</b>
  531. means there are no random ePIDs. vlmcsd simply issues
  532. default ePIDs that are built into the binary at compile
  533. time. <b>Pro:</b> behaves like real KMS server that also
  534. always issues the same ePID. <b>Con:</b> Microsoft may start
  535. blacklisting again and the default ePID may not work any
  536. longer.</p>
  537. <p style="margin-left:22%; margin-top: 1em"><b>-r1</b>
  538. instructs vlmcsd to generate random ePIDs when the program
  539. starts or receives a SIGHUP signal and uses these ePIDs
  540. until it is stopped or receives another SIGHUP. Most other
  541. KMS emulators generate a new ePID on every KMS request. This
  542. is easily detectable. Microsoft could just modify sppsvc.exe
  543. in a way that it always sends two identical KMS requests in
  544. two RPC requests but over the same TCP connection. If both
  545. KMS responses contain the different ePIDs, the KMS server is
  546. not genuine. <b>-r1</b> is the default mode. <b>-r1</b> also
  547. ensures that all three ePIDs (Windows, Office 2010 and
  548. Office 2013) use the same OS build number and LCID (language
  549. id).</p>
  550. <p style="margin-left:22%; margin-top: 1em">If vlmcsd has
  551. been started by an internet superserver, <b>-r1</b> works
  552. almost identically to <b>-r2</b>. The only exception occurs
  553. if you send more than one activation request over the same
  554. TCP connection. This is simply due to the fact that vlmcsd
  555. is started upon a connection request and does not stay in
  556. memory after servicing a KMS request. Consider using
  557. <b>-r0</b> or <b>-w</b>, <b>-0</b>, <b>-3</b> and <b>-6 when
  558. starting vlmcsd by an internet superserver.</b></p>
  559. <p style="margin-left:22%; margin-top: 1em"><b>-r2</b>
  560. behaves like most other KMS server emulators with random
  561. support and generates a new random ePID on every request.
  562. <b>-r2</b> should be treated as debugging option only
  563. because it allows very easy emulator detection.</p>
  564. <p style="margin-left:11%;"><b>-C</b> <i>LCID</i></p>
  565. <p style="margin-left:22%;">Do not randomize the locale id
  566. part of the ePID and use <i>LCID</i> instead. The
  567. <i>LCID</i> must be specified as a decimal number, e.g. 1049
  568. for &quot;Russian - Russia&quot;. This option has no effect
  569. if the ePID is not randomized at all, e.g. if it is selected
  570. from the command line or an ini file.</p>
  571. <p style="margin-left:22%; margin-top: 1em">By default
  572. vlmcsd generates a valid locale id that is recognized by
  573. .NET Framework 4.0. This may lead to a locale id which is
  574. unlikely to occur in your country, for instance 2155 for
  575. &quot;Quecha - Ecuador&quot;. You may want to select the
  576. locale id of your country instead. See
  577. <a href="http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx">MSDN</a>
  578. for a list of valid <i>LCID</i>s. Please note that some of
  579. them are not recognized by .NET Framework 4.0.</p>
  580. <p style="margin-left:22%; margin-top: 1em">Most other KMS
  581. emulators use a fixed <i>LCID</i> of 1033 (English - US). To
  582. achive the same behavior in vlmcsd use <b>-C 1033</b>.</p>
  583. <p style="margin-left:11%;"><b>-K0</b>, <b>-K1</b>,
  584. <b>-K2</b> and <b>-K3</b></p>
  585. <p style="margin-left:22%;">Sets the whitelisting level to
  586. determine which products vlmcsd activates or refuses. The
  587. default is <b>-K0</b>.</p>
  588. <p style="margin-left:29%; margin-top: 1em"><b>-K0</b>:
  589. activate all products with an unknown, retail or
  590. beta/preview KMS ID. <b><br>
  591. -K1</b>: activate products with a retail or beta/preview KMS
  592. ID but refuse to activate products with an unknown KMS ID.
  593. <b><br>
  594. -K2</b>: activate products with an unknown KMS ID but refuse
  595. products with a retail or beta/preview KMS ID. <b><br>
  596. -K3</b>: activate only products with a known volume license
  597. RTM KMS ID and refuse all others.</p>
  598. <table width="100%" border="0" rules="none" frame="void"
  599. cellspacing="0" cellpadding="0">
  600. <tr valign="top" align="left">
  601. <td width="22%"></td>
  602. <td width="78%">
  603. <p>The SKU ID is not checked. Like a genuine KMS server
  604. vlmcsd activates a product that has a random or unknown SKU
  605. ID. If you select <b>-K1</b> or <b>-K3</b>, vlmcsd also
  606. checks the Application ID for correctness. If Microsoft
  607. introduces a new KMS ID for a new product, you cannot
  608. activate it if you used <b>-K1</b> or <b>-K3</b> until a new
  609. version of vlmcsd is available.</p></td></tr>
  610. </table>
  611. <p style="margin-left:11%;"><b>-c0</b> and <b>-c1</b></p>
  612. <p style="margin-left:22%;"><b>-c1</b> causes vlmcsd to
  613. check if the client time differs no more than four hours
  614. from the system time. <b>-c0</b> (the default) disables this
  615. check. <b>-c1</b> is useful to prevent emulator detection. A
  616. client that tries to detect an emulator could simply send
  617. two subsequent request with two time stamps that differ more
  618. than four hours from each other. If both requests succeed,
  619. the server is an emulator. If you specify <b>-c1</b> on a
  620. system with no reliable time source, activations will fail.
  621. It is ok to set the correct system time after you started
  622. vlmcsd.</p>
  623. <p style="margin-left:11%;"><b>-M0</b> and <b>-M1</b></p>
  624. <p style="margin-left:22%;">Disables (<b>-M0</b>) or
  625. enables (<b>-M1</b>) maintaining a list of client machine
  626. IDs (CMIDs). The default is <b>-M0</b>. <b>-M1</b> is useful
  627. to prevent emulator detection. By maintaing a CMID list,
  628. vlmcsd reports current active clients exactly like a genuine
  629. KMS emulator. This includes bug compatibility to the extent
  630. that you can permanently kill a genuine KMS emulator by
  631. sending an &quot;overcharge request&quot; with a required
  632. client count of 376 or more and then request activation for
  633. 671 clients. vlmcsd can be reset from this condition by
  634. restarting it. If <b>-M0</b> is used, vlmcsd reports current
  635. active clients as good as possible. If no client sends an
  636. &quot;overcharge request&quot;, it is not possible to detect
  637. vlmcsd as an emulator with <b>-M0</b>. <b>-M1</b> requires
  638. the allocation of a buffer that is about 50 kB in size. On
  639. hardware with few memory resources use it only if you really
  640. need it.</p>
  641. <p style="margin-left:22%; margin-top: 1em">If you start
  642. vlmcsd from an internet superserver, <b>-M1</b> cannot be
  643. used. Since vlmcsd exits after each activation, it cannot
  644. maintain any state in memory.</p>
  645. <p style="margin-left:11%;"><b>-E0</b> and <b>-E1</b></p>
  646. <p style="margin-left:22%;">These options are ignored if
  647. you do not also specify <b>-M1</b>. If you use <b>-E0</b>
  648. (the default), vlmcsd starts up as a fully
  649. &quot;charged&quot; KMS server. Clients activate
  650. immediately. <b>-E1</b> lets you start up vlmcsd with an
  651. empty CMID list. Activation will start when the required
  652. minimum clients (25 for Windows Client OSses, 5 for Windows
  653. Server OSses and Office) have registered with the KMS
  654. server. As long as the minimum client count has not been
  655. reached, clients end up in HRESULT 0xC004F038 &quot;The
  656. count reported by your Key Management Service (KMS) is
  657. insufficient. Please contact your system
  658. administrator&quot;. You may use <b>vlmcs</b>(1) or another
  659. KMS client emulator to &quot;charge&quot; vlmcsd. <b>-E1</b>
  660. does not improve emulator detection prevention. It&rsquo;s
  661. primary purpose is to help developers of KMS clients to test
  662. &quot;charging&quot; a KMS server.</p>
  663. <p style="margin-left:11%;"><b>-R</b>
  664. <i>renewal-interval</i></p>
  665. <p style="margin-left:22%;">Instructs clients to renew
  666. activation every <i>renewal-interval</i>. The
  667. <i>renewal-interval</i> is a number optionally immediately
  668. followed by a letter indicating the unit. Valid unit letters
  669. are s (seconds), m (minutes), h (hours), d (days) and w
  670. (weeks). If you do not specify a letter, minutes is
  671. assumed.</p>
  672. <p style="margin-left:22%; margin-top: 1em"><b>-R3d</b> for
  673. instance instructs clients to renew activation every 3 days.
  674. The default <i>renewal-interval</i> is 10080 (identical to
  675. 7d and 1w).</p>
  676. <p style="margin-left:22%; margin-top: 1em">Due to poor
  677. implementation of Microsofts KMS Client it cannot be
  678. guaranteed that activation is renewed on time as specfied by
  679. the -R option. Don&rsquo;t care about that. Renewal will
  680. happen well before your activation expires (usually 180
  681. days).</p>
  682. <p style="margin-left:22%; margin-top: 1em">Even though you
  683. can specify seconds, the granularity of this option is 1
  684. minute. Seconds are rounded down to the next multiple of
  685. 60.</p>
  686. <p style="margin-left:11%;"><b>-A</b>
  687. <i>activation-interval</i></p>
  688. <p style="margin-left:22%;">Instructs clients to retry
  689. activation every <i>activation-interval</i> if it was
  690. unsuccessful, e.g. because it could not reach the server.
  691. The default is 120 (identical to 2h).
  692. <i>activation-interval</i> follows the same syntax as
  693. <i>renewal-interval</i> in the <b>-R</b> option.</p>
  694. <table width="100%" border="0" rules="none" frame="void"
  695. cellspacing="0" cellpadding="0">
  696. <tr valign="top" align="left">
  697. <td width="11%"></td>
  698. <td width="3%">
  699. <p><b>-s</b></p></td>
  700. <td width="8%"></td>
  701. <td width="78%">
  702. <p>Installs vlmcsd as a Windows service. This option only
  703. works with the native Windows version and Cygwin. Combine
  704. <b>-s</b> with other command line options. These will be in
  705. effect when you start the service. The service automatically
  706. starts when you reboot your machine. To start it manually,
  707. type &quot;net start vlmcsd&quot;.</p></td></tr>
  708. </table>
  709. <p style="margin-left:22%; margin-top: 1em">If you use
  710. Cygwin, you must include your Cygwin system DLL directory
  711. (usually C:\Cygwin\bin or C:\Cygwin64\bin) into the PATH
  712. environment variable or the service will not start.</p>
  713. <p style="margin-left:22%; margin-top: 1em">You can
  714. reinstall the service anytime using vlmcsd -s again, e.g.
  715. with a different command line. If the service is running, it
  716. will be restarted with the new command line.</p>
  717. <p style="margin-left:22%; margin-top: 1em">When using
  718. <b>-s</b> the command line is checked for basic syntax
  719. errors only. For example &quot;vlmcsd -s -L 1.2.3.4&quot;
  720. reports no error but the service will not start if 1.2.3.4
  721. is not an IP address on your system.</p>
  722. <table width="100%" border="0" rules="none" frame="void"
  723. cellspacing="0" cellpadding="0">
  724. <tr valign="top" align="left">
  725. <td width="11%"></td>
  726. <td width="3%">
  727. <p style="margin-top: 1em"><b>-S</b></p></td>
  728. <td width="8%"></td>
  729. <td width="78%">
  730. <p style="margin-top: 1em">Uninstalls the vlmcsd service.
  731. Works only with the native Windows version and Cygwin. All
  732. other options will be ignored if you include -S in the
  733. command line.</p></td></tr>
  734. </table>
  735. <p style="margin-left:11%;"><b>-U</b>
  736. [<i>domain</i>\]<i>username</i></p>
  737. <p style="margin-left:22%;">Can only be used together with
  738. <b>-s</b>. Starts the service as a different user than the
  739. local SYSTEM account. This is used to run the service under
  740. an account with low privileges. If you omit the domain, an
  741. account from the local computer will be used.</p>
  742. <p style="margin-left:22%; margin-top: 1em">You may use
  743. &quot;NT AUTHORITY\NetworkService&quot;. This is a pseudo
  744. user with low privileges. You may also use &quot;NT
  745. AUTHORITY\LocalService&quot; which has more privileges but
  746. these are of no use for running vlmcsd.</p>
  747. <p style="margin-left:22%; margin-top: 1em">Make sure that
  748. the user you specify has at least execute permission for
  749. your executable. &quot;NT AUTHORITY\NetworkService&quot;
  750. normally has no permission to run binaries from your home
  751. directory.</p>
  752. <p style="margin-left:22%; margin-top: 1em">For your
  753. convenience you can use the special username &quot;/l&quot;
  754. as a shortcut for &quot;NT AUTHORITY\LocalService&quot; and
  755. &quot;/n&quot; for &quot;NT AUTHORITY\NetworkService&quot;.
  756. &quot;vlmcsd&nbsp;-s&nbsp;-U&nbsp;/n&quot; installs the
  757. service to run as &quot;NT
  758. AUTHORITY\NetworkService&quot;.</p>
  759. <p style="margin-left:11%;"><b>-W</b> <i>password</i></p>
  760. <p style="margin-left:22%;">Can only be used together with
  761. <b>-s</b>. Specifies a <i>password</i> for the corresponding
  762. username you use with -U. SYSTEM, &quot;NT
  763. AUTHORITY\NetworkService&quot;, &quot;NT
  764. AUTHORITY\LocalService&quot; do not require a password.</p>
  765. <p style="margin-left:22%; margin-top: 1em">If you specify
  766. a user with even lower privileges than &quot;NT
  767. AUTHORITY\NetworkService&quot;, you must specify its
  768. password. You also have to grant the &quot;Log on as a
  769. service&quot; right to that user.</p>
  770. <h2>SIGNALS
  771. <a name="SIGNALS"></a>
  772. </h2>
  773. <p style="margin-left:11%; margin-top: 1em">The following
  774. signals differ from the default behavior: <b><br>
  775. SIGTERM</b>, <b>SIGINT</b></p>
  776. <p style="margin-left:22%;">These signals cause vlmcsd to
  777. exit gracefully. All global semaphores and shared memory
  778. pages will be released, the pid file will be unlinked
  779. (deleted) and a shutdown message will be logged.</p>
  780. <table width="100%" border="0" rules="none" frame="void"
  781. cellspacing="0" cellpadding="0">
  782. <tr valign="top" align="left">
  783. <td width="11%"></td>
  784. <td width="9%">
  785. <p><b>SIGHUP</b></p></td>
  786. <td width="2%"></td>
  787. <td width="78%">
  788. <p>Causes vlmcsd to be restarted completely. This is useful
  789. if you started vlmcsd with an ini file. You can modify the
  790. ini file while vlmcsd is running and then sending
  791. <b>SIGHUP</b>, e.g. by typing &quot;killall -SIGHUP
  792. vlmcsd&quot; or &quot;kill -SIGHUP &rsquo;cat
  793. /var/run/vlmcsd.pid&rsquo;&quot;.</p> </td></tr>
  794. </table>
  795. <p style="margin-left:22%; margin-top: 1em">The SIGHUP
  796. handler has been implemented relatively simple. It is
  797. virtually the same as stopping vlmcsd and starting it again
  798. immediately with the following exceptions:</p>
  799. <table width="100%" border="0" rules="none" frame="void"
  800. cellspacing="0" cellpadding="0">
  801. <tr valign="top" align="left">
  802. <td width="22%"></td>
  803. <td width="1%">
  804. <p style="margin-top: 1em">&mdash;</p></td>
  805. <td width="3%"></td>
  806. <td width="74%">
  807. <p style="margin-top: 1em">The new process does not get a
  808. new process id.</p></td></tr>
  809. <tr valign="top" align="left">
  810. <td width="22%"></td>
  811. <td width="1%">
  812. <p>&mdash;</p></td>
  813. <td width="3%"></td>
  814. <td width="74%">
  815. <p>If you used a pid file, it is not deleted and recreated
  816. because the process id stays the same.</p></td></tr>
  817. <tr valign="top" align="left">
  818. <td width="22%"></td>
  819. <td width="1%">
  820. <p>&mdash;</p></td>
  821. <td width="3%"></td>
  822. <td width="74%">
  823. <p>If you used the &rsquo;user&rsquo; and/or
  824. &rsquo;group&rsquo; directive in an ini file these are
  825. ignored. This is because once you switched to lower
  826. privileged users and groups, there is no way back. Anything
  827. else would be a severe security flaw in the OS.</p></td></tr>
  828. </table>
  829. <p style="margin-left:11%; margin-top: 1em">Signaling is
  830. not available in the native Windows version and in the
  831. Cygwin version when it runs as Windows service.</p>
  832. <h2>SUPPORTED OPERATING SYSTEMS
  833. <a name="SUPPORTED OPERATING SYSTEMS"></a>
  834. </h2>
  835. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>
  836. compiles and runs on Linux, Windows (no Cygwin required but
  837. explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD,
  838. Dragonfly BSD, Minix, Solaris, OpenIndiana, Android and iOS.
  839. Other POSIX or unixoid OSses may work with unmodified
  840. sources or may require minor porting efforts.</p>
  841. <h2>SUPPORTED PRODUCTS
  842. <a name="SUPPORTED PRODUCTS"></a>
  843. </h2>
  844. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>
  845. can answer activation requests for the following products:
  846. Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10
  847. (up to 1607), Windows Server 2008, Windows Server 2008 R2,
  848. Windows Server 2012, Windows Server 2012 R2, Windows Server
  849. 2016, Office 2010, Project 2010, Visio 2010, Office 2013,
  850. Project 2013, Visio 2013, Office 2016, Project 2016, Visio
  851. 2016. Newer version may work as long as the KMS protocol
  852. does not change. A complete list of fully supported products
  853. can be obtained using the <b>-x</b> option of
  854. <b>vlmcs</b>(1).</p>
  855. <p style="margin-left:11%; margin-top: 1em">Office, Project
  856. and Visio must be volume license versions.</p>
  857. <h2>FILES
  858. <a name="FILES"></a>
  859. </h2>
  860. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd.ini</b>(5)</p>
  861. <h2>EXAMPLES
  862. <a name="EXAMPLES"></a>
  863. </h2>
  864. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd
  865. -De</b></p>
  866. <p style="margin-left:22%;">Starts <b>vlmcsd</b> in
  867. foreground. Useful if you use it for the first time and want
  868. to see what&rsquo;s happening when a client requests
  869. activation.</p>
  870. <p style="margin-left:11%;"><b>vlmcsd -l
  871. /var/log/vlmcsd.log</b></p>
  872. <p style="margin-left:22%;">Starts <b>vlmcsd</b> as a
  873. daemon and logs everything to /var/log/vlmcsd.log.</p>
  874. <p style="margin-left:11%;"><b>vlmcsd -L
  875. 192.168.1.17</b></p>
  876. <p style="margin-left:22%;">Starts <b>vlmcsd</b> as a
  877. daemon and listens on IP address 192.168.1.17 only. This is
  878. useful for routers that have a public and a private IP
  879. address to prevent your KMS server from becoming public.</p>
  880. <p style="margin-left:11%;"><b>vlmcsd -s -U /n -l
  881. C:\logs\vlmcsd.log</b></p>
  882. <p style="margin-left:22%;">Installs <b>vlmcsd</b> as a
  883. Windows service with low privileges and logs everything to
  884. C:\logs\vlmcsd.log when the service is started with
  885. &quot;net start vlmcsd&quot;.</p>
  886. <h2>BUGS
  887. <a name="BUGS"></a>
  888. </h2>
  889. <p style="margin-left:11%; margin-top: 1em">An ePID
  890. specified in an ini file must not contain spaces.</p>
  891. <h2>AUTHOR
  892. <a name="AUTHOR"></a>
  893. </h2>
  894. <p style="margin-left:11%; margin-top: 1em">Written by
  895. crony12, Hotbird64 and vityan666. With contributions from
  896. DougQaid.</p>
  897. <h2>CREDITS
  898. <a name="CREDITS"></a>
  899. </h2>
  900. <p style="margin-left:11%; margin-top: 1em">Thanks to
  901. CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad,
  902. Ratiborus, ...</p>
  903. <h2>SEE ALSO
  904. <a name="SEE ALSO"></a>
  905. </h2>
  906. <p style="margin-left:11%; margin-top: 1em"><b>vlmcsd.ini</b>(5),
  907. <b>vlmcsd</b>(7), <b>vlmcs</b>(1), <b>vlmcsdmulti</b>(1)</p>
  908. <hr>
  909. </body>
  910. </html>