vlmcsd.ini 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #
  2. #
  3. # Sample vlmcsd.ini
  4. #
  5. # An ini file for vlmcsd is normally not required. It is for advanced users only.
  6. # vlmcsd uses an ini file only if specified using the -i option in the command line parameters.
  7. # There is no default ini file because vlmcsd is designed to run on many platforms.
  8. #
  9. # Every line starting with a number sign (#) or semicolon (;) is treated as a comment.
  10. # If a key word is used more than once, the last occurrence is used. The only exception
  11. # to this is Listen. You can use Listen=<ip address>[:port] more than once.
  12. #
  13. # Set ePID/HwId for Windows explicitly
  14. ;Windows = 06401-00206-471-111111-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
  15. # Set ePID for Office 2010 (including Visio and Project) explicitly
  16. ;Office2010 = 06401-00096-199-222222-03-1033-9600.0000-3622014
  17. # Set ePID/HwId for Office 2013 (including Visio and Project) explicitly
  18. ;Office2013 = 06401-00206-234-333333-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
  19. # Set ePID/HwId for Office 2016 (including Visio and Project) explicitly
  20. ;Office2016 = 06401-00206-437-444444-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
  21. # Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
  22. ;WinChinaGov = 06401-03858-000-555555-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
  23. # Use a compatible VPN device to create a hidden local IPv4 address
  24. # Command line: -O
  25. # VPN = <VPN adapter name>[=<IPv4 address>][/<CIDR mask>][:<DHCP lease duration>]
  26. # Use VPN adapter "KMS Mirror" give it IP address 192.168.123.100 with a lease duration of one day and make entire 192.168.128.x a hidden local IPv4 address.
  27. ;VPN = KMS Mirror=192.168.123.100/24:1d
  28. # Use custom TCP port
  29. # Command line: -P
  30. # ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
  31. # ***Use Listen otherwise
  32. ;Port = 1234
  33. # Listen on all IPv4 addresses (default port 1688)
  34. # Command line: -L
  35. # Does not work with MS RPC or simple sockets, use Port=
  36. ;Listen = 0.0.0.0:1688
  37. # Listen on all IPv6 addresses (default port 1688)
  38. # Command line: -L
  39. ;Listen = [::]:1688
  40. # Listen on all private IP addresses and reject incoming requests from public IP addresses
  41. # Command line: -o
  42. # PublicIPProtectionLevel = 3
  43. # Allow binding to foreign IP addresses
  44. # Command line: -F0 and -F1
  45. ;FreeBind = true
  46. # Randomize ePIDs at program start up (only those that are not explicitly specified)
  47. # Command line: -r
  48. ;RandomizationLevel = 1
  49. # Use a specific culture (1033 = English US) in ePIDs even if the ePID is randomized
  50. # Command line: -C
  51. ;LCID = 1033
  52. # Set a maximum of 4 workers (forked processes or threads)
  53. # Command line: -m
  54. ;MaxWorkers = 4
  55. # Disconnect users after 30 seconds of inactivity
  56. # Command line: -t
  57. ;ConnectionTimeout = 30
  58. # Disconnect clients immediately after each request
  59. # Command line: -d and -k
  60. ;DisconnectClientsImmediately = yes
  61. # Write a pid file (a file containing the process id of vlmcsd)
  62. # Command line: -p
  63. ;PidFile = /var/run/vlmcsd.pid
  64. # Load a KMS data file
  65. # Command line: -j
  66. ;KmsData = /etc/vlmcsd.kmd
  67. # Write log to /var/log/vlmcsd.log
  68. # Command line: -l (-e and -f also override this directive)
  69. ;LogFile = /var/log/vlmcsd.log
  70. # Don't include date and time in logs (default is true)
  71. # Command line: -T0 and -T1
  72. ;LogDateAndTime = false
  73. # Create a verbose log
  74. # Command line: -v and -q
  75. ;LogVerbose = true
  76. # Whitelist known products
  77. # Command line: -K0, -K1, -K2, -K3
  78. ;WhiteListingLevel = 0
  79. # Check that the client time is within +/- 4 hours of the system time
  80. # Command line: -c0, -c1
  81. ;CheckClientTime = false
  82. # Maintain a list of CMIDs
  83. # Command line: -M0, -M1
  84. ;MaintainClients = false
  85. # Start with empty CMID list (Requires MaintainClients = true)
  86. # Command line: -E0, -E1
  87. ;StartEmpty = false
  88. # Set activation interval to 2 hours
  89. # Command line: -A
  90. ;ActivationInterval = 2h
  91. # Set renewal interval to 7 days
  92. # Command line: -R
  93. ;RenewalInterval = 7d
  94. # Exit vlmcsd if warning of certain level has been reached
  95. # Command line: -x
  96. # 0 = Never
  97. # 1 = Exit, if any listening socket could not be established or TAP error occurs
  98. ;ExitLevel = 0
  99. # Run program as user vlmcsduser
  100. # Command line: -u
  101. ;user = vlmcsduser
  102. # Run program as group vlmcsdgroup
  103. # Command line: -g
  104. ;group = vlmcsdgroup
  105. # Disable or enable the NDR64 transfer syntax in RPC (default enabled)
  106. # Command line: -N0 and -N1
  107. ;UseNDR64 = true
  108. # Disable or enable bind time feature negotiation in RPC (default enabled)
  109. # Command line: -B0 and -B1
  110. ;UseBTFN = true