mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-07-03 09:17:57 +08:00
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
550df56794 | |||
5a29226593 | |||
c5e1a0a591 | |||
af593fc11b | |||
9bd3e9c470 | |||
b8fdaf9a6b | |||
fcbbc40d60 | |||
936811ff5c |
19
GNUmakefile
19
GNUmakefile
@ -149,6 +149,7 @@ help:
|
||||
@echo "Options"
|
||||
@echo " CONFIG=<x> Compile <x> as instead of config.h."
|
||||
@echo " INI=<x> Compile $(BASE_PROGRAM_NAME) with default ini file <x>"
|
||||
@echo " DATA=<x> Compile $(BASE_PROGRAM_NAME) and $(BASE_CLIENT_NAME) with default KMS data file <x>"
|
||||
@echo " PROGRAM_NAME=<x> Use <x> as output file name for the KMS server. Defaults to vlmcsd."
|
||||
@echo " CLIENT_NAME=<x> Use <x> as output file name for the KMS client. Defaults to vlmcs."
|
||||
@echo " MULTI_NAME=<x> Use <x> as output file name for the multi-call binary. Defaults to vlmcsdmulti."
|
||||
@ -173,10 +174,6 @@ help:
|
||||
@echo " VERBOSE=1 Be verbose when making targets."
|
||||
@echo " VERBOSE=3 Show name of compiler."
|
||||
@echo " THREADS=1 Use threads instead of fork(). Automatically set for native Windows. Recommended for Cygwin."
|
||||
@echo " WINDOWS=<x> Use <x> as the default ePID for Windows (when using $(BASE_PROGRAM_NAME) with -r 0)."
|
||||
@echo " OFFICE2010=<x> Use <x> as the default ePID for Office2010 (when using $(BASE_PROGRAM_NAME) with -r 0)."
|
||||
@echo " OFFICE2013=<x> Use <x> as the default ePID for Office2013 (when using $(BASE_PROGRAM_NAME) with -r 0)."
|
||||
@echo " OFFICE2016=<x> Use <x> as the default ePID for Office2016 (when using $(BASE_PROGRAM_NAME) with -r 0)."
|
||||
@echo " HWID=<x> Use <x> as the default HWID (when it can't be found in an ini file)."
|
||||
@echo " FEATURES=full Compile $(BASE_PROGRAM_NAME) with all features (default)."
|
||||
@echo " FEATURES=most Compile $(BASE_PROGRAM_NAME) without rarely used features."
|
||||
@ -187,10 +184,10 @@ help:
|
||||
@echo " FEATURES=fixedepids $(BASE_PROGRAM_NAME) only uses bultin internal ePIDs."
|
||||
@echo ""
|
||||
@echo "Useful CFLAGS to save memory when running $(BASE_PROGRAM_NAME) on very small embedded devices (finer control than FEATURES=)"
|
||||
@echo " -DNO_EXTENDED_PRODUCT_LIST Don't compile the detailed product list."
|
||||
@echo " -DNO_BASIC_PRODUCT_LIST Don't compile the basic product list."
|
||||
@echo " -DNO_STRICT_MODES Don't support enhanced emulator detection prevention."
|
||||
@echo " -DNO_CLIENT_LIST Don't support maintaining a client list (CMIDs)."
|
||||
@echo " -DNO_VERBOSE_LOG Don't support verbose logging. Removes -v option."
|
||||
@echo " -DNO_LOG Don't add support for logging. Implies -DNO_VERBOSE_LOG -DNO_EXTENDED_PRODUCT_LIST and -DNO_BASIC_PRODUCT_LIST."
|
||||
@echo " -DNO_LOG Don't add support for logging. Implies -DNO_VERBOSE_LOG."
|
||||
@echo " -DNO_RANDOM_EPID Don't support random ePIDs."
|
||||
@echo " -DNO_INI_FILE Don't support reading ePIDs/HWIDs from a file."
|
||||
@echo " -DNO_PID_FILE Don't support writing a PID file. Removes -p option."
|
||||
@ -199,13 +196,18 @@ help:
|
||||
@echo " -DNO_CUSTOM_INTERVALS Don't support custom intervals for retry and refresh activation. Removes -A and -R options."
|
||||
@echo " -DNO_FREEBIND Don't support binding to foreign IP addresses. Removes -F0 and -F1 options. Only affects FreeBSD and Linux."
|
||||
@echo " -DNO_SOCKETS Don't support standalone operation. Requires an internet superserver to start $(BASE_PROGRAM_NAME)."
|
||||
@echo " -DSIMPLE_SOCKETS Compile $(BASE_PROGRAM_NAME) with basic socket support only. Removes -L option."
|
||||
@echo " -DSIMPLE_RPC Don't support RPC with NDR64 and BTFN in $(BASE_PROGRAM_NAME) (but do in $(BASE_CLIENT_NAME)). Makes emulator detection easy."
|
||||
@echo " -DNO_TAP Compile $(BASE_PROGRAM_NAME) without VPN support (Windows and Cygwin only)."
|
||||
@echo " -DNO_CL_PIDS Don't support specifying ePIDs and HwId from the command line in $(BASE_PROGRAM_NAME)."
|
||||
@echo " -DNO_LIMIT Don't support limiting concurrent clients in $(BASE_PROGRAM_NAME)."
|
||||
@echo " -DNO_SIGHUP Don't support SIGHUP handling in $(BASE_PROGRAM_NAME)."
|
||||
@echo " -DNO_VERSION_INFORMATION Don't support displaying version information in $(BASE_PROGRAM_NAME) and $(BASE_CLIENT_NAME). Removes -V option."
|
||||
@echo " -DNO_PRIVATE_IP_DETECT Don't support protection against clients with public IP addresses in $(BASE_PROGRAM_NAME)"
|
||||
@echo " -DSIMPLE_SOCKETS Compile $(BASE_PROGRAM_NAME) with basic socket support only. Removes -L option."
|
||||
@echo " -DSMALL_AES Use a smaller (saves about 200 bytes) but slower implementation of AES."
|
||||
@echo " -DNO_EXTERNAL_DATA Don't support loading an external database. Mutually exclusive with -DNO_INTERNAL_DATA"
|
||||
@echo " -DNO_INTERNAL_DATA Don't compile an internal database. Mutually exclusive with -DNO_EXTERNAL_DATA"
|
||||
@echo " -DUNSAFE_DATA_LOAD Don't check the KMS data file for integrity. Saves some bytes but is dangerous."
|
||||
@echo ""
|
||||
@echo "Troubleshooting options"
|
||||
@echo " CAT=1 Combine all sources in a single in-memory file and compile directly to target."
|
||||
@ -223,6 +225,7 @@ help:
|
||||
@echo " DNS_PARSER=internal Use $(BASE_CLIENT_NAME) internal DNS parsing routines. No effect on MingW (native Windows)."
|
||||
@echo ""
|
||||
@echo "Other useful CFLAGS"
|
||||
@echo " -DFULL_INTERNAL_DATA Embed full internal KMS data in $(BASE_PROGRAM_NAME)."
|
||||
@echo " -DSUPPORT_WINE Add code that the Windows version of $(BASE_PROGRAM_NAME) runs on Wine if MSRPC=1"
|
||||
@echo " -D_PEDANTIC Report rare error/warning conditions instead of silently ignoring them."
|
||||
@echo " -DINCLUDE_BETAS Include SKU / activation IDs for obsolete beta/preview products."
|
||||
|
@ -31,6 +31,12 @@
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
@ -38,6 +44,13 @@
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120_xp</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@ -59,9 +72,15 @@
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
@ -75,6 +94,11 @@
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<TargetName>libkms32</TargetName>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>$(SolutionDir)..\bin\</OutDir>
|
||||
<TargetName>libkms64</TargetName>
|
||||
@ -91,6 +115,11 @@
|
||||
<TargetExt>.dll</TargetExt>
|
||||
<TargetName>$(ProjectName)32</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
<TargetName>$(ProjectName)32</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -108,6 +137,24 @@
|
||||
<MinimumRequiredVersion />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<PreprocessorDefinitions>_USING_V110_SDK71_;_MBCS;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;_PEDANTIC;SIMPLE_SOCKETS;NO_TIMEOUT;NO_SIGHUP;NO_CL_PIDS;NO_EXTENDED_PRODUCT_LIST;NO_BASIC_PRODUCT_LIST;NO_LOG;NO_RANDOM_EPID;NO_INI_FILE;NO_HELP;NO_CUSTOM_INTERVALS;NO_PID_FILE;NO_USER_SWITCH;NO_VERBOSE_LOG;NO_LIMIT;NO_VERSION_INFORMATION;NO_PRIVATE_IP_DETECT;IS_LIBRARY=1</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>shlwapi.lib;Iphlpapi.lib;Dnsapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<SubSystem>NotSet</SubSystem>
|
||||
<MinimumRequiredVersion>
|
||||
</MinimumRequiredVersion>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -165,6 +212,48 @@
|
||||
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<CallingConvention>Cdecl</CallingConvention>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||
<CreateHotpatchableImage>false</CreateHotpatchableImage>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<OpenMPSupport>false</OpenMPSupport>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<PreprocessorDefinitions>_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;SIMPLE_SOCKETS;NO_TIMEOUT;NO_SIGHUP;NO_CL_PIDS;NO_EXTENDED_PRODUCT_LIST;NO_BASIC_PRODUCT_LIST;NO_LOG;NO_RANDOM_EPID;NO_INI_FILE;NO_HELP;NO_CUSTOM_INTERVALS;NO_PID_FILE;NO_USER_SWITCH;NO_VERBOSE_LOG;NO_LIMIT;NO_VERSION_INFORMATION;NO_PRIVATE_IP_DETECT;IS_LIBRARY=1</PreprocessorDefinitions>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt.lib;Shlwapi.lib;Iphlpapi.lib;Dnsapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<SubSystem>NotSet</SubSystem>
|
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
<TerminalServerAware>
|
||||
</TerminalServerAware>
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<MinimumRequiredVersion>
|
||||
</MinimumRequiredVersion>
|
||||
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
0
VisualStudio/msvcrt.lib
Executable file → Normal file
0
VisualStudio/msvcrt.lib
Executable file → Normal file
0
VisualStudio/msvcrt64.lib
Executable file → Normal file
0
VisualStudio/msvcrt64.lib
Executable file → Normal file
@ -31,6 +31,12 @@
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
@ -38,6 +44,13 @@
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120_xp</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@ -59,9 +72,15 @@
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
@ -74,6 +93,10 @@
|
||||
<TargetName>vlmcs-Windows-x86</TargetName>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<TargetName>vlmcs-Windows-x86</TargetName>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>$(SolutionDir)..\bin\</OutDir>
|
||||
<TargetName>vlmcs-Windows-x64</TargetName>
|
||||
@ -85,6 +108,9 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -101,6 +127,22 @@
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<PreprocessorDefinitions>_USING_V110_SDK71_;_MBCS;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;_PEDANTIC</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>shlwapi.lib;Iphlpapi.lib;Dnsapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -152,6 +194,46 @@
|
||||
<TerminalServerAware>true</TerminalServerAware>
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<CallingConvention>Cdecl</CallingConvention>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||
<CreateHotpatchableImage>false</CreateHotpatchableImage>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<OpenMPSupport>false</OpenMPSupport>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<PreprocessorDefinitions>_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions);_CRYPTO_WINDOWS</PreprocessorDefinitions>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt.lib;Shlwapi.lib;Iphlpapi.lib;Dnsapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
<TerminalServerAware>true</TerminalServerAware>
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
@ -177,6 +259,7 @@
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<OpenMPSupport>false</OpenMPSupport>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
@ -190,6 +273,7 @@
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
@ -199,6 +283,7 @@
|
||||
<ClCompile Include="..\..\src\endian.c" />
|
||||
<ClCompile Include="..\..\src\helpers.c" />
|
||||
<ClCompile Include="..\..\src\kms.c" />
|
||||
<ClCompile Include="..\..\src\kmsdata-full.c" />
|
||||
<ClCompile Include="..\..\src\network.c" />
|
||||
<ClCompile Include="..\..\src\output.c" />
|
||||
<ClCompile Include="..\..\src\rpc.c" />
|
||||
@ -215,6 +300,7 @@
|
||||
<ClInclude Include="..\..\src\endian.h" />
|
||||
<ClInclude Include="..\..\src\helpers.h" />
|
||||
<ClInclude Include="..\..\src\kms.h" />
|
||||
<ClInclude Include="..\..\src\kmsdata.h" />
|
||||
<ClInclude Include="..\..\src\network.h" />
|
||||
<ClInclude Include="..\..\src\output.h" />
|
||||
<ClInclude Include="..\..\src\rpc.h" />
|
||||
|
@ -51,6 +51,9 @@
|
||||
<ClCompile Include="..\..\src\wingetopt.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kmsdata-full.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\config.h">
|
||||
@ -98,5 +101,8 @@
|
||||
<ClInclude Include="..\..\src\wingetopt.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\kmsdata.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
4
VisualStudio/vlmcsd.sln
Executable file → Normal file
4
VisualStudio/vlmcsd.sln
Executable file → Normal file
@ -11,9 +11,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vlmcsdmulti-Windows", "vlmc
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libkms-Windows", "libkms\libkms.vcxproj", "{2A0FC04D-C3C0-43E2-8812-53AE901C5395}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vlmcsd-gcc5", "..\vlmcsd-linux-remote.vcxproj", "{CC2FBE0B-B9DF-4306-88A1-20706BBD2B0C}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vlmcsd-gcc5", "..\src\vlmcsd-linux-remote.vcxproj", "{CC2FBE0B-B9DF-4306-88A1-20706BBD2B0C}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vlmcs-gcc5", "..\vlmcs-linux-remote.vcxproj", "{1ED83566-8AE1-4EE8-9B62-37188A7AC7CA}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vlmcs-gcc5", "..\src\vlmcs-linux-remote.vcxproj", "{1ED83566-8AE1-4EE8-9B62-37188A7AC7CA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
113
VisualStudio/vlmcsd/vlmcsd.vcxproj
Executable file → Normal file
113
VisualStudio/vlmcsd/vlmcsd.vcxproj
Executable file → Normal file
@ -27,6 +27,12 @@
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
@ -35,7 +41,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<PlatformToolset>v141_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
@ -45,6 +51,13 @@
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120_xp</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
@ -60,12 +73,18 @@
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
@ -81,6 +100,11 @@
|
||||
<TargetName>vlmcsd-Windows-x86</TargetName>
|
||||
<OutDir>$(SolutionDir)..\bin\</OutDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<TargetName>vlmcsd-Windows-x86</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -93,22 +117,38 @@
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>Shlwapi.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<PreprocessorDefinitions>_USING_V110_SDK71_;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;_PEDANTIC</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>Shlwapi.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_USING_V110_SDK71_;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;_PEDANTIC</PreprocessorDefinitions>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
<DisableSpecificWarnings>4201;4200;4214;4706</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>Shlwapi.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
@ -141,12 +181,14 @@
|
||||
<PreprocessorDefinitions>_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions);_CRYPTO_WINDOWS</PreprocessorDefinitions>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<AssemblerOutput>All</AssemblerOutput>
|
||||
<UseUnicodeForAssemblerListing>false</UseUnicodeForAssemblerListing>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt.lib;Shlwapi.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile />
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
@ -155,6 +197,57 @@
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<StringPooling>true</StringPooling>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<ControlFlowGuard>false</ControlFlowGuard>
|
||||
<CreateHotpatchableImage>false</CreateHotpatchableImage>
|
||||
<CallingConvention>Cdecl</CallingConvention>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<CompileAsManaged>false</CompileAsManaged>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<OpenMPSupport>false</OpenMPSupport>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<TreatWarningAsError>false</TreatWarningAsError>
|
||||
<PreprocessorDefinitions>_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions);_CRYPTO_WINDOWS</PreprocessorDefinitions>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<AssemblerOutput>All</AssemblerOutput>
|
||||
<UseUnicodeForAssemblerListing>false</UseUnicodeForAssemblerListing>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt.lib;Shlwapi.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>
|
||||
</ProgramDatabaseFile>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
<TerminalServerAware>true</TerminalServerAware>
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
@ -181,12 +274,14 @@
|
||||
<CompileAsManaged>false</CompileAsManaged>
|
||||
<TreatWarningAsError>false</TreatWarningAsError>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
<AssemblerOutput>All</AssemblerOutput>
|
||||
<UseUnicodeForAssemblerListing>false</UseUnicodeForAssemblerListing>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt64.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt64.lib;Shlwapi.lib;Iphlpapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
<ProgramDatabaseFile />
|
||||
@ -195,6 +290,7 @@
|
||||
<TerminalServerAware>true</TerminalServerAware>
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
@ -205,14 +301,17 @@
|
||||
<ClInclude Include="..\..\src\endian.h" />
|
||||
<ClInclude Include="..\..\src\helpers.h" />
|
||||
<ClInclude Include="..\..\src\kms.h" />
|
||||
<ClInclude Include="..\..\src\kmsdata.h" />
|
||||
<ClInclude Include="..\..\src\network.h" />
|
||||
<ClInclude Include="..\..\src\ntservice.h" />
|
||||
<ClInclude Include="..\..\src\output.h" />
|
||||
<ClInclude Include="..\..\src\rpc.h" />
|
||||
<ClInclude Include="..\..\src\shared_globals.h" />
|
||||
<ClInclude Include="..\..\src\tap-windows.h" />
|
||||
<ClInclude Include="..\..\src\types.h" />
|
||||
<ClInclude Include="..\..\src\vlmcsd.h" />
|
||||
<ClInclude Include="..\..\src\wingetopt.h" />
|
||||
<ClInclude Include="..\..\src\wintap.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\crypto.c" />
|
||||
@ -220,6 +319,7 @@
|
||||
<ClCompile Include="..\..\src\endian.c" />
|
||||
<ClCompile Include="..\..\src\helpers.c" />
|
||||
<ClCompile Include="..\..\src\kms.c" />
|
||||
<ClCompile Include="..\..\src\kmsdata.c" />
|
||||
<ClCompile Include="..\..\src\network.c" />
|
||||
<ClCompile Include="..\..\src\ntservice.c" />
|
||||
<ClCompile Include="..\..\src\output.c" />
|
||||
@ -227,6 +327,7 @@
|
||||
<ClCompile Include="..\..\src\shared_globals.c" />
|
||||
<ClCompile Include="..\..\src\vlmcsd.c" />
|
||||
<ClCompile Include="..\..\src\wingetopt.c" />
|
||||
<ClCompile Include="..\..\src\wintap.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
15
VisualStudio/vlmcsd/vlmcsd.vcxproj.filters
Executable file → Normal file
15
VisualStudio/vlmcsd/vlmcsd.vcxproj.filters
Executable file → Normal file
@ -60,6 +60,15 @@
|
||||
<ClInclude Include="..\..\src\wingetopt.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\kmsdata.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\tap-windows.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\wintap.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\crypto.c">
|
||||
@ -98,5 +107,11 @@
|
||||
<ClCompile Include="..\..\src\wingetopt.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kmsdata.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\wintap.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
88
VisualStudio/vlmcsdmulti/vlmcsdmulti.vcxproj
Executable file → Normal file
88
VisualStudio/vlmcsdmulti/vlmcsdmulti.vcxproj
Executable file → Normal file
@ -31,6 +31,12 @@
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
@ -38,6 +44,13 @@
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120_xp</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@ -59,9 +72,15 @@
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
@ -74,6 +93,10 @@
|
||||
<TargetName>vlmcsdmulti-Windows-x86</TargetName>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<TargetName>vlmcsdmulti-Windows-x86</TargetName>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>$(SolutionDir)..\bin\</OutDir>
|
||||
<TargetName>vlmcsdmulti-Windows-x64</TargetName>
|
||||
@ -85,6 +108,9 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -101,6 +127,22 @@
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<PreprocessorDefinitions>_USING_V110_SDK71_;_MBCS;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;_PEDANTIC;MULTI_CALL_BINARY=1</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>shlwapi.lib;Iphlpapi.lib;Dnsapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -152,6 +194,46 @@
|
||||
<TerminalServerAware>true</TerminalServerAware>
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<CallingConvention>Cdecl</CallingConvention>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||
<CreateHotpatchableImage>false</CreateHotpatchableImage>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<OpenMPSupport>false</OpenMPSupport>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<PreprocessorDefinitions>_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;MULTI_CALL_BINARY=1</PreprocessorDefinitions>
|
||||
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>$(SolutionDir)\msvcrt.lib;Shlwapi.lib;Iphlpapi.lib;Dnsapi.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
<TerminalServerAware>true</TerminalServerAware>
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
@ -190,6 +272,7 @@
|
||||
<SwapRunFromCD>true</SwapRunFromCD>
|
||||
<SwapRunFromNET>true</SwapRunFromNET>
|
||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||
<EntryPointSymbol>WinStartUp</EntryPointSymbol>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
@ -199,6 +282,7 @@
|
||||
<ClCompile Include="..\..\src\endian.c" />
|
||||
<ClCompile Include="..\..\src\helpers.c" />
|
||||
<ClCompile Include="..\..\src\kms.c" />
|
||||
<ClCompile Include="..\..\src\kmsdata-full.c" />
|
||||
<ClCompile Include="..\..\src\network.c" />
|
||||
<ClCompile Include="..\..\src\ntservice.c" />
|
||||
<ClCompile Include="..\..\src\output.c" />
|
||||
@ -208,6 +292,7 @@
|
||||
<ClCompile Include="..\..\src\vlmcsd.c" />
|
||||
<ClCompile Include="..\..\src\vlmcsdmulti.c" />
|
||||
<ClCompile Include="..\..\src\wingetopt.c" />
|
||||
<ClCompile Include="..\..\src\wintap.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\config.h" />
|
||||
@ -217,15 +302,18 @@
|
||||
<ClInclude Include="..\..\src\endian.h" />
|
||||
<ClInclude Include="..\..\src\helpers.h" />
|
||||
<ClInclude Include="..\..\src\kms.h" />
|
||||
<ClInclude Include="..\..\src\kmsdata.h" />
|
||||
<ClInclude Include="..\..\src\network.h" />
|
||||
<ClInclude Include="..\..\src\ntservice.h" />
|
||||
<ClInclude Include="..\..\src\output.h" />
|
||||
<ClInclude Include="..\..\src\rpc.h" />
|
||||
<ClInclude Include="..\..\src\shared_globals.h" />
|
||||
<ClInclude Include="..\..\src\tap-windows.h" />
|
||||
<ClInclude Include="..\..\src\types.h" />
|
||||
<ClInclude Include="..\..\src\vlmcs.h" />
|
||||
<ClInclude Include="..\..\src\vlmcsd.h" />
|
||||
<ClInclude Include="..\..\src\wingetopt.h" />
|
||||
<ClInclude Include="..\..\src\wintap.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
15
VisualStudio/vlmcsdmulti/vlmcsdmulti.vcxproj.filters
Executable file → Normal file
15
VisualStudio/vlmcsdmulti/vlmcsdmulti.vcxproj.filters
Executable file → Normal file
@ -60,6 +60,12 @@
|
||||
<ClCompile Include="..\..\src\vlmcsdmulti.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kmsdata-full.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\wintap.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\config.h">
|
||||
@ -110,5 +116,14 @@
|
||||
<ClInclude Include="..\..\src\vlmcsd.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\kmsdata.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\tap-windows.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\wintap.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
4
bin/.gitignore
vendored
Normal file
4
bin/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
4
build/.gitignore
vendored
Normal file
4
build/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
File diff suppressed because it is too large
Load Diff
@ -23,6 +23,15 @@
|
||||
# Set ePID/HwId for Office 2016 (including Visio and Project) explicitly
|
||||
;Office2016 = 06401-00206-437-444444-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
||||
|
||||
# Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
|
||||
;WinChinaGov = 06401-03858-000-555555-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
||||
|
||||
# Use a compatible VPN device to create a hidden local IPv4 address
|
||||
# Command line: -O
|
||||
# VPN = <VPN adapter name>[=<IPv4 address>][/<CIDR mask>][:<DHCP lease duration>]
|
||||
# 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.
|
||||
;VPN = KMS Mirror=192.168.123.100/24:1d
|
||||
|
||||
# Use custom TCP port
|
||||
# Command line: -P
|
||||
# ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
|
||||
@ -70,6 +79,10 @@
|
||||
# Command line: -p
|
||||
;PidFile = /var/run/vlmcsd.pid
|
||||
|
||||
# Load a KMS data file
|
||||
# Command line: -j
|
||||
;KmsData = /etc/vlmcsd.kmd
|
||||
|
||||
# Write log to /var/log/vlmcsd.log
|
||||
# Command line: -l (-e and -f also override this directive)
|
||||
;LogFile = /var/log/vlmcsd.log
|
||||
@ -82,6 +95,22 @@
|
||||
# Command line: -v and -q
|
||||
;LogVerbose = true
|
||||
|
||||
# Whitelist known products
|
||||
# Command line: -K0, -K1, -K2, -K3
|
||||
;WhiteListingLevel = 0
|
||||
|
||||
# Check that the client time is within +/- 4 hours of the system time
|
||||
# Command line: -c0, -c1
|
||||
;CheckClientTime = false
|
||||
|
||||
# Maintain a list of CMIDs
|
||||
# Command line: -M0, -M1
|
||||
;MaintainClients = false
|
||||
|
||||
# Start with empty CMID list (Requires MaintainClients = true)
|
||||
# Command line: -E0, -E1
|
||||
;StartEmpty = false
|
||||
|
||||
# Set activation interval to 2 hours
|
||||
# Command line: -A
|
||||
;ActivationInterval = 2h
|
||||
@ -90,6 +119,12 @@
|
||||
# Command line: -R
|
||||
;RenewalInterval = 7d
|
||||
|
||||
# Exit vlmcsd if warning of certain level has been reached
|
||||
# Command line: -x
|
||||
# 0 = Never
|
||||
# 1 = Exit, if any listening socket could not be established or TAP error occurs
|
||||
;ExitLevel = 0
|
||||
|
||||
# Run program as user vlmcsduser
|
||||
# Command line: -u
|
||||
;user = vlmcsduser
|
||||
@ -99,7 +134,7 @@
|
||||
;group = vlmcsdgroup
|
||||
|
||||
# Disable or enable the NDR64 transfer syntax in RPC (default enabled)
|
||||
# Command line: -N0 and -B1
|
||||
# Command line: -N0 and -N1
|
||||
;UseNDR64 = true
|
||||
|
||||
# Disable or enable bind time feature negotiation in RPC (default enabled)
|
||||
|
BIN
etc/vlmcsd.kmd
Normal file
BIN
etc/vlmcsd.kmd
Normal file
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
#!/usr/local/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
|
||||
cd "$( dirname "$0" )"
|
||||
gmake -C .. clean
|
||||
@ -19,7 +19,7 @@ CF45="-static-libgcc -pipe -fno-common -fno-exceptions -fno-stack-protector -fno
|
||||
CFCLANG="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
LF="-Wl,-z,norelro -Wl,--hash-style=sysv -Wl,--build-id=none"
|
||||
LFCLANG="-Wl,-z,norelro -Wl,--hash-style=sysv"
|
||||
export CC=gcc5
|
||||
export CC=gcc6
|
||||
|
||||
gmake $MAKEFLAGS MULTI_NAME=$BINDIR/vlmcsdmulti-DragonFly-x64 PROGRAM_NAME=$BINDIR/vlmcsd-DragonFly-x64 CLIENT_NAME=$BINDIR/vlmcs-DragonFly-x64 CFLAGS="$CF" LDFLAGS="$LF" allmulti
|
||||
|
||||
@ -28,6 +28,7 @@ cd $BINDIR
|
||||
strip -s --strip-unneeded --remove-section=.eh_frame_hdr --remove-section=.eh_frame --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag vlmcs-* vlmcsd-* vlmcsdmulti-*
|
||||
sstrip -z vlmcs-* vlmcsd-* vlmcsdmulti-*
|
||||
|
||||
cp -af ../etc/vlmcsd.kmd /usr/local/sbin
|
||||
cp -af vlmcsd-DragonFly-x64 /usr/local/sbin/vlmcsd
|
||||
cp -af vlmcs-DragonFly-x64 /usr/local/bin/vlmcs
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/local/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
export VERBOSE=3
|
||||
export DNS_PARSER=OS
|
||||
|
||||
@ -38,6 +38,7 @@ cd ../bin
|
||||
strip -s --strip-unneeded --remove-section=.eh_frame_hdr --remove-section=.eh_frame --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag vlmcs-* vlmcsd-* vlmcsdmulti-*
|
||||
sstrip -z vlmcs-* vlmcsd-* vlmcsdmulti-*
|
||||
|
||||
sudo cp -af ../etc/vlmcsd.kmd /usr/local/sbin
|
||||
sudo cp -af vlmcsd-FreeBSD-$VERSION-x64-gcc /usr/local/sbin/vlmcsd
|
||||
sudo cp -af vlmcs-FreeBSD-$VERSION-x64-gcc /usr/local/bin/vlmcs
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
export VERBOSE=3
|
||||
export DNS_PARSER=OS
|
||||
|
||||
@ -23,6 +23,7 @@ cd $BINDIR
|
||||
|
||||
sstrip -z vlmcs-* vlmcsd-* vlmcsdmulti-*
|
||||
|
||||
cp -af ../etc/vlmcsd.kmd /usr/local/sbin
|
||||
cp -af vlmcsd-hurd-x86-glibc /usr/local/sbin/vlmcsd
|
||||
cp -af vlmcs-hurd-x86-glibc /usr/local/bin/vlmcs
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
export VERBOSE=3
|
||||
export DNS_PARSER=OS
|
||||
|
||||
@ -23,6 +23,7 @@ export MULTI_NAME=$BINDIR/vlmcsdmulti-FreeBSD-10.1-x64-glibc
|
||||
|
||||
make $MAKEFLAGS CFLAGS="$CF -m64" LDFLAGS="$LF" CAT=2 allmulti
|
||||
|
||||
cp -af ../etc/vlmcsd.kmd /usr/local/sbin
|
||||
cp -af $PROGRAM_NAME /usr/local/sbin/vlmcsd
|
||||
cp -af $CLIENT_NAME /usr/local/bin/vlmcs
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
cd "$( dirname "$0" )"
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
|
||||
export VERBOSE=3
|
||||
export DNS_PARSER=internal
|
||||
|
||||
MAKEFLAGS="-j`nproc` -B"
|
||||
REUSEOBJFLAGS="-j"
|
||||
MAKEFLAGS="-j200 -B"
|
||||
REUSEOBJFLAGS="-j200"
|
||||
SMALLCC="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
SMALLLD="-pipe -Wl,--hash-style=sysv -Wl,-z,norelro -Wl,--build-id=none"
|
||||
SMALL="$SMALLCC $SMALLLD"
|
||||
@ -50,6 +50,7 @@ mkdir -p ../binaries/Linux/mips/big-endian/musl
|
||||
mkdir -p ../binaries/Linux/ppc/little-endian/glibc
|
||||
mkdir -p ../binaries/Linux/ppc/big-endian/glibc
|
||||
mkdir -p ../binaries/Linux/ppc/big-endian/uclibc
|
||||
mkdir -p ../binaries/Linux/ppc/big-endian/musl
|
||||
mkdir -p ../binaries/Linux/ppc/big-endian/static
|
||||
|
||||
mkdir -p ../binaries/MacOSX/intel
|
||||
@ -90,7 +91,7 @@ if [ $? != 0 ]; then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export CFLAGS="$CFLAGS -flto=jobserver -fvisibility=hidden -DIS_LIBRARY"
|
||||
export CFLAGS="$CFLAGS -flto=16 -fvisibility=hidden -DIS_LIBRARY"
|
||||
export LDFLAGS="$LDFLAGS -static-libgcc"
|
||||
|
||||
#make $MAKEFLAGS CRYPTO=windows FEATURES=minimum $DLL_NAME CAT=2
|
||||
@ -157,7 +158,7 @@ if [ $? != 0 ]; then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export CFLAGS="$CFLAGS -flto=jobserver -fvisibility=hidden -DIS_LIBRARY"
|
||||
export CFLAGS="$CFLAGS -flto=16 -fvisibility=hidden -DIS_LIBRARY"
|
||||
export LDFLAGS="$LDFLAGS -static-libgcc"
|
||||
|
||||
#make $MAKEFLAGS CRYPTO=windows FEATURES=minimum $DLL_NAME CAT=2
|
||||
@ -237,10 +238,11 @@ fi
|
||||
# Linux mips32el with uClibc 0.9.33.2 using gcc 4.9 from OpenWRT toolchain
|
||||
export CLIENT_NAME=../binaries/Linux/mips/little-endian/uclibc/vlmcs-mips32el-openwrt-uclib
|
||||
export PROGRAM_NAME=../binaries/Linux/mips/little-endian/uclibc/vlmcsd-mips32el-openwrt-uclibc
|
||||
export MULTI_NAME=../binaries/Linux/mips/little-endian/uclibc/vlmcsdmulti-mips32el-openwrt-uclibc
|
||||
export CC=/opt/toolchains/mipsel-openwrt-linux-uclibc/toolchain-mipsel_mips32_gcc-4.9-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC -DNO_LIMIT"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export LDFLAGS="-lpthread $SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
make $MAKEFLAGS allmulti
|
||||
@ -270,10 +272,11 @@ fi
|
||||
# Linux mips16el with uClibc 0.9.33.2 using gcc 4.9 from OpenWRT toolchain with statically linked libgcc for Asus routers, e.g. Asus RT-N66U
|
||||
export CLIENT_NAME=../binaries/Linux/mips/little-endian/uclibc/vlmcs-mips16el-asus-rt-n66u-uclibc
|
||||
export PROGRAM_NAME=../binaries/Linux/mips/little-endian/uclibc/vlmcsd-mips16el-asus-rt-n66u-uclibc
|
||||
export MULTI_NAME=../binaries/Linux/mips/little-endian/static/vlmcsdmulti-mips16el-asus-rt-n66u-uclibc
|
||||
export CC=/opt/toolchains/mipsel-openwrt-linux-uclibc/toolchain-mipsel_mips32_gcc-4.9-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC -static-libgcc -DNO_LIMIT"
|
||||
export PLATFORMFLAGS="-mips32 -mips16 -flto=jobserver -fwhole-program"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export PLATFORMFLAGS="-mips32 -mips16 -flto=16 -fwhole-program"
|
||||
export LDFLAGS="-lpthread $SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
make $MAKEFLAGS allmulti
|
||||
@ -304,8 +307,9 @@ fi
|
||||
# Linux mips16el with uClibc 0.9.33.2 using gcc 4.8 from OpenWRT toolchain
|
||||
export CLIENT_NAME=../binaries/Linux/mips/little-endian/uclibc/vlmcs-mips16el-openwrt-uclibc
|
||||
export PROGRAM_NAME=../binaries/Linux/mips/little-endian/uclibc/vlmcsd-mips16el-openwrt-uclibc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips16"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export MULTI_NAME=../binaries/Linux/mips/little-endian/static/vlmcsdmulti-mips16el-openwrt-uclibc
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips16"
|
||||
export LDFLAGS="-lpthread $SMALLLD"
|
||||
|
||||
make $MAKEFLAGS allmulti
|
||||
|
||||
@ -336,7 +340,7 @@ export MULTI_NAME=../binaries/Linux/mips/little-endian/glibc/vlmcsdmulti-mips16e
|
||||
export CC=/opt/toolchains/mipsel_74kc+dsp2_gcc-4.9-linaro_eglibc-2.19-mips16/bin/mipsel-openwrt-linux-gnu-gcc-4.9.2
|
||||
#export CC=~/openwrt/staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_eglibc-2.19/bin/mipsel-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=mips32 -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=mips32 -mips16"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
@ -357,7 +361,7 @@ export PROGRAM_NAME=../binaries/Linux/ppc/big-endian/glibc/vlmcsd-ppc64-glibc
|
||||
export MULTI_NAME=../binaries/Linux/ppc/big-endian/glibc/vlmcsdmulti-ppc64-glibc
|
||||
export CC=/opt/toolchains/ppc64-glibc2.19-gcc-4.9.1/bin/powerpc64-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
@ -378,7 +382,7 @@ export PROGRAM_NAME=../binaries/Linux/ppc/little-endian/glibc/vlmcsd-ppc64el-gli
|
||||
export MULTI_NAME=../binaries/Linux/ppc/little-endian/glibc/vlmcsdmulti-ppc64el-glibc
|
||||
export CC=/opt/toolchains/ppc64el-glibc2.20-gcc-4.9.1/bin/powerpc64le-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
@ -397,9 +401,9 @@ fi
|
||||
export CLIENT_NAME=../binaries/Linux/ppc/big-endian/glibc/vlmcs-ppc-glibc
|
||||
export PROGRAM_NAME=../binaries/Linux/ppc/big-endian/glibc/vlmcsd-ppc-glibc
|
||||
export MULTI_NAME=../binaries/Linux/ppc/big-endian/glibc/vlmcsdmulti-ppc-glibc
|
||||
export CC=~/openwrt/staging_dir/toolchain-powerpc_405_gcc-4.8-linaro_eglibc-2.19/bin/powerpc-openwrt-linux-gcc
|
||||
export CC=/opt/toolchains/ppc-openwrt-eglibc-2.19-gcc-4.8/bin/powerpc-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program --sysroot=/opt/simplebuild/toolchains/powerpc -L/opt/simplebuild/toolchains/powerpc/lib -L/opt/simplebuild/toolchains/powerpc/usr/lib"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program --sysroot=/opt/simplebuild/toolchains/powerpc -L/opt/simplebuild/toolchains/powerpc/lib -L/opt/simplebuild/toolchains/powerpc/usr/lib"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
@ -421,7 +425,7 @@ export MULTI_NAME=../binaries/Linux/mips/big-endian/glibc/vlmcsdmulti-mips32-ope
|
||||
export CC=/opt/toolchains/mips_34kc_gcc-4.9-linaro_eglibc-2.19-mips16/bin/mips-openwrt-linux-gcc
|
||||
#export CC=~/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_eglibc-2.19/bin/mips-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
@ -444,7 +448,7 @@ export MULTI_NAME=../binaries/Linux/mips/big-endian/glibc/vlmcsdmulti-mips16-ope
|
||||
export CC=/opt/toolchains/mips_34kc_gcc-4.9-linaro_eglibc-2.19-mips16/bin/mips-openwrt-linux-gcc
|
||||
#export CC=~/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_eglibc-2.19/bin/mips-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32 -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32 -mips16"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
@ -467,7 +471,7 @@ export MULTI_NAME=../binaries/Linux/mips/little-endian/glibc/vlmcsdmulti-mips32e
|
||||
export CC=/opt/toolchains/mipsel_74kc+dsp2_gcc-4.9-linaro_eglibc-2.19-mips16/bin/mipsel-openwrt-linux-gnu-gcc-4.9.2
|
||||
#export CC=~/openwrt/staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_eglibc-2.19/bin/mipsel-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
|
||||
@ -481,14 +485,69 @@ fi
|
||||
|
||||
|
||||
|
||||
# armv7 glibc 2.22 gcc 5.3 OpenWRT toolchain
|
||||
|
||||
export CC=/opt/toolchains/armelv7-OpenWRT-BCM47xx_53xx-gcc-5.3.0-glibc-2.22/bin/arm-openwrt-linux-gcc
|
||||
export CLIENT_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcs-armelv7-bcm47xx_53xx-openwrt-glibc
|
||||
export PROGRAM_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsd-armelv7-bcm47xx_53xx-openwrt-glibc
|
||||
export MULTI_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsdmulti-armelv7-bcm47xx_53xx-openwrt-glibc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7-a -mthumb -mtune=cortex-a9"
|
||||
export LDFLAGS="$SMALLLD -static-libgcc"
|
||||
export THREADS=0
|
||||
export DNS_PARSER=internal
|
||||
|
||||
make $MAKEFLAGS allmulti
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME, $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# armv7 glibc 2.22 gcc 5.3 OpenWRT toolchain
|
||||
|
||||
export CC=/opt/toolchains/armelv7-OpenWRT-BCM47xx_53xx-gcc-5.3.0-musl-1.14/bin/arm-openwrt-linux-gcc
|
||||
export CLIENT_NAME=../binaries/Linux/arm/little-endian/musl/vlmcs-armelv7-bcm47xx_53xx-openwrt-musl
|
||||
export PROGRAM_NAME=../binaries/Linux/arm/little-endian/musl/vlmcsd-armelv7-bcm47xx_53xx-openwrt-musl
|
||||
export MULTI_NAME=../binaries/Linux/arm/little-endian/musl/vlmcsdmulti-armelv7-bcm47xx_53xx-openwrt-musl
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7-a -mthumb -mtune=cortex-a9"
|
||||
export LDFLAGS="$SMALLLD -static-libgcc"
|
||||
export THREADS=0
|
||||
|
||||
make DNS_PARSER=OS $MAKEFLAGS allmulti
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME, $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export CLIENT_NAME=../binaries/Linux/arm/little-endian/static/vlmcs-armelv7-bcm47xx_53xx-openwrt-musl-static
|
||||
export PROGRAM_NAME=../binaries/Linux/arm/little-endian/static/vlmcsd-armelv7-bcm47xx_53xx-openwrt-musl-static
|
||||
export MULTI_NAME=../binaries/Linux/arm/little-endian/static/vlmcsdmulti-armelv7-bcm47xx_53xx-openwrt-musl-static
|
||||
export LDFLAGS="$SMALLLD -static"
|
||||
|
||||
make DNS_PARSER=OS $REUSEOBJFLAGS allmulti
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME, $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
#Android gcc 4.8 with API Level 3 (Android 1.5 cupcake) armv7
|
||||
|
||||
export CLIENT_NAME=../binaries/Android/arm/bionic/vlmcs-android15-armv7
|
||||
export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android15-armv7
|
||||
export MULTI_NAME=../binaries/Android/arm/static/vlmcsdmulti-android15-armv7
|
||||
export CC=/opt/toolchains/armelv7-android-3/bin/arm-linux-androideabi-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv7 -mthumb"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7 -mthumb"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -518,9 +577,10 @@ fi
|
||||
|
||||
export CLIENT_NAME=../binaries/Android/arm/bionic/vlmcs-android15-armv5
|
||||
export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android15-armv5
|
||||
export MULTI_NAME=../binaries/Android/arm/static/vlmcsdmulti-android15-armv5
|
||||
export CC=/opt/toolchains/armelv7-android-3/bin/arm-linux-androideabi-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv5te -mthumb"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv5te -mthumb"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -554,7 +614,7 @@ export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android41-armv7
|
||||
export MULTI_NAME=../binaries/Android/arm/bionic/vlmcsdmulti-android41-armv7
|
||||
export CC=/opt/toolchains/armelv7-android-16/bin/arm-linux-androideabi-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv7 -mthumb -fPIE -pie"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7 -mthumb -fPIE -pie"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -576,7 +636,7 @@ fi
|
||||
#export MULTI_NAME=../binaries/Android/arm/bionic/vlmcsdmulti-android50-armv7
|
||||
#export CC=/opt/toolchains/armelv7-android-21/bin/arm-linux-androideabi-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv7 -mthumb -fPIE -pie"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7 -mthumb -fPIE -pie"
|
||||
#export THREADS=0
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#
|
||||
@ -607,7 +667,7 @@ export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android50-arm64v8
|
||||
export MULTI_NAME=../binaries/Android/arm/bionic/vlmcsdmulti-android50-arm64v8
|
||||
export CC=/opt/toolchains/arm64el-android-21/bin/aarch64-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mtune=generic -mfix-cortex-a53-835769 -march=armv8-a -fPIE -pie"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mtune=generic -mfix-cortex-a53-835769 -march=armv8-a -fPIE -pie"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -629,7 +689,7 @@ export PROGRAM_NAME=../binaries/Android/arm/static/vlmcsd-android50-arm64v8-stat
|
||||
export MULTI_NAME=../binaries/Android/arm/static/vlmcsdmulti-android50-arm64v8-static
|
||||
export CC=/opt/toolchains/arm64el-android-21/bin/aarch64-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mtune=generic -mfix-cortex-a53-835769 -march=armv8-a"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mtune=generic -mfix-cortex-a53-835769 -march=armv8-a"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD -static"
|
||||
|
||||
@ -648,9 +708,10 @@ fi
|
||||
|
||||
export CLIENT_NAME=../binaries/Android/intel/bionic/vlmcs-android23-x86
|
||||
export PROGRAM_NAME=../binaries/Android/intel/bionic/vlmcsd-android23-x86
|
||||
export MULTI_NAME=../binaries/Android/intel/static/vlmcsdmulti-android23-x86
|
||||
export CC=/opt/toolchains/x86-android-9/bin/i686-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=atom -m32"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=i386 -m32"
|
||||
export THREADS=1
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -684,7 +745,7 @@ export PROGRAM_NAME=../binaries/Android/intel/bionic/vlmcsd-android41-x86
|
||||
export MULTI_NAME=../binaries/Android/intel/bionic/vlmcsdmulti-android41-x86
|
||||
export CC=/opt/toolchains/x86-android-16/bin/i686-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=atom -m32 -fPIE -pie"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=i386 -m32 -fPIE -pie"
|
||||
export THREADS=1
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -706,7 +767,7 @@ fi
|
||||
#export MULTI_NAME=../binaries/Android/intel/bionic/vlmcsdmulti-android50-x86
|
||||
#export CC=/opt/toolchains/x86-android-21/bin/i686-linux-android-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=atom -m32 -fPIE -pie"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -march=atom -m32 -fPIE -pie"
|
||||
#export THREADS=1
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#
|
||||
@ -736,7 +797,7 @@ export PROGRAM_NAME=../binaries/Android/intel/bionic/vlmcsd-android50-x64
|
||||
export MULTI_NAME=../binaries/Android/intel/bionic/vlmcsdmulti-android50-x64
|
||||
export CC=/opt/toolchains/x86_64-android-21/bin/x86_64-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=atom -m64 -fPIE -pie"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m64 -fPIE -pie"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -758,7 +819,7 @@ export PROGRAM_NAME=../binaries/Android/intel/static/vlmcsd-android50-x64-static
|
||||
export MULTI_NAME=../binaries/Android/intel/static/vlmcsdmulti-android50-x64-static
|
||||
export CC=/opt/toolchains/x86_64-android-21/bin/x86_64-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=nocona -m64"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m64"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD -static"
|
||||
|
||||
@ -778,9 +839,10 @@ fi
|
||||
|
||||
export CLIENT_NAME=../binaries/Android/mips/bionic/vlmcs-android23-mips32el
|
||||
export PROGRAM_NAME=../binaries/Android/mips/bionic/vlmcsd-android23-mips32el
|
||||
export MULTI_NAME=../binaries/Android/mips/static/vlmcsdmulti-android23-mips32el
|
||||
export CC=/opt/toolchains/mipsel-android-9/bin/mipsel-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export THREADS=1
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -815,7 +877,7 @@ export PROGRAM_NAME=../binaries/Android/mips/bionic/vlmcsd-android41-mips32el
|
||||
export MULTI_NAME=../binaries/Android/mips/bionic/vlmcsdmulti-android41-mips32el
|
||||
export CC=/opt/toolchains/mipsel-android-16/bin/mipsel-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -fPIE -pie"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -fPIE -pie"
|
||||
export THREADS=1
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -838,7 +900,7 @@ fi
|
||||
#export MULTI_NAME=../binaries/Android/mips/bionic/vlmcsdmulti-android50-mips32el
|
||||
#export CC=/opt/toolchains/mipsel-android-21/bin/mipsel-linux-android-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -fPIE -pie"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -fPIE -pie"
|
||||
#export THREADS=1
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#
|
||||
@ -867,7 +929,7 @@ fi
|
||||
#export PROGRAM_NAME=../binaries/Android/mips/bionic/vlmcsd-android23-mips16el
|
||||
#export CC=/opt/toolchains/mipsel-android-9/bin/mipsel-linux-android-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips16"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -mips16"
|
||||
#export THREADS=1
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#
|
||||
@ -920,7 +982,7 @@ fi
|
||||
#export MULTI_NAME=../binaries/Android/mips/bionic/vlmcsdmulti-android41-mips16el
|
||||
#export CC=/opt/toolchains/mipsel-android-16/bin/mipsel-linux-android-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -fPIE -pie -mips16"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -fPIE -pie -mips16"
|
||||
#export THREADS=1
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#
|
||||
@ -951,7 +1013,7 @@ fi
|
||||
#export MULTI_NAME=../binaries/Android/mips/bionic/vlmcsdmulti-android50-mips16el
|
||||
#export CC=/opt/toolchains/mipsel-android-21/bin/mipsel-linux-android-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -fPIE -pie -mips16"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -fPIE -pie -mips16"
|
||||
#export THREADS=1
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#
|
||||
@ -979,7 +1041,7 @@ export PROGRAM_NAME=../binaries/Android/mips/bionic/vlmcsd-android50-mips64el
|
||||
export MULTI_NAME=../binaries/Android/mips/bionic/vlmcsdmulti-android50-mips64el
|
||||
export CC=/opt/toolchains/mips64el-android-21/bin/mips64el-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -fPIE -pie"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -fPIE -pie"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD"
|
||||
|
||||
@ -1001,7 +1063,7 @@ export PROGRAM_NAME=../binaries/Android/mips/static/vlmcsd-android50-mips64el-st
|
||||
export MULTI_NAME=../binaries/Android/mips/static/vlmcsdmulti-android50-mips64el-static
|
||||
export CC=/opt/toolchains/mips64el-android-21/bin/mips64el-linux-android-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export THREADS=0
|
||||
export LDFLAGS="$SMALLLD -static"
|
||||
|
||||
@ -1021,7 +1083,7 @@ fi
|
||||
#export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android5
|
||||
#export CC=arm-linux-androideabi-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
#export LDFLAGS="$SMALLLD -pie -fpie"
|
||||
#export THREADS=0
|
||||
#
|
||||
@ -1073,7 +1135,7 @@ fi
|
||||
#export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android5-armv7
|
||||
#export CC=arm-linux-androideabi-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mthumb -march=armv7 -mtune=cortex-a9"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -mthumb -march=armv7 -mtune=cortex-a9"
|
||||
#export LDFLAGS="$SMALLLD -pie -fpie"
|
||||
#export THREADS=0
|
||||
#
|
||||
@ -1126,7 +1188,7 @@ fi
|
||||
#export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android
|
||||
#export CC=arm-linux-androideabi-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#export THREADS=0
|
||||
#
|
||||
@ -1178,7 +1240,7 @@ fi
|
||||
#export PROGRAM_NAME=../binaries/Android/arm/bionic/vlmcsd-android-armv7
|
||||
#export CC=arm-linux-androideabi-gcc
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mthumb -march=armv7 -mtune=cortex-a9"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -mthumb -march=armv7 -mtune=cortex-a9"
|
||||
#export LDFLAGS="$SMALLLD"
|
||||
#export THREADS=0
|
||||
#
|
||||
@ -1226,9 +1288,9 @@ fi
|
||||
export MULTI_NAME=../binaries/Linux/intel/glibc/vlmcsdmulti-x86-glibc
|
||||
export CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x86-glibc
|
||||
export PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x86-glibc
|
||||
export CC=~/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_eglibc-2.19/bin/i486-openwrt-linux-gcc
|
||||
export CC=/opt/toolchains/toolchain-i386_i486_gcc-4.8-linaro_eglibc-2.19/bin/i486-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m32 -march=i686 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m32 -march=i686 -mtune=generic"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
export THREADS=0
|
||||
|
||||
@ -1245,9 +1307,9 @@ fi
|
||||
|
||||
# Linux x86 glibc minimum standalone version
|
||||
export PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x86-glibc-minimum
|
||||
export CC=~/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_eglibc-2.19/bin/i486-openwrt-linux-gcc
|
||||
export CC=/opt/toolchains/toolchain-i386_i486_gcc-4.8-linaro_eglibc-2.19/bin/i486-openwrt-linux-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m32 -march=i686 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m32 -march=i686 -mtune=generic"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
export THREADS=0
|
||||
export FEATURES=minimum
|
||||
@ -1295,7 +1357,7 @@ export PROGRAM_NAME=../binaries/Linux/intel/static/vlmcsd-x86-musl-static
|
||||
#export CC=/opt/toolchains/i386_i486_gcc-4.9-linaro_musl-1.1.6/bin/i486-openwrt-linux-musl-gcc-4.9.2
|
||||
export CC=/opt/toolchains/i486-musl-gcc-5.3.0-binutils-2.25.1/bin/i486-Hotbird-linux-musl-gcc.br_real
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m32 -march=i486 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m32 -march=i486 -mtune=generic"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu -static"
|
||||
export THREADS=0
|
||||
export NOPROCFS=0
|
||||
@ -1326,15 +1388,16 @@ fi
|
||||
# Linux x86 musl static threads
|
||||
export FEATURES=full
|
||||
export PROGRAM_NAME=../binaries/Linux/intel/static/vlmcsd-x86-musl-static-threads
|
||||
export MULTI_NAME=../binaries/Linux/intel/static/vlmcsdmulti-x86-musl-static-threads
|
||||
export CC=/opt/toolchains/i486-musl-gcc-5.3.0-binutils-2.25.1/bin/i486-Hotbird-linux-musl-gcc.br_real
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m32 -march=i486 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m32 -march=i486 -mtune=generic"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu -static"
|
||||
export THREADS=1
|
||||
export NOPROCFS=0
|
||||
export AUXV=1
|
||||
|
||||
make $MAKEFLAGS $PROGRAM_NAME
|
||||
make $MAKEFLAGS $PROGRAM_NAME $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $PROGRAM_NAME
|
||||
@ -1352,8 +1415,8 @@ export CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x32-glibc
|
||||
export PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x32-glibc
|
||||
export CC=gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||
export LDFLAGS="-fuse-ld=gold $SMALLLD -Wl,--hash-style=gnu"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||
export LDFLAGS="-fuse-ld=bfd $SMALLLD -Wl,--hash-style=gnu"
|
||||
export THREADS=0
|
||||
export NOPROCFS=0
|
||||
export AUXV=1
|
||||
@ -1373,8 +1436,8 @@ export FEATURES=full
|
||||
export PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x32-glibc-threads
|
||||
export CC=gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||
export LDFLAGS="-fuse-ld=gold $SMALLLD -Wl,--hash-style=gnu -lpthread"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||
export LDFLAGS="-fuse-ld=bfd $SMALLLD -Wl,--hash-style=gnu -lpthread"
|
||||
export THREADS=1
|
||||
export NOPROCFS=0
|
||||
export AUXV=1
|
||||
@ -1396,7 +1459,7 @@ export CLIENT_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcs-armv4el-glibc
|
||||
export PROGRAM_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsd-armv4el-glibc
|
||||
export CC=/opt/toolchains/armelv5t-glibc-2.23-gcc-6.1.0-binutils-2.26/usr/bin/arm-Hotbird-linux-gnueabi-gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv4 -marm"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv4 -marm"
|
||||
export LDFLAGS="$SMALLLD -static-libgcc"
|
||||
export THREADS=0
|
||||
export NOPROCFS=0
|
||||
@ -1421,7 +1484,7 @@ export PROGRAM_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsd-armv4el-gli
|
||||
export CC=/opt/toolchains/armelv5t-glibc-2.23-gcc-6.1.0-binutils-2.26/usr/bin/arm-Hotbird-linux-gnueabi-gcc
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv4t -mthumb"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv4t -mthumb"
|
||||
export LDFLAGS="$SMALLLD -static-libgcc"
|
||||
export THREADS=0
|
||||
|
||||
@ -1440,7 +1503,7 @@ fi
|
||||
export PROGRAM_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsd-armv5el-glibc-thumb
|
||||
export CLIENT_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcs-armv5el-glibc-thumb
|
||||
export MULTI_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsdmulti-armv5el-glibc-thumb
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv5t -mthumb"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv5t -mthumb"
|
||||
|
||||
make $MAKEFLAGS DNS_PARSER=internal allmulti
|
||||
|
||||
@ -1456,7 +1519,7 @@ fi
|
||||
export PROGRAM_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsd-armv5el-glibc
|
||||
export CLIENT_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcs-armv5el-glibc
|
||||
export MULTI_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsdmulti-armv5el-glibc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv5 -marm"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv5 -marm"
|
||||
|
||||
make $MAKEFLAGS DNS_PARSER=internal allmulti
|
||||
|
||||
@ -1474,7 +1537,7 @@ export PROGRAM_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsd-armv7el-gli
|
||||
export CLIENT_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcs-armv7el-glibc
|
||||
export MULTI_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsdmulti-armv7el-glibc
|
||||
export CC=/opt/toolchains/armelv7-cortex-a8-glibc-2.18/usr/bin/arm-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv7 -mthumb"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7 -mthumb"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1495,8 +1558,8 @@ fi
|
||||
export PROGRAM_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsd-armv4el-openwrt-glibc
|
||||
export CLIENT_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcs-armv4el-openwrt-glibc
|
||||
export MULTI_NAME=../binaries/Linux/arm/little-endian/glibc/vlmcsdmulti-armv4el-openwrt-glibc
|
||||
export CC=~/openwrt/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_eglibc-2.19_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv4"
|
||||
export CC=/opt/toolchains/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_eglibc-2.19_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv4"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1520,8 +1583,8 @@ SUFFIX=-armv7el-openwrt-glibc
|
||||
export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=~/openwrt/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_eglibc-2.19_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv7 -mthumb"
|
||||
export CC=/opt/toolchains/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_eglibc-2.19_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7 -mthumb"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1546,7 +1609,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}-static
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}-static
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}-static
|
||||
export CC=/opt/toolchains/armelv5t-musl-gcc6.1.0-binutils-2.26/usr/bin/arm-Hotbird-linux-musleabi-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu -static"
|
||||
@ -1587,7 +1650,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/armelv5t-uclibc-0.9.33/usr/bin/arm-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv5t -mthumb"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv5t -mthumb"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1613,7 +1676,7 @@ export PROGRAM_NAME=${INSTALLDIR}uclibc/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}uclibc/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}uclibc/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/armelv7-cortex-a8-uclibc-0.9.33/usr/bin/arm-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv7 -mthumb"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7 -mthumb"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1648,8 +1711,8 @@ SUFFIX=-armv4el-openwrt-uclibc
|
||||
export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=~/openwrt/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv4 -marm"
|
||||
export CC=/opt/toolchains/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv4 -marm"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1673,7 +1736,7 @@ fi
|
||||
#export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
#export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
#export CC=~/openwrt/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-linux-gcc
|
||||
#export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv4t -mthumb"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv4t -mthumb"
|
||||
#export FEATURES=full
|
||||
#export CFLAGS="$SMALLCC"
|
||||
#export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1704,8 +1767,8 @@ SUFFIX=-armv7el-openwrt-uclibc
|
||||
export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=~/openwrt/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv7 -mthumb"
|
||||
export CC=/opt/toolchains/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv7 -mthumb"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -1768,7 +1831,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/mipsoe20/bin/mipsel-unknown-linux-gnu-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -1793,7 +1856,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/mipsoe20/bin/mipsel-unknown-linux-gnu-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -1856,7 +1919,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32el-mips16-glibc-2.18/usr/bin/mipsel-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32 -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32 -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -1882,7 +1945,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32el-mips16-uclibc-0.9.33/bin/mipsel-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32 -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32 -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -1908,10 +1971,11 @@ export CLIENT_NAME=${INSTALLDIR}uclibc/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}uclibc/vlmcsdmulti${SUFFIX}
|
||||
#export CC=~/openwrt/staging_dir/toolchain-powerpc_405_gcc-4.8-linaro_uClibc-0.9.33.2/bin/powerpc-openwrt-linux-gcc
|
||||
export CC=/opt/toolchains/ppc-uclibc0.9.33.2-gcc-4.9.1-binutils2.24/bin/powerpc-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -L/root/cross-compiler-powerpc/lib -L/root/cross-compiler-powerpc/usr/lib"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -L/root/cross-compiler-powerpc/lib -L/root/cross-compiler-powerpc/usr/lib"
|
||||
#export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export LDFLAGS="$SMALLLD -static-libgcc"
|
||||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
@ -1937,6 +2001,45 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
#Linux PowerPC musl 1.15 toolchain
|
||||
INSTALLDIR=../binaries/Linux/ppc/big-endian/
|
||||
SUFFIX=-ppc-musl
|
||||
export PROGRAM_NAME=${INSTALLDIR}musl/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}musl/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}musl/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/ppc-musl-1.15-gcc-6.2.0-binutils-2.27/usr/bin/powerpc-Hotbird64-linux-musl-gcc
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -static-libgcc"
|
||||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
make $MAKEFLAGS AUXV=1 DNS_PARSER=OS allmulti
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME, $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export PROGRAM_NAME=${INSTALLDIR}static/vlmcsd${SUFFIX}-static
|
||||
export CLIENT_NAME=${INSTALLDIR}static/vlmcs${SUFFIX}-static
|
||||
export MULTI_NAME=${INSTALLDIR}static/vlmcsdmulti${SUFFIX}-static
|
||||
export LDFLAGS="$SMALLLD -static"
|
||||
|
||||
make $REUSEOBJFLAGS AUXV=1 DNS_PARSER=OS allmulti
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME, $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#Fritzbox 7170 (mips32r2 little-endian) device specific, May or may not run on other devices
|
||||
INSTALLDIR=../binaries/Linux/mips/little-endian/
|
||||
SUFFIX=-mips32r2el-Fritzbox-71xx-72xx-uclibc
|
||||
@ -1944,7 +2047,7 @@ export PROGRAM_NAME=${INSTALLDIR}uclibc/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}uclibc/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}uclibc/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz71xx/bin/mipsel-linux-uclibc-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=4kec -mtune=4kec"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=4kec -mtune=4kec"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -1981,7 +2084,7 @@ export PROGRAM_NAME=${INSTALLDIR}uclibc/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}uclibc/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}uclibc/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz73xxOS62/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2018,7 +2121,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz73xxOS62/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC -D_PEDANTIC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2042,7 +2145,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz73xxOS62/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC -DNO_USER_SWITCH -DSIMPLE_SOCKETS -DNO_PID_FILE -DNO_USER_SWITCH -DNO_USER_SWITCH"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2066,7 +2169,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz73xxOS62/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export FEATURES=inetd
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2090,7 +2193,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz73xxOS62/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -lpthread"
|
||||
@ -2113,7 +2216,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz73xxOS62/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2133,7 +2236,7 @@ unset OPENSSL_HMAC
|
||||
|
||||
|
||||
|
||||
#make $MAKEFLAGS CLIENT_NAME=../binaries/Linux/mips/big-endian/uclibc/vlmcs-mips32-uclibc CFLAGS="$SMALL -pipe -flto=jobserver -fwhole-program" PROGRAM_NAME=../binaries/Linux/mips/big-endian/uclibc/vlmcsd-mips32-uclibc CC=/opt/toolchains/mips32eb-uclibc-0.9.33/usr/bin/mips-linux-cc && \
|
||||
#make $MAKEFLAGS CLIENT_NAME=../binaries/Linux/mips/big-endian/uclibc/vlmcs-mips32-uclibc CFLAGS="$SMALL -pipe -flto=16 -fwhole-program" PROGRAM_NAME=../binaries/Linux/mips/big-endian/uclibc/vlmcsd-mips32-uclibc CC=/opt/toolchains/mips32eb-uclibc-0.9.33/usr/bin/mips-linux-cc && \
|
||||
# Linux mips32 big-endian uclibc
|
||||
INSTALLDIR=../binaries/Linux/mips/big-endian/uclibc/
|
||||
SUFFIX=-mips32-uclibc
|
||||
@ -2141,7 +2244,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32eb-uclibc-0.9.33/usr/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2166,7 +2269,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32eb-uclibc-0.9.33/usr/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2191,10 +2294,10 @@ export PROGRAM_NAME=${INSTALLDIR}uclibc/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}uclibc/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}uclibc/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips-openwrt-linux-uclibc/bin/mips-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC -DNO_LIMIT"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="-ldl -lpthread $SMALLLD"
|
||||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
@ -2217,7 +2320,7 @@ export PROGRAM_NAME=${INSTALLDIR}musl/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}musl/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}musl/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips_34kc_gcc-4.9-linaro_musl-1.1.6-mips16/bin/mips-openwrt-linux-musl-gcc-4.9.2
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2254,10 +2357,10 @@ export PROGRAM_NAME=${INSTALLDIR}uclibc/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}uclibc/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}uclibc/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips-openwrt-linux-uclibc/bin/mips-openwrt-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=24kc"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC -DNO_LIMIT"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export LDFLAGS="-ldl -lpthread $SMALLLD"
|
||||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
@ -2271,7 +2374,7 @@ fi
|
||||
export PROGRAM_NAME=${INSTALLDIR}static/vlmcsd${SUFFIX}-static
|
||||
export CLIENT_NAME=${INSTALLDIR}static/vlmcs${SUFFIX}-static
|
||||
export MULTI_NAME=${INSTALLDIR}static/vlmcsdmulti${SUFFIX}-static
|
||||
export LDFLAGS="$SMALLLD -static"
|
||||
export LDFLAGS="$LDFLAGS -static"
|
||||
|
||||
make $REUSEOBJFLAGS allmulti
|
||||
|
||||
@ -2291,7 +2394,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32eb-uclibc-0.9.33/usr/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -lpthread"
|
||||
@ -2315,7 +2418,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32eb-glibc-2.19/usr/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2340,7 +2443,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32eb-glibc-2.19/usr/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2365,7 +2468,7 @@ export PROGRAM_NAME=${INSTALLDIR}musl/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}musl/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}musl/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32eb-musl/usr/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2374,7 +2477,6 @@ export CRYPTO=internal
|
||||
export NOPROCFS=0
|
||||
export AUXV=1
|
||||
|
||||
|
||||
make $MAKEFLAGS allmulti
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
@ -2407,7 +2509,7 @@ export PROGRAM_NAME=${INSTALLDIR}musl/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}musl/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}musl/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32el-mips16-musl/usr/bin/mipsel-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2446,7 +2548,7 @@ export PROGRAM_NAME=${INSTALLDIR}static/vlmcsd${SUFFIX}-static
|
||||
export CLIENT_NAME=${INSTALLDIR}static/vlmcs${SUFFIX}-static
|
||||
export MULTI_NAME=${INSTALLDIR}static/vlmcsdmulti${SUFFIX}-static
|
||||
export CC=/opt/toolchains/mips32el-mips16-musl-fpu/usr/bin/mipsel-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips16"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips16"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -static"
|
||||
@ -2472,7 +2574,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/i486-uclibc-0.9.33/bin/i486-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m32 -march=i486 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m32 -march=i486 -mtune=generic"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -2491,7 +2593,7 @@ fi
|
||||
|
||||
|
||||
|
||||
#make $MAKEFLAGS CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x64-glibc LDFLAGS="-Wl,--hash-style=gnu" CFLAGS="$SMALL -pipe -flto=jobserver -fwhole-program" PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x64-glibc CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc PLATFORMFLAGS="-m64 -mtune=generic"&& \
|
||||
#make $MAKEFLAGS CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x64-glibc LDFLAGS="-Wl,--hash-style=gnu" CFLAGS="$SMALL -pipe -flto=16 -fwhole-program" PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x64-glibc CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc PLATFORMFLAGS="-m64 -mtune=generic"&& \
|
||||
# Linux x64 glibc
|
||||
INSTALLDIR=../binaries/Linux/intel/glibc/
|
||||
SUFFIX=-x64-glibc
|
||||
@ -2499,7 +2601,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m64 -mtune=generic"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -2524,7 +2626,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/sparc32-glibc-gcc-4.7.4/bin/sparc-buildroot-linux-gnu-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mcpu=v7"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mcpu=v7"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2542,7 +2644,7 @@ fi
|
||||
|
||||
|
||||
|
||||
#make $MAKEFLAGS ../binaries/Linux/intel/glibc/vlmcsd-x64-glibc-threads CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x64-glibc-threads THREADS=1 LDFLAGS="-Wl,--hash-style=gnu -lpthread" CFLAGS="-pipe -flto=jobserver -fwhole-program" PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x64-glibc-threads CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc PLATFORMFLAGS="-m64 -mtune=generic"&& \
|
||||
#make $MAKEFLAGS ../binaries/Linux/intel/glibc/vlmcsd-x64-glibc-threads CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x64-glibc-threads THREADS=1 LDFLAGS="-Wl,--hash-style=gnu -lpthread" CFLAGS="-pipe -flto=16 -fwhole-program" PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x64-glibc-threads CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc PLATFORMFLAGS="-m64 -mtune=generic"&& \
|
||||
# Linux x64 glibc with threads
|
||||
INSTALLDIR=../binaries/Linux/intel/glibc/
|
||||
SUFFIX=-x64-glibc-threads
|
||||
@ -2550,7 +2652,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m64 -mtune=generic"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu -lpthread"
|
||||
@ -2567,7 +2669,7 @@ fi
|
||||
|
||||
|
||||
|
||||
#make $MAKEFLAGS LDFLAGS="-Wl,--hash-style=gnu" CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x64-glibc-openssl1.0.0-hard-EXPERIMENTAL CRYPTO=openssl_with_aes CFLAGS="$SMALL -pipe -flto=jobserver -fwhole-program" PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x64-glibc-openssl1.0.0-hard-EXPERIMENTAL CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc PLATFORMFLAGS="-m64 -mtune=generic" && \
|
||||
#make $MAKEFLAGS LDFLAGS="-Wl,--hash-style=gnu" CLIENT_NAME=../binaries/Linux/intel/glibc/vlmcs-x64-glibc-openssl1.0.0-hard-EXPERIMENTAL CRYPTO=openssl_with_aes CFLAGS="$SMALL -pipe -flto=16 -fwhole-program" PROGRAM_NAME=../binaries/Linux/intel/glibc/vlmcsd-x64-glibc-openssl1.0.0-hard-EXPERIMENTAL CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc PLATFORMFLAGS="-m64 -mtune=generic" && \
|
||||
# Linux x64 glibc with OpenSSL 1.0.x support
|
||||
INSTALLDIR=../binaries/Linux/intel/glibc/
|
||||
SUFFIX=-x64-glibc-openssl1.0.0-hard-EXPERIMENTAL
|
||||
@ -2575,7 +2677,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/x86_64-glibc-2.19/usr/bin/x86_64-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m64 -mtune=generic"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -2601,7 +2703,7 @@ export CLIENT_NAME=${INSTALLDIR}musl/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}musl/vlmcsdmulti${SUFFIX}
|
||||
#export CC=/opt/toolchains/x86_64_gcc-4.9-linaro_musl-1.1.6/bin/x86_64-openwrt-linux-musl-gcc-4.9.2
|
||||
export CC=/opt/toolchains/x86_64-musl-gcc-5.3.0-binutils-2.25.1/bin/x86_64-Hotbird-linux-musl-gcc.br_real
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m64 -mtune=generic"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -2633,7 +2735,7 @@ fi
|
||||
|
||||
|
||||
|
||||
#make $MAKEFLAGS CC=/opt/toolchains/x86_64-uclibc-0.9.33/bin/x86_64-linux-gcc LDFLAGS="-Wl,--hash-style=gnu" CLIENT_NAME=../binaries/Linux/intel/uclibc/vlmcs-x64-uclibc PROGRAM_NAME=../binaries/Linux/intel/uclibc/vlmcsd-x64-uclibc CFLAGS="$SMALL -flto=jobserver -fwhole-program -pipe -fno-stack-protector" && \
|
||||
#make $MAKEFLAGS CC=/opt/toolchains/x86_64-uclibc-0.9.33/bin/x86_64-linux-gcc LDFLAGS="-Wl,--hash-style=gnu" CLIENT_NAME=../binaries/Linux/intel/uclibc/vlmcs-x64-uclibc PROGRAM_NAME=../binaries/Linux/intel/uclibc/vlmcsd-x64-uclibc CFLAGS="$SMALL -flto=16 -fwhole-program -pipe -fno-stack-protector" && \
|
||||
# Linux x64 uclibc
|
||||
INSTALLDIR=../binaries/Linux/intel/uclibc/
|
||||
SUFFIX=-x64-uclibc
|
||||
@ -2641,7 +2743,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/x86_64-uclibc-0.9.33/bin/x86_64-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mtune=generic"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -m64 -mtune=generic"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
@ -2704,7 +2806,7 @@ export PROGRAM_NAME=${INSTALLDIR}uclibc/vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}uclibc/vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}uclibc/vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/mips32el-uclibc-0.9.33/bin/mipsel-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mips32"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -mips32"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
@ -2743,7 +2845,7 @@ export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/toolchains/armhfv6-glibc-2.19/bin/arm-linux-gcc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=armv6zk -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s"
|
||||
export PLATFORMFLAGS="-flto=16 -fwhole-program -march=armv6zk -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
|
@ -2,9 +2,7 @@
|
||||
|
||||
cd ~/vlmcsd/hotbird64-mass-build
|
||||
|
||||
export VLMCSD_VERSION=svn$(ssh root@ubuntu64.internal "cd x; svnversion")
|
||||
scp -p make_minix root@ubuntu64.internal:x/hotbird64-mass-build
|
||||
scp -pr root@ubuntu64.internal:x/* ..
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
|
||||
BINDIR="bin"
|
||||
cd ..
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
SMALLCC="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
SMALLLD="-pipe -Wl,--hash-style=sysv -Wl,-z,norelro -Wl,--build-id=none"
|
||||
SMALL="$SMALLCC $SMALLLD"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/pkg/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
export VERBOSE=3
|
||||
export DNS_PARSER=OS
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/local/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
export VERBOSE=3
|
||||
export DNS_PARSER=OS
|
||||
|
||||
@ -16,10 +16,10 @@ REUSEOBJFLAGS="-j12"
|
||||
CF="-static-libgcc -pipe -fwhole-program -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
CF45="-static-libgcc -pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
CFCLANG="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
LF="-Wl,-z,norelro"
|
||||
LFCLANG="-Wl,-z,norelro"
|
||||
LF="-lpthread -Wl,-z,norelro"
|
||||
LFCLANG="-lpthread -Wl,-z,norelro"
|
||||
|
||||
gmake -Bj12 allmulti $MAKEFLAGS CC=egcc MULTI_NAME=$BINDIR/vlmcsdmulti-OpenBSD-x64 PROGRAM_NAME=$BINDIR/vlmcsd-OpenBSD-x64 CLIENT_NAME=$BINDIR/vlmcs-OpenBSD-x64 CFLAGS="$CF" LDFLAGS="$LF"
|
||||
gmake -Bj12 allmulti $MAKEFLAGS CC=egcc THREADS=1 MULTI_NAME=$BINDIR/vlmcsdmulti-OpenBSD-x64 PROGRAM_NAME=$BINDIR/vlmcsd-OpenBSD-x64 CLIENT_NAME=$BINDIR/vlmcs-OpenBSD-x64 CFLAGS="$CF" LDFLAGS="$LF"
|
||||
|
||||
#gmake allmulti $MAKEFLAGS CAT=2 MULTI_NAME=vlmcsdmulti-OpenBSD-x86 PROGRAM_NAME=vlmcsd-OpenBSD-x86 CLIENT_NAME=vlmcs-OpenBSD-x86 CFLAGS="$CF45 -m32" LDFLAGS="$LF"
|
||||
|
||||
@ -30,6 +30,7 @@ cd $BINDIR
|
||||
strip -s --strip-unneeded --remove-section=.eh_frame_hdr --remove-section=.eh_frame --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag vlmcs-* vlmcsd-* vlmcsdmulti-*
|
||||
#sstrip -z vlmcs-* vlmcsd-* vlmcsdmulti-*
|
||||
|
||||
cp -f ../etc/vlmcsd.kmd /etc
|
||||
cp -f vlmcsd-OpenBSD-x64 /usr/local/sbin/vlmcsd
|
||||
cp -f vlmcs-OpenBSD-x64 /usr/local/bin/vlmcs
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
export VERBOSE=3
|
||||
export DNS_PARSER=OS
|
||||
|
||||
@ -64,6 +64,7 @@ MANDIR="../man"
|
||||
|
||||
rm -fr *.dSYM
|
||||
|
||||
sudo cp -p ../etc/vlmcsd.kmd /usr/local/bin
|
||||
sudo cp -p vlmcs-MacOSX-x86-gcc /usr/local/bin/vlmcs
|
||||
sudo cp -p vlmcsd-MacOSX-x86-gcc /usr/local/bin/vlmcsd
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
export VERBOSE=3
|
||||
export CAT=2
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
cd "$( dirname "$0" )"
|
||||
|
||||
export VLMCSD_VERSION="svn`svnversion`"
|
||||
export VLMCSD_VERSION=$(git describe)
|
||||
|
||||
msbuild='/cygdrive/c/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe'
|
||||
msbuild='/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/MSBuild/15.0/Bin/amd64/msbuild.exe'
|
||||
version="$VLMCSD_VERSION, built $(date -u '+%Y-%m-%d %H:%M:%S') UTC"
|
||||
|
||||
make -C .. clean
|
||||
@ -41,7 +41,7 @@ make $MAKEFLAGS MSRPC=1 THREADS=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-c
|
||||
make $MAKEFLAGS vlmcsdmulti MSRPC=1 THREADS=1 DNS_PARSER=internal MULTI_NAME=../bin/vlmcsdmulti-cygwin-msrpc-x64 CC=x86_64-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC -flto=jobserver" PLATFORMFLAGS="$PF64" LDFLAGS="$LFCYG64"
|
||||
make $MAKEFLAGS vlmcsdmulti MSRPC=1 THREADS=1 DNS_PARSER=internal MULTI_NAME=../bin/vlmcsdmulti-cygwin-msrpc-x86 CC=i686-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC -flto=jobserver" PLATFORMFLAGS="$PF32" LDFLAGS="$LFCYG32"
|
||||
|
||||
make $MAKEFLAGS THREADS=1 MSRPC=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-cygwin-msrpc-x86-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes PROGRAM_NAME=../bin/vlmcsd-cygwin-x86-openssl-EXPERIMENTAL CC=i686-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC" PLATFORMFLAGS="$PF32" LDFLAGS="$LFCYG32"
|
||||
#make $MAKEFLAGS THREADS=1 MSRPC=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-cygwin-msrpc-x86-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes PROGRAM_NAME=../bin/vlmcsd-cygwin-x86-openssl-EXPERIMENTAL CC=i686-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC" PLATFORMFLAGS="$PF32" LDFLAGS="$LFCYG32"
|
||||
make $MAKEFLAGS THREADS=1 MSRPC=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-cygwin-msrpc-x64-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes PROGRAM_NAME=../bin/vlmcsd-cygwin-x64-openssl-EXPERIMENTAL CC=x86_64-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC" PLATFORMFLAGS="$PF64" LDFLAGS="$LFCYG64"
|
||||
|
||||
export CAT=2
|
||||
@ -69,12 +69,14 @@ echo "Installing binaries"
|
||||
|
||||
cp -p bin/vlmcs-cygwin-x64.exe /usr/local/bin/vlmcs &
|
||||
cp -p bin/vlmcsd-cygwin-x64.exe /usr/local/bin/vlmcsd &
|
||||
cp -p etc/vlmcsd.kmd /usr/local/bin &
|
||||
cp -p bin/cygkms64.dll /usr/local/bin/cygkms.dll &
|
||||
|
||||
cp -p bin/libkms32.dll /cygdrive/c/nttools/x86 &
|
||||
cp -p bin/libkms64.dll /cygdrive/c/nttools/x64 &
|
||||
cp -p bin/vlmcsd-Windows-x86.exe /cygdrive/c/nttools/x86/vlmcsd.exe
|
||||
cp -p bin/vlmcs-Windows-x86.exe /cygdrive/c/nttools/x86/vlmcs.exe
|
||||
cp -p bin/vlmcsd-Windows-x86.exe /cygdrive/c/nttools/x86/vlmcsd.exe &
|
||||
cp -p bin/vlmcs-Windows-x86.exe /cygdrive/c/nttools/x86/vlmcs.exe &
|
||||
cp -p etc/vlmcsd.kmd /cygdrive/c/nttools/x86
|
||||
|
||||
#cmd /C mklink c:\\nttools\\x86\\vlmcsd.exe vlmcsdmulti.exe 2> /dev/null &
|
||||
#cmd /C mklink c:\\nttools\\x86\\vlmcs.exe vlmcsdmulti.exe 2> /dev/null &
|
||||
|
4
lib/.gitignore
vendored
Normal file
4
lib/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
@ -19,7 +19,7 @@ DOSDOCS = $(PDFDOCS:.pdf=.dos.txt)
|
||||
groff -Thtml -mandoc -c $< > $@
|
||||
|
||||
%.unix.txt : %
|
||||
groff -P -c -Tutf8 -mandoc -c $< | col -bx > $@
|
||||
groff -P -c -Tascii -mandoc -c $< | col -bx > $@
|
||||
|
||||
%.dos.txt : %.unix.txt
|
||||
# unix2dos -n $< $@
|
||||
|
@ -1,5 +1,5 @@
|
||||
.mso www.tmac
|
||||
.TH VLMCS 1 "May 2016" "Hotbird64" "KMS Activation Manual"
|
||||
.TH VLMCS 1 "November 2016" "Hotbird64" "KMS Activation Manual"
|
||||
.LO 1
|
||||
|
||||
.SH NAME
|
||||
@ -76,11 +76,16 @@ to specify applications that are not listed with \fB-x\fR. The
|
||||
option is used as a shortcut for the most common applications.
|
||||
|
||||
.IP "\fB-K\fR \fIprotocol-version\fR"
|
||||
Force a specific version of the KMS protocol. Valid versions are 4.0, 5.0 and 6.0. The default is to select a suitable version according to the \fIapplication\fR selected. You may use \fB-K\fR to send an incorrect protocol version to the KMS server and see how it behaves. Genuine KMS servers return HRESULT 0x8007000D if the KMS protocol is not 4.0, 5.0 or 6.0. Emulators should do the same. When sending a request with an incorrect protocol number, vlmcs ignores the minor protocol number (e.g. sends a v4 request for version 4.1). If the major version number is less then 4, it sends a v4 request. If the major version is greater then 6, is sends a v6 request. In any case the \fIprotocol-version\fR as specified by \fB-K\fR is put in the version fields of the request.
|
||||
Force a specific version of the KMS protocol. Valid versions are 4.0, 5.0 and 6.0. The default is to select a suitable version according to the \fIapplication\fR selected. You may use \fB-K\fR to send an incorrect protocol version to the KMS server and see how it behaves. Genuine KMS servers return HRESULT 0x8007000D if the KMS protocol is not 4.0, 5.0 or 6.0. Emulators should do the same. When sending a request with an incorrect protocol number, vlmcs ignores the minor protocol number (e.g. sends a v4 request for version 4.1). If the major version number is less then 4, it sends a v4 request. If the major version is greater then 6, it sends a v6 request. In any case the \fIprotocol-version\fR as specified by \fB-K\fR is put in the version fields of the request.
|
||||
|
||||
.IP "\fB-4\fR, \fB-5\fR and \fB-6"
|
||||
Force version 4, 5 or 6 of the KMS protocol. These options are actually shortcuts of \fB-K 4.0\fR, \fB-K 5.0\fR and \fB-K 6.0\fR.
|
||||
|
||||
.IP "\fB-j\fR \fIfilename\fR"
|
||||
Use KMS data file \fIfilename\fR. By default vlmcs contains product data that is recent when vlmcs was compiled. You may use a more recent KMS data file that contains additional products.
|
||||
|
||||
If vlmcsd has been compiled to use a default KMS data file, you may use \fB-j-\fR to ignore the default configuration file.
|
||||
|
||||
.IP "\fB-m"
|
||||
Let the client pretend to be a virtual machine. Early versions of Microsoft's
|
||||
KMS server did not increase the client count if the request came from a virtual
|
||||
|
@ -52,8 +52,8 @@ OPTIONS
|
||||
Show help.
|
||||
|
||||
|
||||
-V Displays extended version information. This includes the com‐
|
||||
piler used to build vlmcs, the intended platform and flags (com‐
|
||||
-V Displays extended version information. This includes the com-
|
||||
piler used to build vlmcs, the intended platform and flags (com-
|
||||
pile time options) to build vlmcs. If you have the source code
|
||||
of vlmcsd, you can type make help (or gmake help on systems that
|
||||
do not use the GNU version of make(1) by default) to see the
|
||||
@ -72,7 +72,7 @@ OPTIONS
|
||||
|
||||
|
||||
-l application
|
||||
Request activation for a specific application. Valid applica‐
|
||||
Request activation for a specific application. Valid applica-
|
||||
tions can be displayed by using -x. The default application is
|
||||
Windows Vista Business. The list of available applications is
|
||||
not complete. You may supply GUIDs with -a, -k and -s to specify
|
||||
@ -90,8 +90,8 @@ OPTIONS
|
||||
same. When sending a request with an incorrect protocol number,
|
||||
vlmcs ignores the minor protocol number (e.g. sends a v4 request
|
||||
for version 4.1). If the major version number is less then 4, it
|
||||
sends a v4 request. If the major version is greater then 6, is
|
||||
sends a v6 request. In any case the protocol-version as speci‐
|
||||
sends a v4 request. If the major version is greater then 6, it
|
||||
sends a v6 request. In any case the protocol-version as speci-
|
||||
fied by -K is put in the version fields of the request.
|
||||
|
||||
|
||||
@ -100,24 +100,33 @@ OPTIONS
|
||||
actually shortcuts of -K 4.0, -K 5.0 and -K 6.0.
|
||||
|
||||
|
||||
-m Let the client pretend to be a virtual machine. Early versions
|
||||
of Microsoft's KMS server did not increase the client count if
|
||||
the request came from a virtual machine. Newer versions ignore
|
||||
-j filename
|
||||
Use KMS data file filename. By default vlmcs contains product
|
||||
data that is recent when vlmcs was compiled. You may use a more
|
||||
recent KMS data file that contains additional products.
|
||||
|
||||
If vlmcsd has been compiled to use a default KMS data file, you
|
||||
may use -j- to ignore the default configuration file.
|
||||
|
||||
|
||||
-m Let the client pretend to be a virtual machine. Early versions
|
||||
of Microsoft's KMS server did not increase the client count if
|
||||
the request came from a virtual machine. Newer versions ignore
|
||||
this flag.
|
||||
|
||||
|
||||
-d Use NetBIOS names instead of DNS names. By default vlmcsd gener‐
|
||||
ates some random DNS names for each request. If you prefer Net‐
|
||||
BIOS names, you may use -d. A real Microsoft activation client
|
||||
uses DNS names or NetBIOS depending on the client name configu‐
|
||||
-d Use NetBIOS names instead of DNS names. By default vlmcsd gener-
|
||||
ates some random DNS names for each request. If you prefer Net-
|
||||
BIOS names, you may use -d. A real Microsoft activation client
|
||||
uses DNS names or NetBIOS depending on the client name configu-
|
||||
ration. KMS servers treat the workstation name as a comment that
|
||||
affects logging only. Clients will be identified by a GUID that
|
||||
can be specified using -c. -d has no effect if you also specify
|
||||
affects logging only. Clients will be identified by a GUID that
|
||||
can be specified using -c. -d has no effect if you also specify
|
||||
-w.
|
||||
|
||||
|
||||
-a application-guid
|
||||
Send requests with a specific application-guid. There are cur‐
|
||||
Send requests with a specific application-guid. There are cur-
|
||||
rently only three known valid application-guids:
|
||||
|
||||
|
||||
@ -126,91 +135,91 @@ OPTIONS
|
||||
0ff1ce15-a989-479d-af46-f275c6370663 (Office 2013)
|
||||
|
||||
|
||||
A Microsoft KMS server uses these GUIDs to have seperate coun‐
|
||||
ters for the already activated clients. A client that does not
|
||||
contact the KMS server within 30 days will be deleted from the
|
||||
A Microsoft KMS server uses these GUIDs to have seperate coun-
|
||||
ters for the already activated clients. A client that does not
|
||||
contact the KMS server within 30 days will be deleted from the
|
||||
database. Emulated KMS servers are always fully charged.
|
||||
|
||||
|
||||
-k kms-guid
|
||||
Send requests with a specific kms-guid. A Microsoft KMS server
|
||||
uses these GUIDs as a product id to decide whether to grant
|
||||
activation or not. A list of current kms-guids can be found in
|
||||
kms.c (table KmsIdList). Emulated KMS servers grant activation
|
||||
Send requests with a specific kms-guid. A Microsoft KMS server
|
||||
uses these GUIDs as a product id to decide whether to grant
|
||||
activation or not. A list of current kms-guids can be found in
|
||||
kms.c (table KmsIdList). Emulated KMS servers grant activation
|
||||
unconditionally and do not check the kms-guid.
|
||||
|
||||
|
||||
-s activation-guid
|
||||
The activation-guid defines the actual product, e.g. "Windows
|
||||
8.1 Professional WMC KMSCLIENT edition". A activation-guid maps
|
||||
1:1 to a product key. However, neither a Microsoft KMS server
|
||||
nor emulated servers check this id. The activation-guid is use‐
|
||||
ful in logging to get a specific product description like "Win‐
|
||||
dows 8.1 Professional WMC". A list of current activation-guids
|
||||
The activation-guid defines the actual product, e.g. "Windows
|
||||
8.1 Professional WMC KMSCLIENT edition". A activation-guid maps
|
||||
1:1 to a product key. However, neither a Microsoft KMS server
|
||||
nor emulated servers check this id. The activation-guid is use-
|
||||
ful in logging to get a specific product description like "Win-
|
||||
dows 8.1 Professional WMC". A list of current activation-guids
|
||||
can be found in kms.c (table ExtendedProductList).
|
||||
|
||||
|
||||
-n requests
|
||||
Send requests requests to the server. The default is to send at
|
||||
Send requests requests to the server. The default is to send at
|
||||
least one request and enough subsequent requests that the server
|
||||
is fully charged afterwards for the application-guid you
|
||||
is fully charged afterwards for the application-guid you
|
||||
selected (explicitly with -a or implicitly by using -l).
|
||||
|
||||
|
||||
-T Causes to use a new TCP connection for each request if multiple
|
||||
requests are sent with vlmcsd. This is useful when you want to
|
||||
test an emulated KMS server whether it suffers from memory
|
||||
leaks. To test for memory leaks use -n with a large number of
|
||||
requests (> 100000) and then test twice (with and without -T).
|
||||
This option may become neccessary for future versions of Micro‐
|
||||
soft's KMS server because multiple requests with different
|
||||
clients-guids for the same kms-id-guid are impossible in a real
|
||||
-T Causes to use a new TCP connection for each request if multiple
|
||||
requests are sent with vlmcsd. This is useful when you want to
|
||||
test an emulated KMS server whether it suffers from memory
|
||||
leaks. To test for memory leaks use -n with a large number of
|
||||
requests (> 100000) and then test twice (with and without -T).
|
||||
This option may become neccessary for future versions of Micro-
|
||||
soft's KMS server because multiple requests with different
|
||||
clients-guids for the same kms-id-guid are impossible in a real
|
||||
KMS szenario over the same TCP connection.
|
||||
|
||||
|
||||
-c client-machine-guid
|
||||
Normally vlmcs generates a random client-machine-guid for each
|
||||
request. By using this option you can specify a fixed client-
|
||||
machine-guid This causes a Microsoft KMS not to increment its
|
||||
client count because it receives multiple requests for the same
|
||||
client. Thus do not use -c if you want to charge a real KMS
|
||||
Normally vlmcs generates a random client-machine-guid for each
|
||||
request. By using this option you can specify a fixed client-
|
||||
machine-guid This causes a Microsoft KMS not to increment its
|
||||
client count because it receives multiple requests for the same
|
||||
client. Thus do not use -c if you want to charge a real KMS
|
||||
server.
|
||||
|
||||
|
||||
-o previous-client-machine-guid
|
||||
If the client-machine-guid changes for some reason, the real KMS
|
||||
client stores a previous-client-machine-guid which is sent to
|
||||
the KMS server. This happens rarely and usually
|
||||
00000000-0000-0000-0000-000000000000 is used. You can use -o to
|
||||
client stores a previous-client-machine-guid which is sent to
|
||||
the KMS server. This happens rarely and usually
|
||||
00000000-0000-0000-0000-000000000000 is used. You can use -o to
|
||||
specify a different previous-client-machine-guid.
|
||||
|
||||
|
||||
-G filename
|
||||
Grabs ePIDs and HWIDs from a KMS server and writes the informa‐
|
||||
tion to filename in format suitable to be used as a configura‐
|
||||
tion file (aka ini file) for vlmcsd(8). This is especially use‐
|
||||
ful if you have access to a genuine KMS server and want to use
|
||||
Grabs ePIDs and HWIDs from a KMS server and writes the informa-
|
||||
tion to filename in format suitable to be used as a configura-
|
||||
tion file (aka ini file) for vlmcsd(8). This is especially use-
|
||||
ful if you have access to a genuine KMS server and want to use
|
||||
the same data with vlmcsd(8).
|
||||
|
||||
If filename does not exist, it will be created. If you specify
|
||||
an existing filename, it will be updated to use the information
|
||||
received from the remote KMS server and a backup filename~ will
|
||||
If filename does not exist, it will be created. If you specify
|
||||
an existing filename, it will be updated to use the information
|
||||
received from the remote KMS server and a backup filename~ will
|
||||
be created.
|
||||
|
||||
-G cannot be used with -l, -4, -5, -6, -a, -s, -k, -r and -n
|
||||
|
||||
|
||||
-w workstation-name
|
||||
Send requests with a specific workstation-name. This disables
|
||||
the random generator for the workstation name. Since it is a
|
||||
Send requests with a specific workstation-name. This disables
|
||||
the random generator for the workstation name. Since it is a
|
||||
comment only, this option does not have much effect.
|
||||
|
||||
|
||||
-r required-client-count
|
||||
Also known as the "N count policy". Tells the KMS server that
|
||||
successful activation requires required-client-count clients.
|
||||
The default is the required-client-count that the product would
|
||||
need if the request was a real activation. A Microsoft KMS
|
||||
Also known as the "N count policy". Tells the KMS server that
|
||||
successful activation requires required-client-count clients.
|
||||
The default is the required-client-count that the product would
|
||||
need if the request was a real activation. A Microsoft KMS
|
||||
server counts clients up to the double amount what was specified
|
||||
with -r. This option can be used to "overcharge" a Microsoft KMS
|
||||
server.
|
||||
@ -218,57 +227,57 @@ OPTIONS
|
||||
|
||||
-t status
|
||||
Reports a specific license status to the KMS server. status is a
|
||||
number that can be from 0 to 6. 0=unlicensed, 1=licensed, 2=OOB
|
||||
grace, 3=OOT grace, 4=Non-genuinue grace, 5=notification,
|
||||
6=extended grace. Refer to TechNet ⟨http://
|
||||
technet.microsoft.com/en-us/library/ff686879.aspx#_Toc257201371⟩
|
||||
for more information. A Microsoft KMS server collects this
|
||||
number that can be from 0 to 6. 0=unlicensed, 1=licensed, 2=OOB
|
||||
grace, 3=OOT grace, 4=Non-genuinue grace, 5=notification,
|
||||
6=extended grace. Refer to TechNet <http://
|
||||
technet.microsoft.com/en-us/library/ff686879.aspx#_Toc257201371>
|
||||
for more information. A Microsoft KMS server collects this
|
||||
information for statistics only.
|
||||
|
||||
|
||||
-g binding-expiration
|
||||
This tells the KMS server how long a client will stay in its
|
||||
current license status. This can be the remaining OOB time (the
|
||||
grace peroid that is granted between installation of a product
|
||||
and when activation is actuall required) or the remaining time
|
||||
when KMS activation must be renewed. binding-expiration is
|
||||
This tells the KMS server how long a client will stay in its
|
||||
current license status. This can be the remaining OOB time (the
|
||||
grace peroid that is granted between installation of a product
|
||||
and when activation is actuall required) or the remaining time
|
||||
when KMS activation must be renewed. binding-expiration is
|
||||
specified in minutes. A Microsoft KMS server apparantly does not
|
||||
use this information.
|
||||
|
||||
|
||||
-i protocol-version
|
||||
Force the use of Internet protocol protocol-version. Allowed
|
||||
values are 4 (IPv4) and 6 (IPv6). This option is useful only if
|
||||
you specfiy a hostname and not an ip-address on the command
|
||||
Force the use of Internet protocol protocol-version. Allowed
|
||||
values are 4 (IPv4) and 6 (IPv6). This option is useful only if
|
||||
you specfiy a hostname and not an ip-address on the command
|
||||
line.
|
||||
|
||||
|
||||
-p Do not set the RPC_PF_MULTIPLEX flag in the RPC bind request.
|
||||
-p Do not set the RPC_PF_MULTIPLEX flag in the RPC bind request.
|
||||
This can be used to test if the KMS server uses the same setting
|
||||
of this flag in the RPC bind respone. Some KMS emulators don't
|
||||
of this flag in the RPC bind respone. Some KMS emulators don't
|
||||
set this correctly.
|
||||
|
||||
|
||||
-N0 and -N1
|
||||
Disables (-N0) or enables (-N1) the NDR64 transfer syntax in the
|
||||
RPC protocol. Disable NDR64 only in case of problems. If NDR64
|
||||
RPC protocol. Disable NDR64 only in case of problems. If NDR64
|
||||
is not used, vlmcs cannot detect many RPC protocol errors in KMS
|
||||
emulators. If you want to test whether a KMS emulator fully sup‐
|
||||
ports NDR64, you must use the -n option to send at least two
|
||||
requests. This is because Microsoft's client always sends the
|
||||
first request using NDR32 syntax and subsequent requests using
|
||||
emulators. If you want to test whether a KMS emulator fully sup-
|
||||
ports NDR64, you must use the -n option to send at least two
|
||||
requests. This is because Microsoft's client always sends the
|
||||
first request using NDR32 syntax and subsequent requests using
|
||||
NDR64 syntax.
|
||||
|
||||
|
||||
-B0 and -B1
|
||||
Disables (-B0) or enables (-B1) bind time feature negotiation
|
||||
(BTFN) in the RPC protocol. Disable BTFN only in case of prob‐
|
||||
Disables (-B0) or enables (-B1) bind time feature negotiation
|
||||
(BTFN) in the RPC protocol. Disable BTFN only in case of prob-
|
||||
lems. If BTFN is not used, vlmcs cannot detect many RPC protocol
|
||||
errors in KMS emulators.
|
||||
|
||||
|
||||
Options that do not require an argument can be specified together with
|
||||
a single dash, e.g. vlmcs -6mvT. If you specify an option more than
|
||||
Options that do not require an argument can be specified together with
|
||||
a single dash, e.g. vlmcs -6mvT. If you specify an option more than
|
||||
once, the last occurence will be in effect.
|
||||
|
||||
|
||||
@ -278,34 +287,34 @@ FILES
|
||||
|
||||
EXAMPLES
|
||||
vlmcs kms.example.com
|
||||
Request activation for Windows Vista using v4 protocol from
|
||||
kms.example.com. Repeat activation requests until server is
|
||||
Request activation for Windows Vista using v4 protocol from
|
||||
kms.example.com. Repeat activation requests until server is
|
||||
charged for all Windows products.
|
||||
|
||||
|
||||
vlmcs -
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
KMS server that is published via DNS for the current domain.
|
||||
|
||||
|
||||
vlmcs .example.com
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
KMS server that is published via DNS for domain example.com.
|
||||
|
||||
|
||||
vlmcs -6 -l Office2013 -v -n 1
|
||||
Request exactly one activation for Office2013 using v6 protocol
|
||||
Request exactly one activation for Office2013 using v6 protocol
|
||||
from localhost. Display verbose results.
|
||||
|
||||
|
||||
vlmcs kms.bigcompany.com -G /etc/vlmcsd.ini
|
||||
Get ePIDs and HWIDs from kms.bigcompany.com and create/update
|
||||
Get ePIDs and HWIDs from kms.bigcompany.com and create/update
|
||||
/etc/vlmcsd.ini accordingly.
|
||||
|
||||
|
||||
BUGS
|
||||
Some platforms (e.g. Solaris) may have a man(7) system that does not
|
||||
handle URLs. URLs may be omitted in the documentation on those plat‐
|
||||
Some platforms (e.g. Solaris) may have a man(7) system that does not
|
||||
handle URLs. URLs may be omitted in the documentation on those plat-
|
||||
forms. Cygwin, Linux, FreeBSD and Mac OS X are known to work correctly.
|
||||
|
||||
|
||||
@ -314,7 +323,7 @@ AUTHOR
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos‐
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos-
|
||||
ferati87, qad, Ratiborus, vityan666, ...
|
||||
|
||||
|
||||
@ -323,4 +332,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 May 2016 VLMCS(1)
|
||||
Hotbird64 November 2016 VLMCS(1)
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Oct 11 21:34:50 2016 -->
|
||||
<!-- CreationDate: Sat Jun 17 00:53:29 2017 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -39,7 +39,7 @@
|
||||
</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcs − a
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcs - a
|
||||
client for testing and/or charging KMS servers</p>
|
||||
|
||||
<h2>SYNOPSIS
|
||||
@ -197,7 +197,7 @@ the same. When sending a request with an incorrect protocol
|
||||
number, vlmcs ignores the minor protocol number (e.g. sends
|
||||
a v4 request for version 4.1). If the major version number
|
||||
is less then 4, it sends a v4 request. If the major version
|
||||
is greater then 6, is sends a v6 request. In any case the
|
||||
is greater then 6, it sends a v6 request. In any case the
|
||||
<i>protocol-version</i> as specified by <b>-K</b> is put in
|
||||
the version fields of the request.</p>
|
||||
|
||||
@ -208,6 +208,17 @@ the version fields of the request.</p>
|
||||
KMS protocol. These options are actually shortcuts of <b>-K
|
||||
4.0</b>, <b>-K 5.0</b> and <b>-K 6.0</b>.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-j</b> <i>filename</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Use KMS data file
|
||||
<i>filename</i>. By default vlmcs contains product data that
|
||||
is recent when vlmcs was compiled. You may use a more recent
|
||||
KMS data file that contains additional products.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">If vlmcsd has
|
||||
been compiled to use a default KMS data file, you may use
|
||||
<b>-j-</b> to ignore the default configuration file.</p>
|
||||
|
||||
<table width="100%" border="0" rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
@ -292,7 +303,7 @@ ExtendedProductList).</p>
|
||||
<p style="margin-left:22%;">Send <i>requests</i> requests
|
||||
to the server. The default is to send at least one request
|
||||
and enough subsequent requests that the server is fully
|
||||
charged afterwards for the <i>application−guid</i> you
|
||||
charged afterwards for the <i>application-guid</i> you
|
||||
selected (explicitly with <b>-a</b> or implicitly by using
|
||||
<b>-l</b>).</p>
|
||||
|
||||
@ -384,7 +395,7 @@ what was specified with <b>-r</b>. This option can be used
|
||||
to "overcharge" a Microsoft KMS server.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−t </b><i>status</i></p>
|
||||
<p style="margin-left:11%;"><b>-t </b><i>status</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Reports a specific license
|
||||
status to the KMS server. <i>status</i> is a number that can
|
||||
|
BIN
man/vlmcs.1.pdf
BIN
man/vlmcs.1.pdf
Binary file not shown.
@ -52,8 +52,8 @@ OPTIONS
|
||||
Show help.
|
||||
|
||||
|
||||
-V Displays extended version information. This includes the com‐
|
||||
piler used to build vlmcs, the intended platform and flags (com‐
|
||||
-V Displays extended version information. This includes the com-
|
||||
piler used to build vlmcs, the intended platform and flags (com-
|
||||
pile time options) to build vlmcs. If you have the source code
|
||||
of vlmcsd, you can type make help (or gmake help on systems that
|
||||
do not use the GNU version of make(1) by default) to see the
|
||||
@ -72,7 +72,7 @@ OPTIONS
|
||||
|
||||
|
||||
-l application
|
||||
Request activation for a specific application. Valid applica‐
|
||||
Request activation for a specific application. Valid applica-
|
||||
tions can be displayed by using -x. The default application is
|
||||
Windows Vista Business. The list of available applications is
|
||||
not complete. You may supply GUIDs with -a, -k and -s to specify
|
||||
@ -90,8 +90,8 @@ OPTIONS
|
||||
same. When sending a request with an incorrect protocol number,
|
||||
vlmcs ignores the minor protocol number (e.g. sends a v4 request
|
||||
for version 4.1). If the major version number is less then 4, it
|
||||
sends a v4 request. If the major version is greater then 6, is
|
||||
sends a v6 request. In any case the protocol-version as speci‐
|
||||
sends a v4 request. If the major version is greater then 6, it
|
||||
sends a v6 request. In any case the protocol-version as speci-
|
||||
fied by -K is put in the version fields of the request.
|
||||
|
||||
|
||||
@ -100,24 +100,33 @@ OPTIONS
|
||||
actually shortcuts of -K 4.0, -K 5.0 and -K 6.0.
|
||||
|
||||
|
||||
-m Let the client pretend to be a virtual machine. Early versions
|
||||
of Microsoft's KMS server did not increase the client count if
|
||||
the request came from a virtual machine. Newer versions ignore
|
||||
-j filename
|
||||
Use KMS data file filename. By default vlmcs contains product
|
||||
data that is recent when vlmcs was compiled. You may use a more
|
||||
recent KMS data file that contains additional products.
|
||||
|
||||
If vlmcsd has been compiled to use a default KMS data file, you
|
||||
may use -j- to ignore the default configuration file.
|
||||
|
||||
|
||||
-m Let the client pretend to be a virtual machine. Early versions
|
||||
of Microsoft's KMS server did not increase the client count if
|
||||
the request came from a virtual machine. Newer versions ignore
|
||||
this flag.
|
||||
|
||||
|
||||
-d Use NetBIOS names instead of DNS names. By default vlmcsd gener‐
|
||||
ates some random DNS names for each request. If you prefer Net‐
|
||||
BIOS names, you may use -d. A real Microsoft activation client
|
||||
uses DNS names or NetBIOS depending on the client name configu‐
|
||||
-d Use NetBIOS names instead of DNS names. By default vlmcsd gener-
|
||||
ates some random DNS names for each request. If you prefer Net-
|
||||
BIOS names, you may use -d. A real Microsoft activation client
|
||||
uses DNS names or NetBIOS depending on the client name configu-
|
||||
ration. KMS servers treat the workstation name as a comment that
|
||||
affects logging only. Clients will be identified by a GUID that
|
||||
can be specified using -c. -d has no effect if you also specify
|
||||
affects logging only. Clients will be identified by a GUID that
|
||||
can be specified using -c. -d has no effect if you also specify
|
||||
-w.
|
||||
|
||||
|
||||
-a application-guid
|
||||
Send requests with a specific application-guid. There are cur‐
|
||||
Send requests with a specific application-guid. There are cur-
|
||||
rently only three known valid application-guids:
|
||||
|
||||
|
||||
@ -126,91 +135,91 @@ OPTIONS
|
||||
0ff1ce15-a989-479d-af46-f275c6370663 (Office 2013)
|
||||
|
||||
|
||||
A Microsoft KMS server uses these GUIDs to have seperate coun‐
|
||||
ters for the already activated clients. A client that does not
|
||||
contact the KMS server within 30 days will be deleted from the
|
||||
A Microsoft KMS server uses these GUIDs to have seperate coun-
|
||||
ters for the already activated clients. A client that does not
|
||||
contact the KMS server within 30 days will be deleted from the
|
||||
database. Emulated KMS servers are always fully charged.
|
||||
|
||||
|
||||
-k kms-guid
|
||||
Send requests with a specific kms-guid. A Microsoft KMS server
|
||||
uses these GUIDs as a product id to decide whether to grant
|
||||
activation or not. A list of current kms-guids can be found in
|
||||
kms.c (table KmsIdList). Emulated KMS servers grant activation
|
||||
Send requests with a specific kms-guid. A Microsoft KMS server
|
||||
uses these GUIDs as a product id to decide whether to grant
|
||||
activation or not. A list of current kms-guids can be found in
|
||||
kms.c (table KmsIdList). Emulated KMS servers grant activation
|
||||
unconditionally and do not check the kms-guid.
|
||||
|
||||
|
||||
-s activation-guid
|
||||
The activation-guid defines the actual product, e.g. "Windows
|
||||
8.1 Professional WMC KMSCLIENT edition". A activation-guid maps
|
||||
1:1 to a product key. However, neither a Microsoft KMS server
|
||||
nor emulated servers check this id. The activation-guid is use‐
|
||||
ful in logging to get a specific product description like "Win‐
|
||||
dows 8.1 Professional WMC". A list of current activation-guids
|
||||
The activation-guid defines the actual product, e.g. "Windows
|
||||
8.1 Professional WMC KMSCLIENT edition". A activation-guid maps
|
||||
1:1 to a product key. However, neither a Microsoft KMS server
|
||||
nor emulated servers check this id. The activation-guid is use-
|
||||
ful in logging to get a specific product description like "Win-
|
||||
dows 8.1 Professional WMC". A list of current activation-guids
|
||||
can be found in kms.c (table ExtendedProductList).
|
||||
|
||||
|
||||
-n requests
|
||||
Send requests requests to the server. The default is to send at
|
||||
Send requests requests to the server. The default is to send at
|
||||
least one request and enough subsequent requests that the server
|
||||
is fully charged afterwards for the application-guid you
|
||||
is fully charged afterwards for the application-guid you
|
||||
selected (explicitly with -a or implicitly by using -l).
|
||||
|
||||
|
||||
-T Causes to use a new TCP connection for each request if multiple
|
||||
requests are sent with vlmcsd. This is useful when you want to
|
||||
test an emulated KMS server whether it suffers from memory
|
||||
leaks. To test for memory leaks use -n with a large number of
|
||||
requests (> 100000) and then test twice (with and without -T).
|
||||
This option may become neccessary for future versions of Micro‐
|
||||
soft's KMS server because multiple requests with different
|
||||
clients-guids for the same kms-id-guid are impossible in a real
|
||||
-T Causes to use a new TCP connection for each request if multiple
|
||||
requests are sent with vlmcsd. This is useful when you want to
|
||||
test an emulated KMS server whether it suffers from memory
|
||||
leaks. To test for memory leaks use -n with a large number of
|
||||
requests (> 100000) and then test twice (with and without -T).
|
||||
This option may become neccessary for future versions of Micro-
|
||||
soft's KMS server because multiple requests with different
|
||||
clients-guids for the same kms-id-guid are impossible in a real
|
||||
KMS szenario over the same TCP connection.
|
||||
|
||||
|
||||
-c client-machine-guid
|
||||
Normally vlmcs generates a random client-machine-guid for each
|
||||
request. By using this option you can specify a fixed client-
|
||||
machine-guid This causes a Microsoft KMS not to increment its
|
||||
client count because it receives multiple requests for the same
|
||||
client. Thus do not use -c if you want to charge a real KMS
|
||||
Normally vlmcs generates a random client-machine-guid for each
|
||||
request. By using this option you can specify a fixed client-
|
||||
machine-guid This causes a Microsoft KMS not to increment its
|
||||
client count because it receives multiple requests for the same
|
||||
client. Thus do not use -c if you want to charge a real KMS
|
||||
server.
|
||||
|
||||
|
||||
-o previous-client-machine-guid
|
||||
If the client-machine-guid changes for some reason, the real KMS
|
||||
client stores a previous-client-machine-guid which is sent to
|
||||
the KMS server. This happens rarely and usually
|
||||
00000000-0000-0000-0000-000000000000 is used. You can use -o to
|
||||
client stores a previous-client-machine-guid which is sent to
|
||||
the KMS server. This happens rarely and usually
|
||||
00000000-0000-0000-0000-000000000000 is used. You can use -o to
|
||||
specify a different previous-client-machine-guid.
|
||||
|
||||
|
||||
-G filename
|
||||
Grabs ePIDs and HWIDs from a KMS server and writes the informa‐
|
||||
tion to filename in format suitable to be used as a configura‐
|
||||
tion file (aka ini file) for vlmcsd(8). This is especially use‐
|
||||
ful if you have access to a genuine KMS server and want to use
|
||||
Grabs ePIDs and HWIDs from a KMS server and writes the informa-
|
||||
tion to filename in format suitable to be used as a configura-
|
||||
tion file (aka ini file) for vlmcsd(8). This is especially use-
|
||||
ful if you have access to a genuine KMS server and want to use
|
||||
the same data with vlmcsd(8).
|
||||
|
||||
If filename does not exist, it will be created. If you specify
|
||||
an existing filename, it will be updated to use the information
|
||||
received from the remote KMS server and a backup filename~ will
|
||||
If filename does not exist, it will be created. If you specify
|
||||
an existing filename, it will be updated to use the information
|
||||
received from the remote KMS server and a backup filename~ will
|
||||
be created.
|
||||
|
||||
-G cannot be used with -l, -4, -5, -6, -a, -s, -k, -r and -n
|
||||
|
||||
|
||||
-w workstation-name
|
||||
Send requests with a specific workstation-name. This disables
|
||||
the random generator for the workstation name. Since it is a
|
||||
Send requests with a specific workstation-name. This disables
|
||||
the random generator for the workstation name. Since it is a
|
||||
comment only, this option does not have much effect.
|
||||
|
||||
|
||||
-r required-client-count
|
||||
Also known as the "N count policy". Tells the KMS server that
|
||||
successful activation requires required-client-count clients.
|
||||
The default is the required-client-count that the product would
|
||||
need if the request was a real activation. A Microsoft KMS
|
||||
Also known as the "N count policy". Tells the KMS server that
|
||||
successful activation requires required-client-count clients.
|
||||
The default is the required-client-count that the product would
|
||||
need if the request was a real activation. A Microsoft KMS
|
||||
server counts clients up to the double amount what was specified
|
||||
with -r. This option can be used to "overcharge" a Microsoft KMS
|
||||
server.
|
||||
@ -218,57 +227,57 @@ OPTIONS
|
||||
|
||||
-t status
|
||||
Reports a specific license status to the KMS server. status is a
|
||||
number that can be from 0 to 6. 0=unlicensed, 1=licensed, 2=OOB
|
||||
grace, 3=OOT grace, 4=Non-genuinue grace, 5=notification,
|
||||
6=extended grace. Refer to TechNet ⟨http://
|
||||
technet.microsoft.com/en-us/library/ff686879.aspx#_Toc257201371⟩
|
||||
for more information. A Microsoft KMS server collects this
|
||||
number that can be from 0 to 6. 0=unlicensed, 1=licensed, 2=OOB
|
||||
grace, 3=OOT grace, 4=Non-genuinue grace, 5=notification,
|
||||
6=extended grace. Refer to TechNet <http://
|
||||
technet.microsoft.com/en-us/library/ff686879.aspx#_Toc257201371>
|
||||
for more information. A Microsoft KMS server collects this
|
||||
information for statistics only.
|
||||
|
||||
|
||||
-g binding-expiration
|
||||
This tells the KMS server how long a client will stay in its
|
||||
current license status. This can be the remaining OOB time (the
|
||||
grace peroid that is granted between installation of a product
|
||||
and when activation is actuall required) or the remaining time
|
||||
when KMS activation must be renewed. binding-expiration is
|
||||
This tells the KMS server how long a client will stay in its
|
||||
current license status. This can be the remaining OOB time (the
|
||||
grace peroid that is granted between installation of a product
|
||||
and when activation is actuall required) or the remaining time
|
||||
when KMS activation must be renewed. binding-expiration is
|
||||
specified in minutes. A Microsoft KMS server apparantly does not
|
||||
use this information.
|
||||
|
||||
|
||||
-i protocol-version
|
||||
Force the use of Internet protocol protocol-version. Allowed
|
||||
values are 4 (IPv4) and 6 (IPv6). This option is useful only if
|
||||
you specfiy a hostname and not an ip-address on the command
|
||||
Force the use of Internet protocol protocol-version. Allowed
|
||||
values are 4 (IPv4) and 6 (IPv6). This option is useful only if
|
||||
you specfiy a hostname and not an ip-address on the command
|
||||
line.
|
||||
|
||||
|
||||
-p Do not set the RPC_PF_MULTIPLEX flag in the RPC bind request.
|
||||
-p Do not set the RPC_PF_MULTIPLEX flag in the RPC bind request.
|
||||
This can be used to test if the KMS server uses the same setting
|
||||
of this flag in the RPC bind respone. Some KMS emulators don't
|
||||
of this flag in the RPC bind respone. Some KMS emulators don't
|
||||
set this correctly.
|
||||
|
||||
|
||||
-N0 and -N1
|
||||
Disables (-N0) or enables (-N1) the NDR64 transfer syntax in the
|
||||
RPC protocol. Disable NDR64 only in case of problems. If NDR64
|
||||
RPC protocol. Disable NDR64 only in case of problems. If NDR64
|
||||
is not used, vlmcs cannot detect many RPC protocol errors in KMS
|
||||
emulators. If you want to test whether a KMS emulator fully sup‐
|
||||
ports NDR64, you must use the -n option to send at least two
|
||||
requests. This is because Microsoft's client always sends the
|
||||
first request using NDR32 syntax and subsequent requests using
|
||||
emulators. If you want to test whether a KMS emulator fully sup-
|
||||
ports NDR64, you must use the -n option to send at least two
|
||||
requests. This is because Microsoft's client always sends the
|
||||
first request using NDR32 syntax and subsequent requests using
|
||||
NDR64 syntax.
|
||||
|
||||
|
||||
-B0 and -B1
|
||||
Disables (-B0) or enables (-B1) bind time feature negotiation
|
||||
(BTFN) in the RPC protocol. Disable BTFN only in case of prob‐
|
||||
Disables (-B0) or enables (-B1) bind time feature negotiation
|
||||
(BTFN) in the RPC protocol. Disable BTFN only in case of prob-
|
||||
lems. If BTFN is not used, vlmcs cannot detect many RPC protocol
|
||||
errors in KMS emulators.
|
||||
|
||||
|
||||
Options that do not require an argument can be specified together with
|
||||
a single dash, e.g. vlmcs -6mvT. If you specify an option more than
|
||||
Options that do not require an argument can be specified together with
|
||||
a single dash, e.g. vlmcs -6mvT. If you specify an option more than
|
||||
once, the last occurence will be in effect.
|
||||
|
||||
|
||||
@ -278,34 +287,34 @@ FILES
|
||||
|
||||
EXAMPLES
|
||||
vlmcs kms.example.com
|
||||
Request activation for Windows Vista using v4 protocol from
|
||||
kms.example.com. Repeat activation requests until server is
|
||||
Request activation for Windows Vista using v4 protocol from
|
||||
kms.example.com. Repeat activation requests until server is
|
||||
charged for all Windows products.
|
||||
|
||||
|
||||
vlmcs -
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
KMS server that is published via DNS for the current domain.
|
||||
|
||||
|
||||
vlmcs .example.com
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
Request activation for Windows Vista using v4 protocol from a
|
||||
KMS server that is published via DNS for domain example.com.
|
||||
|
||||
|
||||
vlmcs -6 -l Office2013 -v -n 1
|
||||
Request exactly one activation for Office2013 using v6 protocol
|
||||
Request exactly one activation for Office2013 using v6 protocol
|
||||
from localhost. Display verbose results.
|
||||
|
||||
|
||||
vlmcs kms.bigcompany.com -G /etc/vlmcsd.ini
|
||||
Get ePIDs and HWIDs from kms.bigcompany.com and create/update
|
||||
Get ePIDs and HWIDs from kms.bigcompany.com and create/update
|
||||
/etc/vlmcsd.ini accordingly.
|
||||
|
||||
|
||||
BUGS
|
||||
Some platforms (e.g. Solaris) may have a man(7) system that does not
|
||||
handle URLs. URLs may be omitted in the documentation on those plat‐
|
||||
Some platforms (e.g. Solaris) may have a man(7) system that does not
|
||||
handle URLs. URLs may be omitted in the documentation on those plat-
|
||||
forms. Cygwin, Linux, FreeBSD and Mac OS X are known to work correctly.
|
||||
|
||||
|
||||
@ -314,7 +323,7 @@ AUTHOR
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos‐
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos-
|
||||
ferati87, qad, Ratiborus, vityan666, ...
|
||||
|
||||
|
||||
@ -323,4 +332,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 May 2016 VLMCS(1)
|
||||
Hotbird64 November 2016 VLMCS(1)
|
||||
|
@ -1,5 +1,5 @@
|
||||
.mso www.tmac
|
||||
.TH "VLMCSD-FLOPPY" 7 "June 2016" "Hotbird64" "KMS Activation Manual"
|
||||
.TH "VLMCSD-FLOPPY" 7 "May 2017" "Hotbird64" "KMS Activation Manual"
|
||||
.LO 8
|
||||
|
||||
.SH NAME
|
||||
@ -102,7 +102,13 @@ Defines the ePID that is used for Windows activations. If you ommit this paramet
|
||||
Defines the ePID that is used for Office 2010 activations. If you ommit this parameter, \fBvlmcsd\fR(8) generates a random ePID when it is started.
|
||||
|
||||
.IP "\fBOFFICE2013=\fIepid\fR"
|
||||
Defines the ePID that is used for Office (versions 2013 and greater) activations. If you ommit this parameter, \fBvlmcsd\fR(8) generates a random ePID when it is started.
|
||||
Defines the ePID that is used for Office 2016 activations. If you ommit this parameter, \fBvlmcsd\fR(8) generates a random ePID when it is started.
|
||||
|
||||
.IP "\fBOFFICE2016=\fIepid\fR"
|
||||
Defines the ePID that is used for Office 2016 activations. If you ommit this parameter, \fBvlmcsd\fR(8) generates a random ePID when it is started.
|
||||
|
||||
.IP "\fBWINCHINAGOV=\fIepid\fR"
|
||||
Defines the ePID that is used for Windows China Government Edition activations (Enterprise G/GN). If you ommit this parameter, \fBvlmcsd\fR(8) generates a random ePID when it is started.
|
||||
|
||||
.IP "\fBHWID=\fIhwid\fR"
|
||||
Defines the HwId that is sent to clients. \fIhwid\fR must be specified as 16 hex digits that are interpreted as a series of 8 bytes (big endian). Any character that is not a hex digit will be ignored. This is for better readability.
|
||||
@ -166,6 +172,9 @@ Sets the password for the pre-defined guest user. This user has the same privili
|
||||
.IP "\fBINETD=\fRY | N"
|
||||
\fBINETD=\fRY specifies that \fBinetd\fR(8) should automatically be started. That means you can telnet and ftp to your virtual machine.
|
||||
|
||||
.IP "\fBVLMCSD_EXTRA_ARGS=\fR\fIcomma-seperated-argument-list\fR"
|
||||
Allows you to specify additional command line options that will be passed to \fBvlmcsd\fR(8). Instead of spaces you use commas between arguments. Example: \fBVLMCSD_EXTRA_ARGS=\fR\-c1,-K3,-M1
|
||||
|
||||
.SH OPERATION
|
||||
|
||||
.SS Diskless System
|
||||
|
@ -8,12 +8,12 @@ NAME
|
||||
|
||||
DESCRIPTION
|
||||
floppy144.vfd is an image of a bootable floppy that contains a minimal
|
||||
version of Linux and vlmcsd(8). It requires only 16 MB of RAM. Its pri‐
|
||||
version of Linux and vlmcsd(8). It requires only 16 MB of RAM. Its pri-
|
||||
mary purpose is to run vlmcsd(8) in a small virtual machine which makes
|
||||
it easy to use vlmcsd(8) to activate the virtual machine's host com‐
|
||||
it easy to use vlmcsd(8) to activate the virtual machine's host com-
|
||||
puter which is not possible in Windows 8.1 and up. The floppy image is
|
||||
a standard 3,5" floppy with 1.44 MB storage. It is formatted with a
|
||||
FAT12 filesystem. The floppy can be mounted to apply several customiza‐
|
||||
FAT12 filesystem. The floppy can be mounted to apply several customiza-
|
||||
tions.
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ SETUP
|
||||
has floppy boot disabled by default). If possible, setup a virtual
|
||||
machine with plain old BIOS (not UEFI). If you created an UEFI virtual
|
||||
machine, enable the compatibility support mode (CSM) to allow a BIOS
|
||||
compatible boot. Set number of CPUs to 1. The Linux kernel is not capa‐
|
||||
compatible boot. Set number of CPUs to 1. The Linux kernel is not capa-
|
||||
ble of SMP. Remove IDE, SATA, SCSI and USB support if possible. The
|
||||
Linux kernel can't handle this and ignores any devices connected to
|
||||
these buses.
|
||||
@ -49,10 +49,10 @@ SETUP
|
||||
Most hypervisors emulate an Intel PRO/1000 or AMD PCNET32 by default.
|
||||
Selecting a paravirtualized driver slightly improves performance. In
|
||||
VirtualBox you can simply select virtio in the network configuration
|
||||
dialog. VMWare requires that you add or change the VMX file. Use 'eth‐
|
||||
dialog. VMWare requires that you add or change the VMX file. Use 'eth-
|
||||
ernet0.virtualDev = "vmxnet3"' in your VMWare config file.
|
||||
|
||||
If you are using QEMU, you must also setup a TAP adapter. Port redi‐
|
||||
If you are using QEMU, you must also setup a TAP adapter. Port redi-
|
||||
rection does not work to activate your own computer.
|
||||
|
||||
|
||||
@ -62,7 +62,7 @@ CONFIGURATION
|
||||
must be mounted. Under Linux you can simply attach floppy144.vfd to a
|
||||
loop device which is mountable like any other block device. For Windows
|
||||
you must use some software that allows mounting a floppy image, e.g.
|
||||
OSFMount ⟨http://www.osforensics.com/tools/mount-disk-images.html⟩
|
||||
OSFMount <http://www.osforensics.com/tools/mount-disk-images.html>
|
||||
|
||||
OSFMount works under all Windows versions beginning with Windows XP up
|
||||
to Windows 10 (32- and 64-bit).
|
||||
@ -75,7 +75,7 @@ CONFIGURATION
|
||||
|
||||
LABEL dhcp
|
||||
KERNEL bzImage
|
||||
APPEND vga=773 quiet initrd=initrd KBD=us LIS‐
|
||||
APPEND vga=773 quiet initrd=initrd KBD=us LIS-
|
||||
TEN=[::]:1688,0.0.0.0:1688 TZ=UTC0 IPV4_CONFIG=DHCP
|
||||
NTP_SERVER=pool.ntp.org HOST_NAME=vlmcsd ROOT_PASSWORD=vlmcsd
|
||||
USER_NAME=user USER_PASSWORD=vlmcsd GUEST_PASSWORD=vlmcsd
|
||||
@ -86,9 +86,9 @@ CONFIGURATION
|
||||
|
||||
LABEL static
|
||||
KERNEL bzImage
|
||||
APPEND vga=773 quiet initrd=initrd KBD=fr LIS‐
|
||||
APPEND vga=773 quiet initrd=initrd KBD=fr LIS-
|
||||
TEN=[::]:1688,0.0.0.0:1688 TZ=CET-1CEST,M3.5.0,M10.5.0/3
|
||||
IPV4_CONFIG=STATIC IPV4_ADDRESS=192.168.20.123/24 IPV4_GATE‐
|
||||
IPV4_CONFIG=STATIC IPV4_ADDRESS=192.168.20.123/24 IPV4_GATE-
|
||||
WAY=192.168.20.2 IPV4_DNS1=192.168.20.2 IPV4_DNS2=NONE
|
||||
NTP_SERVER=pool.ntp.org HOST_NAME=vlmcsd ROOT_PASSWORD=vlmcsd
|
||||
USER_NAME=user USER_PASSWORD=vlmcsd GUEST_PASSWORD=vlmcsd
|
||||
@ -98,7 +98,7 @@ CONFIGURATION
|
||||
There are two configurations in this files: dhcp (for configuring the
|
||||
IPv4 network via DHCP) and static (for a static IPv4 configuration).
|
||||
The kernel always boots the dhcp configuration without asking (lines
|
||||
'prompt 0' and 'default dhcp'). You can simply change the default con‐
|
||||
'prompt 0' and 'default dhcp'). You can simply change the default con-
|
||||
figuration to static and then customize the APPEND line in the static
|
||||
configuration. For more details how to customize the syslinux.cfg file
|
||||
see syslinux(1).
|
||||
@ -108,11 +108,11 @@ CONFIGURATION
|
||||
|
||||
|
||||
vga=vesa-video-mode
|
||||
Sets the VESA display mode for the virtual machine. The parame‐
|
||||
Sets the VESA display mode for the virtual machine. The parame-
|
||||
ter is not optional. If you ommit it, you will not see anything
|
||||
on the screen. 773 means 1024x768 with 256 colors. See Wikipedia
|
||||
⟨https://en.wikipedia.org/wiki/
|
||||
VESA_BIOS_Extensions#Linux_video_mode_numbers⟩ for more video
|
||||
<https://en.wikipedia.org/wiki/
|
||||
VESA_BIOS_Extensions#Linux_video_mode_numbers> for more video
|
||||
modes. Note that all 16 color (4-bit) modes will not work. Use
|
||||
8-bit (256 colors), 16-bit (65536 colors), 24-bit and 32-bit (>
|
||||
16 Million colors) only. All modes above 1280x1024 are non-VESA-
|
||||
@ -123,14 +123,14 @@ CONFIGURATION
|
||||
may omit quiet but it doesn't make much sense. The boot log is
|
||||
actually very verbose and scrolls away from screen quickly. If
|
||||
any errors occur during boot, they will be displayed even if
|
||||
quiet is present in the APPEND line. You may evaluate the com‐
|
||||
quiet is present in the APPEND line. You may evaluate the com-
|
||||
plete boot log later by using the dmesg command or the menu on
|
||||
/dev/tty8.
|
||||
|
||||
|
||||
initrd=initial-ram-disk-file
|
||||
This defines the initial ram disk that the kernel will read.
|
||||
There is only one initial ram disk on the floppy thus leave ini‐
|
||||
There is only one initial ram disk on the floppy thus leave ini-
|
||||
trd=initrd as it is.
|
||||
|
||||
|
||||
@ -176,9 +176,21 @@ CONFIGURATION
|
||||
|
||||
|
||||
OFFICE2013=epid
|
||||
Defines the ePID that is used for Office (versions 2013 and
|
||||
greater) activations. If you ommit this parameter, vlmcsd(8)
|
||||
generates a random ePID when it is started.
|
||||
Defines the ePID that is used for Office 2016 activations. If
|
||||
you ommit this parameter, vlmcsd(8) generates a random ePID when
|
||||
it is started.
|
||||
|
||||
|
||||
OFFICE2016=epid
|
||||
Defines the ePID that is used for Office 2016 activations. If
|
||||
you ommit this parameter, vlmcsd(8) generates a random ePID when
|
||||
it is started.
|
||||
|
||||
|
||||
WINCHINAGOV=epid
|
||||
Defines the ePID that is used for Windows China Government Edi-
|
||||
tion activations (Enterprise G/GN). If you ommit this parameter,
|
||||
vlmcsd(8) generates a random ePID when it is started.
|
||||
|
||||
|
||||
HWID=hwid
|
||||
@ -190,8 +202,8 @@ CONFIGURATION
|
||||
|
||||
TZ=posix-time-zone-string
|
||||
Set the time zone to posix-time-zone-string. It must conform to
|
||||
the POSIX ⟨http://pubs.opengroup.org/onlinepubs/009695399/
|
||||
basedefs/xbd_chap08.html⟩ specification. Simplified time zone
|
||||
the POSIX <http://pubs.opengroup.org/onlinepubs/009695399/
|
||||
basedefs/xbd_chap08.html> specification. Simplified time zone
|
||||
strings like "Europe/London" or "America/Detroit" are not
|
||||
allowed. This has the very simple reason that there is no space
|
||||
on the floppy to store the time zone database.
|
||||
@ -201,7 +213,7 @@ CONFIGURATION
|
||||
|
||||
CET The standard (winter) time zone has the name CET.
|
||||
|
||||
-1 The standard time zone is one hour east of UTC. Nega‐
|
||||
-1 The standard time zone is one hour east of UTC. Nega-
|
||||
tive numbers are east of UTC. Positive numbers are
|
||||
west of UTC.
|
||||
|
||||
@ -228,12 +240,12 @@ CONFIGURATION
|
||||
|
||||
IPV4_CONFIG=DHCP | STATIC
|
||||
This determines how you want to configure IPv4 networking. If
|
||||
you use IPV4_CONFIG=STATIC, you must supply additional para‐
|
||||
you use IPV4_CONFIG=STATIC, you must supply additional para-
|
||||
maters to the APPEND command line.
|
||||
|
||||
|
||||
IPV4_ADDRESS=ipv4-address/CIDR-mask
|
||||
Use ipv4-address with netmask CIDR-mask for static IPv4 configu‐
|
||||
Use ipv4-address with netmask CIDR-mask for static IPv4 configu-
|
||||
ration. The netmask must not be ommitted. For IPv4 address
|
||||
192.168.12.17 with a netmask of 255.255.255.0 use
|
||||
192.168.12.17/24. For IPv4 address 10.4.0.8 with a netmask of
|
||||
@ -245,7 +257,7 @@ CONFIGURATION
|
||||
Use ipv4-address as the default gateway. This is usually the
|
||||
IPv4 address of your router. You may specify NONE explicitly for
|
||||
no gateway. In this case your virtual machine is only visible on
|
||||
its local LAN. This paramater is ignored, if you used IPV4_CON‐
|
||||
its local LAN. This paramater is ignored, if you used IPV4_CON-
|
||||
FIG=DHCP.
|
||||
|
||||
|
||||
@ -262,9 +274,9 @@ CONFIGURATION
|
||||
|
||||
IPV4_DNS2=ipv4-address | NONE
|
||||
Use ipv4-address as the secondary name server. It serves as a
|
||||
backup if the primary name server is not available. Home net‐
|
||||
backup if the primary name server is not available. Home net-
|
||||
works often don't have a secondary name server. In this case set
|
||||
this to NONE. This paramater is ignored, if you used IPV4_CON‐
|
||||
this to NONE. This paramater is ignored, if you used IPV4_CON-
|
||||
FIG=DHCP.
|
||||
|
||||
|
||||
@ -282,7 +294,7 @@ CONFIGURATION
|
||||
IPV4_CONFIG=DHCP and your DHCP server returns a domain name, the
|
||||
domain part of an FQDN will be replaced by that name. This host
|
||||
name or host part of an FQDN will not replaced by a host name
|
||||
returned via DHCP. The host name is not important for the opera‐
|
||||
returned via DHCP. The host name is not important for the opera-
|
||||
tion of floppy144.vfd.
|
||||
|
||||
|
||||
@ -310,13 +322,19 @@ CONFIGURATION
|
||||
That means you can telnet and ftp to your virtual machine.
|
||||
|
||||
|
||||
VLMCSD_EXTRA_ARGS=comma-seperated-argument-list
|
||||
Allows you to specify additional command line options that will
|
||||
be passed to vlmcsd(8). Instead of spaces you use commas between
|
||||
arguments. Example: VLMCSD_EXTRA_ARGS=-c1,-K3,-M1
|
||||
|
||||
|
||||
OPERATION
|
||||
Diskless System
|
||||
The floppy144.vfd virtual machine is a diskless system that works
|
||||
entirely from RAM. The file system is actually a RAM disk that is cre‐
|
||||
entirely from RAM. The file system is actually a RAM disk that is cre-
|
||||
ated from the initrd(4) file on the floppy image.
|
||||
|
||||
Anything you'll do from inside the virtual machine, for instance edit‐
|
||||
Anything you'll do from inside the virtual machine, for instance edit-
|
||||
ing a config file, will be lost when you reboot the machine. So, if you
|
||||
ever asked yourself if rm -fr / (root privileges required) really
|
||||
deletes all files from all mounted partitions, the floppy144.vfd VM is
|
||||
@ -332,7 +350,7 @@ OPERATION
|
||||
The kernel boots up very quickly and the init script (/sbin/init) waits
|
||||
5 seconds. In these 5 seconds you can:
|
||||
|
||||
Press 'm' to manually enter the time zone and the IPv4 parame‐
|
||||
Press 'm' to manually enter the time zone and the IPv4 parame-
|
||||
ters. These will be queried interactively.
|
||||
Press 't' to manually enter the time zone only.
|
||||
Press 's' to escape to a shell.
|
||||
@ -345,7 +363,7 @@ OPERATION
|
||||
|
||||
Logging into the system
|
||||
There are 5 local logins provided on /dev/tty2 to /dev/tty6. To switch
|
||||
to these logins, simply press ALT-F2 to ALT-F6. To return to the con‐
|
||||
to these logins, simply press ALT-F2 to ALT-F6. To return to the con-
|
||||
sole on /dev/tty1, press ALT-F1. If inetd(8) is running you can also
|
||||
use telnet(1). This allows you use a terminal program (e.g. putty) that
|
||||
can utilize your keyboard layout, can be resized and has full UTF-8
|
||||
@ -363,7 +381,7 @@ OPERATION
|
||||
The menu system
|
||||
You'll find a menu system on /dev/tty8 (press ALT-F8 to see it). It
|
||||
allows you performing some administrative tasks and to view various
|
||||
system information. It is mainly for users that do not have much expe‐
|
||||
system information. It is mainly for users that do not have much expe-
|
||||
rience with Unix commands.
|
||||
|
||||
|
||||
@ -413,7 +431,7 @@ OPERATION
|
||||
|
||||
8) Show TCP/IP configuration
|
||||
Shows the TCP/IP configuration, listening sockets and current
|
||||
TCP and UDP connections. Useful, if you problems with net con‐
|
||||
TCP and UDP connections. Useful, if you problems with net con-
|
||||
nectivity. The output is piped through less(1). So press 'q' to
|
||||
return to the menu.
|
||||
|
||||
@ -425,7 +443,7 @@ OPERATION
|
||||
|
||||
s) Shutdown
|
||||
Shuts down the floppy144.vfd virtual machine. Proper shutdown is
|
||||
not required. It is ok to use a hard power off in your virtual‐
|
||||
not required. It is ok to use a hard power off in your virtual-
|
||||
ization program.
|
||||
|
||||
|
||||
@ -470,7 +488,7 @@ PERMANENT CHANGES OF INITRD
|
||||
works on almost any unix-like OS, it does not work on Windows even not
|
||||
with Cygwin. The reason is that the NTFS file system can't handle uids
|
||||
and gids. These cannot be preserved when unpacking the cpio(1) archive
|
||||
to NTFS. If you use the WSL subsystem of Windows 10 Redstone (Anniver‐
|
||||
to NTFS. If you use the WSL subsystem of Windows 10 Redstone (Anniver-
|
||||
sary Update) and later, you must make sure to unpack the initrd(4) file
|
||||
to a directory on VolFs (normally everything that is not mounted under
|
||||
/mnt). The initrd(4) file can be on a VolFs or DriveFs.
|
||||
@ -478,7 +496,7 @@ PERMANENT CHANGES OF INITRD
|
||||
|
||||
FAQ
|
||||
On what distro is the floppy image based?
|
||||
None. Besides the boot loader ldlinux.sys, there are only three bina‐
|
||||
None. Besides the boot loader ldlinux.sys, there are only three bina-
|
||||
ries: The Linux kernel bzImage, busybox(1) and vlmcsdmulti-x86-musl-
|
||||
static. bzImage and busybox(1) have been compiled with carefully
|
||||
selected configuration parameters not found in any distro. This was
|
||||
@ -488,7 +506,7 @@ FAQ
|
||||
Why is a rather old Linux kernel (3.12) used?
|
||||
Linux 3.12 is the last kernel that can be booted with 16 MB of RAM.
|
||||
Beginning with Linux 3.13 it requires much more memory (about 80 MB) to
|
||||
boot. The floppy image is regularly tested with newer kernels. Every‐
|
||||
boot. The floppy image is regularly tested with newer kernels. Every-
|
||||
thing works except that you need to assign much more main memory to the
|
||||
virtual machine.
|
||||
|
||||
@ -507,7 +525,7 @@ FILES
|
||||
BUGS
|
||||
IPv6 cannot be configured with static or manual parameters.
|
||||
DHCPv6 is not supported.
|
||||
´ip route add ...' does not work. Use 'route add ...' instead.
|
||||
'ip route add ...' does not work. Use 'route add ...' instead.
|
||||
|
||||
|
||||
AUTHOR
|
||||
@ -527,4 +545,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 June 2016 VLMCSD-FLOPPY(7)
|
||||
Hotbird64 May 2017 VLMCSD-FLOPPY(7)
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Oct 11 21:34:50 2016 -->
|
||||
<!-- CreationDate: Sat Jun 17 00:53:29 2017 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -42,9 +42,8 @@
|
||||
</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">floppy144.vfd
|
||||
− a bootable floppy disk with Linux and
|
||||
<b>vlmcsd</b>(8)</p>
|
||||
<p style="margin-left:11%; margin-top: 1em">floppy144.vfd -
|
||||
a bootable floppy disk with Linux and <b>vlmcsd</b>(8)</p>
|
||||
|
||||
<h2>DESCRIPTION
|
||||
<a name="DESCRIPTION"></a>
|
||||
@ -283,9 +282,25 @@ started.</p>
|
||||
<p style="margin-left:11%;"><b>OFFICE2013=</b><i>epid</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Defines the ePID that is used
|
||||
for Office (versions 2013 and greater) activations. If you
|
||||
ommit this parameter, <b>vlmcsd</b>(8) generates a random
|
||||
ePID when it is started.</p>
|
||||
for Office 2016 activations. If you ommit this parameter,
|
||||
<b>vlmcsd</b>(8) generates a random ePID when it is
|
||||
started.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>OFFICE2016=</b><i>epid</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Defines the ePID that is used
|
||||
for Office 2016 activations. If you ommit this parameter,
|
||||
<b>vlmcsd</b>(8) generates a random ePID when it is
|
||||
started.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>WINCHINAGOV=</b><i>epid</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Defines the ePID that is used
|
||||
for Windows China Government Edition activations (Enterprise
|
||||
G/GN). If you ommit this parameter, <b>vlmcsd</b>(8)
|
||||
generates a random ePID when it is started.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>HWID=</b><i>hwid</i></p>
|
||||
|
||||
@ -500,6 +515,14 @@ pre-defined guest user. This user has the same priviliges
|
||||
<b>inetd</b>(8) should automatically be started. That means
|
||||
you can telnet and ftp to your virtual machine.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>VLMCSD_EXTRA_ARGS=</b><i>comma-seperated-argument-list</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Allows you to specify
|
||||
additional command line options that will be passed to
|
||||
<b>vlmcsd</b>(8). Instead of spaces you use commas between
|
||||
arguments. Example: <b>VLMCSD_EXTRA_ARGS=</b>-c1,-K3,-M1</p>
|
||||
|
||||
<h2>OPERATION
|
||||
<a name="OPERATION"></a>
|
||||
</h2>
|
||||
@ -549,9 +572,9 @@ addresses and all user names and passwords.</p>
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>Logging into
|
||||
the system</b> <br>
|
||||
There are 5 local logins provided on /dev/tty2 to /dev/tty6.
|
||||
To switch to these logins, simply press ALT−F2 to
|
||||
ALT−F6. To return to the console on /dev/tty1, press
|
||||
ALT−F1. If <b>inetd</b>(8) is running you can also use
|
||||
To switch to these logins, simply press ALT-F2 to ALT-F6. To
|
||||
return to the console on /dev/tty1, press ALT-F1. If
|
||||
<b>inetd</b>(8) is running you can also use
|
||||
<b>telnet</b>(1). This allows you use a terminal program
|
||||
(e.g. putty) that can utilize your keyboard layout, can be
|
||||
resized and has full UTF-8 support. The local terminals
|
||||
@ -571,11 +594,11 @@ editor of your choice and transfer them back to the
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>The menu
|
||||
system</b> <br>
|
||||
You’ll find a menu system on /dev/tty8 (press
|
||||
ALT−F8 to see it). It allows you performing some
|
||||
administrative tasks and to view various system information.
|
||||
It is mainly for users that do not have much experience with
|
||||
Unix commands. <b><br>
|
||||
You’ll find a menu system on /dev/tty8 (press ALT-F8
|
||||
to see it). It allows you performing some administrative
|
||||
tasks and to view various system information. It is mainly
|
||||
for users that do not have much experience with Unix
|
||||
commands. <b><br>
|
||||
1) (Re)start vlmcsd</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Starts or restarts
|
||||
|
Binary file not shown.
@ -8,12 +8,12 @@ NAME
|
||||
|
||||
DESCRIPTION
|
||||
floppy144.vfd is an image of a bootable floppy that contains a minimal
|
||||
version of Linux and vlmcsd(8). It requires only 16 MB of RAM. Its pri‐
|
||||
version of Linux and vlmcsd(8). It requires only 16 MB of RAM. Its pri-
|
||||
mary purpose is to run vlmcsd(8) in a small virtual machine which makes
|
||||
it easy to use vlmcsd(8) to activate the virtual machine's host com‐
|
||||
it easy to use vlmcsd(8) to activate the virtual machine's host com-
|
||||
puter which is not possible in Windows 8.1 and up. The floppy image is
|
||||
a standard 3,5" floppy with 1.44 MB storage. It is formatted with a
|
||||
FAT12 filesystem. The floppy can be mounted to apply several customiza‐
|
||||
FAT12 filesystem. The floppy can be mounted to apply several customiza-
|
||||
tions.
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ SETUP
|
||||
has floppy boot disabled by default). If possible, setup a virtual
|
||||
machine with plain old BIOS (not UEFI). If you created an UEFI virtual
|
||||
machine, enable the compatibility support mode (CSM) to allow a BIOS
|
||||
compatible boot. Set number of CPUs to 1. The Linux kernel is not capa‐
|
||||
compatible boot. Set number of CPUs to 1. The Linux kernel is not capa-
|
||||
ble of SMP. Remove IDE, SATA, SCSI and USB support if possible. The
|
||||
Linux kernel can't handle this and ignores any devices connected to
|
||||
these buses.
|
||||
@ -49,10 +49,10 @@ SETUP
|
||||
Most hypervisors emulate an Intel PRO/1000 or AMD PCNET32 by default.
|
||||
Selecting a paravirtualized driver slightly improves performance. In
|
||||
VirtualBox you can simply select virtio in the network configuration
|
||||
dialog. VMWare requires that you add or change the VMX file. Use 'eth‐
|
||||
dialog. VMWare requires that you add or change the VMX file. Use 'eth-
|
||||
ernet0.virtualDev = "vmxnet3"' in your VMWare config file.
|
||||
|
||||
If you are using QEMU, you must also setup a TAP adapter. Port redi‐
|
||||
If you are using QEMU, you must also setup a TAP adapter. Port redi-
|
||||
rection does not work to activate your own computer.
|
||||
|
||||
|
||||
@ -62,7 +62,7 @@ CONFIGURATION
|
||||
must be mounted. Under Linux you can simply attach floppy144.vfd to a
|
||||
loop device which is mountable like any other block device. For Windows
|
||||
you must use some software that allows mounting a floppy image, e.g.
|
||||
OSFMount ⟨http://www.osforensics.com/tools/mount-disk-images.html⟩
|
||||
OSFMount <http://www.osforensics.com/tools/mount-disk-images.html>
|
||||
|
||||
OSFMount works under all Windows versions beginning with Windows XP up
|
||||
to Windows 10 (32- and 64-bit).
|
||||
@ -75,7 +75,7 @@ CONFIGURATION
|
||||
|
||||
LABEL dhcp
|
||||
KERNEL bzImage
|
||||
APPEND vga=773 quiet initrd=initrd KBD=us LIS‐
|
||||
APPEND vga=773 quiet initrd=initrd KBD=us LIS-
|
||||
TEN=[::]:1688,0.0.0.0:1688 TZ=UTC0 IPV4_CONFIG=DHCP
|
||||
NTP_SERVER=pool.ntp.org HOST_NAME=vlmcsd ROOT_PASSWORD=vlmcsd
|
||||
USER_NAME=user USER_PASSWORD=vlmcsd GUEST_PASSWORD=vlmcsd
|
||||
@ -86,9 +86,9 @@ CONFIGURATION
|
||||
|
||||
LABEL static
|
||||
KERNEL bzImage
|
||||
APPEND vga=773 quiet initrd=initrd KBD=fr LIS‐
|
||||
APPEND vga=773 quiet initrd=initrd KBD=fr LIS-
|
||||
TEN=[::]:1688,0.0.0.0:1688 TZ=CET-1CEST,M3.5.0,M10.5.0/3
|
||||
IPV4_CONFIG=STATIC IPV4_ADDRESS=192.168.20.123/24 IPV4_GATE‐
|
||||
IPV4_CONFIG=STATIC IPV4_ADDRESS=192.168.20.123/24 IPV4_GATE-
|
||||
WAY=192.168.20.2 IPV4_DNS1=192.168.20.2 IPV4_DNS2=NONE
|
||||
NTP_SERVER=pool.ntp.org HOST_NAME=vlmcsd ROOT_PASSWORD=vlmcsd
|
||||
USER_NAME=user USER_PASSWORD=vlmcsd GUEST_PASSWORD=vlmcsd
|
||||
@ -98,7 +98,7 @@ CONFIGURATION
|
||||
There are two configurations in this files: dhcp (for configuring the
|
||||
IPv4 network via DHCP) and static (for a static IPv4 configuration).
|
||||
The kernel always boots the dhcp configuration without asking (lines
|
||||
'prompt 0' and 'default dhcp'). You can simply change the default con‐
|
||||
'prompt 0' and 'default dhcp'). You can simply change the default con-
|
||||
figuration to static and then customize the APPEND line in the static
|
||||
configuration. For more details how to customize the syslinux.cfg file
|
||||
see syslinux(1).
|
||||
@ -108,11 +108,11 @@ CONFIGURATION
|
||||
|
||||
|
||||
vga=vesa-video-mode
|
||||
Sets the VESA display mode for the virtual machine. The parame‐
|
||||
Sets the VESA display mode for the virtual machine. The parame-
|
||||
ter is not optional. If you ommit it, you will not see anything
|
||||
on the screen. 773 means 1024x768 with 256 colors. See Wikipedia
|
||||
⟨https://en.wikipedia.org/wiki/
|
||||
VESA_BIOS_Extensions#Linux_video_mode_numbers⟩ for more video
|
||||
<https://en.wikipedia.org/wiki/
|
||||
VESA_BIOS_Extensions#Linux_video_mode_numbers> for more video
|
||||
modes. Note that all 16 color (4-bit) modes will not work. Use
|
||||
8-bit (256 colors), 16-bit (65536 colors), 24-bit and 32-bit (>
|
||||
16 Million colors) only. All modes above 1280x1024 are non-VESA-
|
||||
@ -123,14 +123,14 @@ CONFIGURATION
|
||||
may omit quiet but it doesn't make much sense. The boot log is
|
||||
actually very verbose and scrolls away from screen quickly. If
|
||||
any errors occur during boot, they will be displayed even if
|
||||
quiet is present in the APPEND line. You may evaluate the com‐
|
||||
quiet is present in the APPEND line. You may evaluate the com-
|
||||
plete boot log later by using the dmesg command or the menu on
|
||||
/dev/tty8.
|
||||
|
||||
|
||||
initrd=initial-ram-disk-file
|
||||
This defines the initial ram disk that the kernel will read.
|
||||
There is only one initial ram disk on the floppy thus leave ini‐
|
||||
There is only one initial ram disk on the floppy thus leave ini-
|
||||
trd=initrd as it is.
|
||||
|
||||
|
||||
@ -176,9 +176,21 @@ CONFIGURATION
|
||||
|
||||
|
||||
OFFICE2013=epid
|
||||
Defines the ePID that is used for Office (versions 2013 and
|
||||
greater) activations. If you ommit this parameter, vlmcsd(8)
|
||||
generates a random ePID when it is started.
|
||||
Defines the ePID that is used for Office 2016 activations. If
|
||||
you ommit this parameter, vlmcsd(8) generates a random ePID when
|
||||
it is started.
|
||||
|
||||
|
||||
OFFICE2016=epid
|
||||
Defines the ePID that is used for Office 2016 activations. If
|
||||
you ommit this parameter, vlmcsd(8) generates a random ePID when
|
||||
it is started.
|
||||
|
||||
|
||||
WINCHINAGOV=epid
|
||||
Defines the ePID that is used for Windows China Government Edi-
|
||||
tion activations (Enterprise G/GN). If you ommit this parameter,
|
||||
vlmcsd(8) generates a random ePID when it is started.
|
||||
|
||||
|
||||
HWID=hwid
|
||||
@ -190,8 +202,8 @@ CONFIGURATION
|
||||
|
||||
TZ=posix-time-zone-string
|
||||
Set the time zone to posix-time-zone-string. It must conform to
|
||||
the POSIX ⟨http://pubs.opengroup.org/onlinepubs/009695399/
|
||||
basedefs/xbd_chap08.html⟩ specification. Simplified time zone
|
||||
the POSIX <http://pubs.opengroup.org/onlinepubs/009695399/
|
||||
basedefs/xbd_chap08.html> specification. Simplified time zone
|
||||
strings like "Europe/London" or "America/Detroit" are not
|
||||
allowed. This has the very simple reason that there is no space
|
||||
on the floppy to store the time zone database.
|
||||
@ -201,7 +213,7 @@ CONFIGURATION
|
||||
|
||||
CET The standard (winter) time zone has the name CET.
|
||||
|
||||
-1 The standard time zone is one hour east of UTC. Nega‐
|
||||
-1 The standard time zone is one hour east of UTC. Nega-
|
||||
tive numbers are east of UTC. Positive numbers are
|
||||
west of UTC.
|
||||
|
||||
@ -228,12 +240,12 @@ CONFIGURATION
|
||||
|
||||
IPV4_CONFIG=DHCP | STATIC
|
||||
This determines how you want to configure IPv4 networking. If
|
||||
you use IPV4_CONFIG=STATIC, you must supply additional para‐
|
||||
you use IPV4_CONFIG=STATIC, you must supply additional para-
|
||||
maters to the APPEND command line.
|
||||
|
||||
|
||||
IPV4_ADDRESS=ipv4-address/CIDR-mask
|
||||
Use ipv4-address with netmask CIDR-mask for static IPv4 configu‐
|
||||
Use ipv4-address with netmask CIDR-mask for static IPv4 configu-
|
||||
ration. The netmask must not be ommitted. For IPv4 address
|
||||
192.168.12.17 with a netmask of 255.255.255.0 use
|
||||
192.168.12.17/24. For IPv4 address 10.4.0.8 with a netmask of
|
||||
@ -245,7 +257,7 @@ CONFIGURATION
|
||||
Use ipv4-address as the default gateway. This is usually the
|
||||
IPv4 address of your router. You may specify NONE explicitly for
|
||||
no gateway. In this case your virtual machine is only visible on
|
||||
its local LAN. This paramater is ignored, if you used IPV4_CON‐
|
||||
its local LAN. This paramater is ignored, if you used IPV4_CON-
|
||||
FIG=DHCP.
|
||||
|
||||
|
||||
@ -262,9 +274,9 @@ CONFIGURATION
|
||||
|
||||
IPV4_DNS2=ipv4-address | NONE
|
||||
Use ipv4-address as the secondary name server. It serves as a
|
||||
backup if the primary name server is not available. Home net‐
|
||||
backup if the primary name server is not available. Home net-
|
||||
works often don't have a secondary name server. In this case set
|
||||
this to NONE. This paramater is ignored, if you used IPV4_CON‐
|
||||
this to NONE. This paramater is ignored, if you used IPV4_CON-
|
||||
FIG=DHCP.
|
||||
|
||||
|
||||
@ -282,7 +294,7 @@ CONFIGURATION
|
||||
IPV4_CONFIG=DHCP and your DHCP server returns a domain name, the
|
||||
domain part of an FQDN will be replaced by that name. This host
|
||||
name or host part of an FQDN will not replaced by a host name
|
||||
returned via DHCP. The host name is not important for the opera‐
|
||||
returned via DHCP. The host name is not important for the opera-
|
||||
tion of floppy144.vfd.
|
||||
|
||||
|
||||
@ -310,13 +322,19 @@ CONFIGURATION
|
||||
That means you can telnet and ftp to your virtual machine.
|
||||
|
||||
|
||||
VLMCSD_EXTRA_ARGS=comma-seperated-argument-list
|
||||
Allows you to specify additional command line options that will
|
||||
be passed to vlmcsd(8). Instead of spaces you use commas between
|
||||
arguments. Example: VLMCSD_EXTRA_ARGS=-c1,-K3,-M1
|
||||
|
||||
|
||||
OPERATION
|
||||
Diskless System
|
||||
The floppy144.vfd virtual machine is a diskless system that works
|
||||
entirely from RAM. The file system is actually a RAM disk that is cre‐
|
||||
entirely from RAM. The file system is actually a RAM disk that is cre-
|
||||
ated from the initrd(4) file on the floppy image.
|
||||
|
||||
Anything you'll do from inside the virtual machine, for instance edit‐
|
||||
Anything you'll do from inside the virtual machine, for instance edit-
|
||||
ing a config file, will be lost when you reboot the machine. So, if you
|
||||
ever asked yourself if rm -fr / (root privileges required) really
|
||||
deletes all files from all mounted partitions, the floppy144.vfd VM is
|
||||
@ -332,7 +350,7 @@ OPERATION
|
||||
The kernel boots up very quickly and the init script (/sbin/init) waits
|
||||
5 seconds. In these 5 seconds you can:
|
||||
|
||||
Press 'm' to manually enter the time zone and the IPv4 parame‐
|
||||
Press 'm' to manually enter the time zone and the IPv4 parame-
|
||||
ters. These will be queried interactively.
|
||||
Press 't' to manually enter the time zone only.
|
||||
Press 's' to escape to a shell.
|
||||
@ -345,7 +363,7 @@ OPERATION
|
||||
|
||||
Logging into the system
|
||||
There are 5 local logins provided on /dev/tty2 to /dev/tty6. To switch
|
||||
to these logins, simply press ALT-F2 to ALT-F6. To return to the con‐
|
||||
to these logins, simply press ALT-F2 to ALT-F6. To return to the con-
|
||||
sole on /dev/tty1, press ALT-F1. If inetd(8) is running you can also
|
||||
use telnet(1). This allows you use a terminal program (e.g. putty) that
|
||||
can utilize your keyboard layout, can be resized and has full UTF-8
|
||||
@ -363,7 +381,7 @@ OPERATION
|
||||
The menu system
|
||||
You'll find a menu system on /dev/tty8 (press ALT-F8 to see it). It
|
||||
allows you performing some administrative tasks and to view various
|
||||
system information. It is mainly for users that do not have much expe‐
|
||||
system information. It is mainly for users that do not have much expe-
|
||||
rience with Unix commands.
|
||||
|
||||
|
||||
@ -413,7 +431,7 @@ OPERATION
|
||||
|
||||
8) Show TCP/IP configuration
|
||||
Shows the TCP/IP configuration, listening sockets and current
|
||||
TCP and UDP connections. Useful, if you problems with net con‐
|
||||
TCP and UDP connections. Useful, if you problems with net con-
|
||||
nectivity. The output is piped through less(1). So press 'q' to
|
||||
return to the menu.
|
||||
|
||||
@ -425,7 +443,7 @@ OPERATION
|
||||
|
||||
s) Shutdown
|
||||
Shuts down the floppy144.vfd virtual machine. Proper shutdown is
|
||||
not required. It is ok to use a hard power off in your virtual‐
|
||||
not required. It is ok to use a hard power off in your virtual-
|
||||
ization program.
|
||||
|
||||
|
||||
@ -470,7 +488,7 @@ PERMANENT CHANGES OF INITRD
|
||||
works on almost any unix-like OS, it does not work on Windows even not
|
||||
with Cygwin. The reason is that the NTFS file system can't handle uids
|
||||
and gids. These cannot be preserved when unpacking the cpio(1) archive
|
||||
to NTFS. If you use the WSL subsystem of Windows 10 Redstone (Anniver‐
|
||||
to NTFS. If you use the WSL subsystem of Windows 10 Redstone (Anniver-
|
||||
sary Update) and later, you must make sure to unpack the initrd(4) file
|
||||
to a directory on VolFs (normally everything that is not mounted under
|
||||
/mnt). The initrd(4) file can be on a VolFs or DriveFs.
|
||||
@ -478,7 +496,7 @@ PERMANENT CHANGES OF INITRD
|
||||
|
||||
FAQ
|
||||
On what distro is the floppy image based?
|
||||
None. Besides the boot loader ldlinux.sys, there are only three bina‐
|
||||
None. Besides the boot loader ldlinux.sys, there are only three bina-
|
||||
ries: The Linux kernel bzImage, busybox(1) and vlmcsdmulti-x86-musl-
|
||||
static. bzImage and busybox(1) have been compiled with carefully
|
||||
selected configuration parameters not found in any distro. This was
|
||||
@ -488,7 +506,7 @@ FAQ
|
||||
Why is a rather old Linux kernel (3.12) used?
|
||||
Linux 3.12 is the last kernel that can be booted with 16 MB of RAM.
|
||||
Beginning with Linux 3.13 it requires much more memory (about 80 MB) to
|
||||
boot. The floppy image is regularly tested with newer kernels. Every‐
|
||||
boot. The floppy image is regularly tested with newer kernels. Every-
|
||||
thing works except that you need to assign much more main memory to the
|
||||
virtual machine.
|
||||
|
||||
@ -507,7 +525,7 @@ FILES
|
||||
BUGS
|
||||
IPv6 cannot be configured with static or manual parameters.
|
||||
DHCPv6 is not supported.
|
||||
´ip route add ...' does not work. Use 'route add ...' instead.
|
||||
'ip route add ...' does not work. Use 'route add ...' instead.
|
||||
|
||||
|
||||
AUTHOR
|
||||
@ -527,4 +545,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 June 2016 VLMCSD-FLOPPY(7)
|
||||
Hotbird64 May 2017 VLMCSD-FLOPPY(7)
|
||||
|
@ -19,7 +19,7 @@ DESCRIPTION
|
||||
KMS is a way to activate Microsoft products that was designed for
|
||||
medium and large businesses. In a standard SOHO environment you enter a
|
||||
product key during installation and then activate your product over the
|
||||
Internet. This is done by sending a request to a server at micro‐
|
||||
Internet. This is done by sending a request to a server at micro-
|
||||
soft.com which then either grants or refuses activation.
|
||||
|
||||
By entering a special key called General Volume License Key (GVLK),
|
||||
@ -28,13 +28,13 @@ DESCRIPTION
|
||||
usually resides in a company's intranet. vlmcsd is an independent open
|
||||
source implementation of a KMS server that is available for everyone
|
||||
while Microsoft gives their KMS server only to corporations that signed
|
||||
a so called "Select contract". In addition vlmcsd never refuses activa‐
|
||||
a so called "Select contract". In addition vlmcsd never refuses activa-
|
||||
tion while the Microsoft KMS server only activates the products the
|
||||
customer has paid for.
|
||||
|
||||
Product activation using vlmcsd is performed in three easy steps:
|
||||
|
||||
1) Run vlmcsd (or any other KMS emulator) on a computer in your net‐
|
||||
1) Run vlmcsd (or any other KMS emulator) on a computer in your net-
|
||||
work. This will be your KMS server. New users should simply run the
|
||||
program without any parameters. The defaults should fit the needs of
|
||||
most users.
|
||||
@ -47,11 +47,11 @@ DESCRIPTION
|
||||
However, when it comes to the details, some things turn out to be more
|
||||
difficult than you might think.
|
||||
|
||||
The most important thing to know is that KMS activation is not perma‐
|
||||
The most important thing to know is that KMS activation is not perma-
|
||||
nent. The computer remains activated for 180 days (30 or 45 days with
|
||||
consumer-only products). KMS activation however is not an evaluation
|
||||
license. You can repeat the activation anytime and as often as you like
|
||||
to extend activation to another 180 days. This normally happens auto‐
|
||||
to extend activation to another 180 days. This normally happens auto-
|
||||
matically. For this to work, you have to ensure that a KMS server is
|
||||
always reachable for the clients on your network.
|
||||
|
||||
@ -64,7 +64,7 @@ DESCRIPTION
|
||||
|
||||
|
||||
How to get a GVLK?
|
||||
That is relatively simple. The GVLKs are published on Microsoft's Tech‐
|
||||
That is relatively simple. The GVLKs are published on Microsoft's Tech-
|
||||
net web site.
|
||||
|
||||
Windows: http://technet.microsoft.com/en-us/library/jj612867.aspx
|
||||
@ -86,7 +86,7 @@ DESCRIPTION
|
||||
7B9N3-D94CG-YTVHR-QBPX3-RJP64 - Windows 8.1 Core N
|
||||
BB6NG-PQ82V-VRDPW-8XVD2-V8P66 - Windows 8.1 Core Single Language
|
||||
NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3 - Windows 8.1 Core Country Specific
|
||||
GNBB8-YVD74-QJHX6-27H4K-8QHDG - Windows 8 Professional with Media Cen‐
|
||||
GNBB8-YVD74-QJHX6-27H4K-8QHDG - Windows 8 Professional with Media Cen-
|
||||
ter
|
||||
BN3D2-R7TKB-3YPBD-8DRP2-27GG4 - Windows 8 Core
|
||||
8N2M2-HWPGY-7PGT9-HGDD8-GVGGY - Windows 8 Core N
|
||||
@ -103,7 +103,7 @@ DESCRIPTION
|
||||
section.
|
||||
|
||||
These are two Visual Basic script utilities that are used to control
|
||||
Microsoft's Software Protection system. To use them open a Windows Com‐
|
||||
Microsoft's Software Protection system. To use them open a Windows Com-
|
||||
mand Prompt. slmgr.vbs is for Windows. ospp.vbs is for Office 2010 and
|
||||
2013. These utilities are installed with Windows and Office and you
|
||||
don't need to download them.
|
||||
@ -153,7 +153,7 @@ DESCRIPTION
|
||||
2) Type "cscript ospp.vbs /setprt:tcp-port". Example: cscript
|
||||
ospp.vbs /setprt:1688
|
||||
|
||||
tcp-port is usually 1688 unless you instructed vlmcsd to use a differ‐
|
||||
tcp-port is usually 1688 unless you instructed vlmcsd to use a differ-
|
||||
ent port which is rarely necessary.
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Oct 11 21:34:50 2016 -->
|
||||
<!-- CreationDate: Sat Jun 17 00:53:29 2017 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -35,7 +35,7 @@
|
||||
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcsd − a
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcsd - a
|
||||
guide to KMS activation using vlmcsd</p>
|
||||
|
||||
<h2>SYNOPSIS
|
||||
@ -169,34 +169,29 @@ inofficial GVLKs that work with consumer-only versions of
|
||||
Windows. Here is a list:</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">TX9XD−98N7V−6WMQ6−BX7FG−H8Q99
|
||||
<p style="margin-left:11%; margin-top: 1em">TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
|
||||
- Windows 10 Home <br>
|
||||
3KHY7−WNT83−DGQKR−F7HPR−844BM -
|
||||
Windows 10 Home N <br>
|
||||
7HNRX−D7KGG−3K4RQ−4WPJ4−YTDFH -
|
||||
Windows 10 Home Single Language <br>
|
||||
PVMJN−6DFY6−9CCP6−7BKTT−D3WVR -
|
||||
Windows 10 Home Country Specific <br>
|
||||
789NJ−TQK6T−6XTH8−J39CJ−J8D3P -
|
||||
Windows 8.1 Professional with Media Center <br>
|
||||
M9Q9P−WNJJT−6PXPY−DWX8H−6XWKK -
|
||||
Windows 8.1 Core <br>
|
||||
7B9N3−D94CG−YTVHR−QBPX3−RJP64 -
|
||||
Windows 8.1 Core N <br>
|
||||
BB6NG−PQ82V−VRDPW−8XVD2−V8P66 -
|
||||
Windows 8.1 Core Single Language <br>
|
||||
NCTT7−2RGK8−WMHRF−RY7YQ−JTXG3 -
|
||||
Windows 8.1 Core Country Specific <br>
|
||||
GNBB8−YVD74−QJHX6−27H4K−8QHDG -
|
||||
Windows 8 Professional with Media Center <br>
|
||||
BN3D2−R7TKB−3YPBD−8DRP2−27GG4 -
|
||||
Windows 8 Core <br>
|
||||
8N2M2−HWPGY−7PGT9−HGDD8−GVGGY -
|
||||
Windows 8 Core N <br>
|
||||
2WN2H−YGCQR−KFX6K−CD6TF−84YXQ -
|
||||
Windows 8 Core Single Language <br>
|
||||
4K36P−JN4VD−GDC6V−KDT89−DYFKP -
|
||||
Windows 8 Core Country Specific</p>
|
||||
3KHY7-WNT83-DGQKR-F7HPR-844BM - Windows 10 Home N <br>
|
||||
7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH - Windows 10 Home Single
|
||||
Language <br>
|
||||
PVMJN-6DFY6-9CCP6-7BKTT-D3WVR - Windows 10 Home Country
|
||||
Specific <br>
|
||||
789NJ-TQK6T-6XTH8-J39CJ-J8D3P - Windows 8.1 Professional
|
||||
with Media Center <br>
|
||||
M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK - Windows 8.1 Core <br>
|
||||
7B9N3-D94CG-YTVHR-QBPX3-RJP64 - Windows 8.1 Core N <br>
|
||||
BB6NG-PQ82V-VRDPW-8XVD2-V8P66 - Windows 8.1 Core Single
|
||||
Language <br>
|
||||
NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3 - Windows 8.1 Core Country
|
||||
Specific <br>
|
||||
GNBB8-YVD74-QJHX6-27H4K-8QHDG - Windows 8 Professional with
|
||||
Media Center <br>
|
||||
BN3D2-R7TKB-3YPBD-8DRP2-27GG4 - Windows 8 Core <br>
|
||||
8N2M2-HWPGY-7PGT9-HGDD8-GVGGY - Windows 8 Core N <br>
|
||||
2WN2H-YGCQR-KFX6K-CD6TF-84YXQ - Windows 8 Core Single
|
||||
Language <br>
|
||||
4K36P-JN4VD-GDC6V-KDT89-DYFKP - Windows 8 Core Country
|
||||
Specific</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">The above keys
|
||||
require activation renewal every 45 days (Win 8.1) or 30
|
||||
@ -240,9 +235,9 @@ turned out to be non-working, you can use
|
||||
Examples</b></p>
|
||||
|
||||
<p style="margin-left:22%;">slmgr /ipk
|
||||
GCRJD−8NW9H−F2CDX−CCM8D−9D6T9 <br>
|
||||
GCRJD-8NW9H-F2CDX-CCM8D-9D6T9 <br>
|
||||
cscript
|
||||
ospp.vbs /inpkey:YC7DK−G2NP3−2QQC3−J6H88−GVGXT</p>
|
||||
ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>Why
|
||||
doesn’t Office accpet a GVLK?</b> <br>
|
||||
@ -306,7 +301,7 @@ automatically. This may take a while. <br>
|
||||
You may type</p>
|
||||
|
||||
<p style="margin-left:22%;">slmgr /ato <br>
|
||||
−or− <br>
|
||||
-or- <br>
|
||||
cscript ospp.vbs /act</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">at any time to
|
||||
@ -325,8 +320,8 @@ like this:</p>
|
||||
<p style="margin-left:22%; margin-top: 1em">Connecting to
|
||||
127.0.0.1:1688 ... successful <br>
|
||||
|
||||
Sending activation request (KMS V4) 1 of 1 −>
|
||||
06401−00206−296−206344−03−5179−9600.0000−3432013</p>
|
||||
Sending activation request (KMS V4) 1 of 1 ->
|
||||
06401-00206-296-206344-03-5179-9600.0000-3432013</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">If anything
|
||||
goes wrong, you’ll see an error message. Next try
|
||||
|
BIN
man/vlmcsd.7.pdf
BIN
man/vlmcsd.7.pdf
Binary file not shown.
@ -19,7 +19,7 @@ DESCRIPTION
|
||||
KMS is a way to activate Microsoft products that was designed for
|
||||
medium and large businesses. In a standard SOHO environment you enter a
|
||||
product key during installation and then activate your product over the
|
||||
Internet. This is done by sending a request to a server at micro‐
|
||||
Internet. This is done by sending a request to a server at micro-
|
||||
soft.com which then either grants or refuses activation.
|
||||
|
||||
By entering a special key called General Volume License Key (GVLK),
|
||||
@ -28,13 +28,13 @@ DESCRIPTION
|
||||
usually resides in a company's intranet. vlmcsd is an independent open
|
||||
source implementation of a KMS server that is available for everyone
|
||||
while Microsoft gives their KMS server only to corporations that signed
|
||||
a so called "Select contract". In addition vlmcsd never refuses activa‐
|
||||
a so called "Select contract". In addition vlmcsd never refuses activa-
|
||||
tion while the Microsoft KMS server only activates the products the
|
||||
customer has paid for.
|
||||
|
||||
Product activation using vlmcsd is performed in three easy steps:
|
||||
|
||||
1) Run vlmcsd (or any other KMS emulator) on a computer in your net‐
|
||||
1) Run vlmcsd (or any other KMS emulator) on a computer in your net-
|
||||
work. This will be your KMS server. New users should simply run the
|
||||
program without any parameters. The defaults should fit the needs of
|
||||
most users.
|
||||
@ -47,11 +47,11 @@ DESCRIPTION
|
||||
However, when it comes to the details, some things turn out to be more
|
||||
difficult than you might think.
|
||||
|
||||
The most important thing to know is that KMS activation is not perma‐
|
||||
The most important thing to know is that KMS activation is not perma-
|
||||
nent. The computer remains activated for 180 days (30 or 45 days with
|
||||
consumer-only products). KMS activation however is not an evaluation
|
||||
license. You can repeat the activation anytime and as often as you like
|
||||
to extend activation to another 180 days. This normally happens auto‐
|
||||
to extend activation to another 180 days. This normally happens auto-
|
||||
matically. For this to work, you have to ensure that a KMS server is
|
||||
always reachable for the clients on your network.
|
||||
|
||||
@ -64,7 +64,7 @@ DESCRIPTION
|
||||
|
||||
|
||||
How to get a GVLK?
|
||||
That is relatively simple. The GVLKs are published on Microsoft's Tech‐
|
||||
That is relatively simple. The GVLKs are published on Microsoft's Tech-
|
||||
net web site.
|
||||
|
||||
Windows: http://technet.microsoft.com/en-us/library/jj612867.aspx
|
||||
@ -86,7 +86,7 @@ DESCRIPTION
|
||||
7B9N3-D94CG-YTVHR-QBPX3-RJP64 - Windows 8.1 Core N
|
||||
BB6NG-PQ82V-VRDPW-8XVD2-V8P66 - Windows 8.1 Core Single Language
|
||||
NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3 - Windows 8.1 Core Country Specific
|
||||
GNBB8-YVD74-QJHX6-27H4K-8QHDG - Windows 8 Professional with Media Cen‐
|
||||
GNBB8-YVD74-QJHX6-27H4K-8QHDG - Windows 8 Professional with Media Cen-
|
||||
ter
|
||||
BN3D2-R7TKB-3YPBD-8DRP2-27GG4 - Windows 8 Core
|
||||
8N2M2-HWPGY-7PGT9-HGDD8-GVGGY - Windows 8 Core N
|
||||
@ -103,7 +103,7 @@ DESCRIPTION
|
||||
section.
|
||||
|
||||
These are two Visual Basic script utilities that are used to control
|
||||
Microsoft's Software Protection system. To use them open a Windows Com‐
|
||||
Microsoft's Software Protection system. To use them open a Windows Com-
|
||||
mand Prompt. slmgr.vbs is for Windows. ospp.vbs is for Office 2010 and
|
||||
2013. These utilities are installed with Windows and Office and you
|
||||
don't need to download them.
|
||||
@ -153,7 +153,7 @@ DESCRIPTION
|
||||
2) Type "cscript ospp.vbs /setprt:tcp-port". Example: cscript
|
||||
ospp.vbs /setprt:1688
|
||||
|
||||
tcp-port is usually 1688 unless you instructed vlmcsd to use a differ‐
|
||||
tcp-port is usually 1688 unless you instructed vlmcsd to use a differ-
|
||||
ent port which is rarely necessary.
|
||||
|
||||
|
||||
|
99
man/vlmcsd.8
99
man/vlmcsd.8
@ -1,5 +1,5 @@
|
||||
.mso www.tmac
|
||||
.TH VLMCSD 8 "September 2016" "Hotbird64" "KMS Activation Manual"
|
||||
.TH VLMCSD 8 "June 2017" "Hotbird64" "KMS Activation Manual"
|
||||
.LO 8
|
||||
|
||||
.SH NAME
|
||||
@ -17,7 +17,17 @@ vlmcsd \- a fully Microsoft compatible KMS server
|
||||
.PP
|
||||
Although \fBvlmcsd\fR does neither require an activation key nor a payment to anyone, it is not meant to run illegal copies of Windows. Its purpose is to ensure that owners of legal copies can use their software without restrictions, e.g. if you buy a new computer or motherboard and your key will be refused activation from Microsoft servers due to hardware changes.
|
||||
.PP
|
||||
\fBvlmcsd\fR may be started via an internet superserver like \fBinetd\fR(8) or \fBxinetd\fR(8) as well as an advanced init system like \fBsystemd\fR(8) or \fBlaunchd\fR(8) using socket based activation. If \fBvlmcsd\fR detects that \fBstdin\fR(3) is a socket, it assumes that there is already a connected client on stdin that wants to be activated. All options that control setting up listening sockets will be ignored when in inetd mode.
|
||||
\fBvlmcsd\fR may be started via an internet superserver like \fBinetd\fR(8) or \fBxinetd\fR(8) as well as an advanced init system like \fBsystemd\fR(8) or \fBlaunchd\fR(8) using socket based activation. If \fBvlmcsd\fR detects that \fBstdin\fR(3) is a socket, it assumes that there is already a connected client on stdin that wants to be activated.
|
||||
|
||||
All options that control setting up listening sockets will be ignored when in inetd mode. The sockets will be set up by your internet superserver. You also cannot limit the number of simultanous clients (option \fB-m\fR). You need to configure the limit in your internet superserver.
|
||||
|
||||
The followong features that require that vlmcsd is permanently loaded will not work if started from an internet superserver:
|
||||
|
||||
.IP
|
||||
You cannot maintain a client list (option \fB-M1\fR)
|
||||
|
||||
.IP
|
||||
EPID Randomization Level 1 (option \fB-r1\fR) works like Level 2 (\fB-r2\fR). You may want to use Level 0 (\fB-r0\fR) or custom EPIDs (options \fB-w\fR, \fB-G\fR, \fB-0\fR, \fB-3\fR and \fB-6\fR) instead.
|
||||
|
||||
.SH OPTIONS
|
||||
Since vlmcsd can be configured at compile time, some options may not be available on your system.
|
||||
@ -66,10 +76,45 @@ in the 32-bit ABI of the 64-bit kernel. If you have a 64-bit FreeBSD kernel, you
|
||||
If vlmcsd was started by an internet superserver or was compiled to use Microsoft RPC (Windows only) or simple sockets, \fB-o1\fR and \fB-o3\fR are not available by design.
|
||||
.RE
|
||||
|
||||
.IP "\fB-P\fR \fIport"
|
||||
.IP "\fB-P\fR \fIport\fR"
|
||||
Use TCP \fIport\fR for all subsequent \fB-L\fR statements that do not include an optional port. If you use \fB-P\fR and \fB-L\fR, \fB-P\fR must be specified before \fB-L\fR.
|
||||
|
||||
.IP "\fB-F0\fR and \fB-F1\fR
|
||||
.IP "\fB-O\fR \fIvpn-adapter-name\fR[=\fIipv4-address\fR][/\fIcidr-mask\fR][:\fIdhcp-lease-duration\fR]"
|
||||
Enables a compatible VPN adapter to create additional local IPv4 addresses (like 127.0.0.1) that appear as remote IPv4 addresses to the system. This allows product activation using a local instance of vlmcsd. This feature is only available in Windows and Cygwin builds of vlmcsd since it is not of any use on other operating systems. Compatible VPN adapters are Tap-windows version 8.2 or higher (from OpenVPN) and the TeamViewer VPN adapter. There are two special \fIvpn-adapter-name\fRs. A single period (.) instructs vlmcsd to use the first available compatible VPN adapter. A single dash (\-) disables the use of a VPN adapter if one has been configured in \fBvlmcsd.ini\fR(5). The \fIvpn-adapter-name\fR is \fBnot\fR case-sensitive. If the \fIvpn-adapter-name\fR contains spaces (e.g. Ethernet 3), you must enclose it in quotes.
|
||||
|
||||
The default \fIipv4-address\fR is 10.10.10.9 and the default \fIcidr-mask\fR is 30. If you are using the default values, your VPN adapter uses an IPv4 address of 10.10.10.9 and you can set your activation client to use the easy to remember address 10.10.10.10 (e.g. slmgr /skms 10.10.10.10 or cscript ospp.vbs /sethst:10.10.10.10).
|
||||
|
||||
The \fIdhcp-lease-duration\fR is a number optionally followed by s, m, h, d or w to indicate seconds, minutes, hours, days or weeks. The default \fIdhcp-lease-duration\fR is 1d (one day). It is normally not required to change this value.
|
||||
|
||||
It is advised not to manually configure your OpenVPN TAP or TeamViewer VPN adapter in "Network Connections". If you set the IPv4 configuration manually anyway, the IPv4 address and the subnet mask must match the \fB-O\fR parameter. It is safe leave the IPv4 configuration to automatic (DHCP). vlmcsd will wait up to four seconds for the DHCP configuration to complete before binding to and listenin on any interfaces.
|
||||
|
||||
You should be aware that only one program can use a VPN adapter at a time. If you use the TeamViewer VPN adapter for example, you will not be able to use the VPN feature of TeamViewer as long as vlmcsd is running. The same applies to OpenVPN TAP adapters that are in use by other programs (for example OpenVPN, QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid conflicts is to install Tap-Windows from OpenVPN, cd to C:\\Program Files\\TAP-Windows\\bin and run addtap.bat to install an additional TAP adapter. Go to "Network Connections" and rename the new adapter to "vlmcsd" and specify \fB-O vlmcsd\fR to use it.
|
||||
|
||||
Example: \fB-O "Ethernet 7"=192.168.123.1/24\fR (uses VPN adapter Ethernet 7 with IPv4 address 192.168.123.1 and have 192.168.123.2 to 192.168.123.254 as additional local (but apparently remote) IPv4 addresses.
|
||||
|
||||
.IP "\fB-x0\fR and \fB-x1\fR"
|
||||
Controls under what circumstances vlmcsd will exit. Using the default of \fB-x0\fR vlmcsd stays active as long as it can perform some useful operations. If vlmcsd is run by any form of a watchdog, e.g. NT service manager (Windows), systemd (Linux) or launchd (Mac OS / iOS), it may be desirable to end vlmcsd and let the watchdog restart it. This is especially true if some pre-requisites are not yet met but will be some time later, e.g. network is not yet fully setup.
|
||||
|
||||
By using \fB-x0\fR vlmcsd will
|
||||
|
||||
.RS 12
|
||||
exit if none of the listening sockets specified with \fB-L\fR can be used. It continues if at least one socket can be setup for listening.
|
||||
|
||||
exit any TAP mirror thread (Windows version only) if there is an error condition while reading or writing from or to the VPN adapter but continue to work without utilizing a VPN adapter.
|
||||
.RE
|
||||
.IP
|
||||
By using \fB-x1\fR vlmcsd will
|
||||
|
||||
.RS 12
|
||||
exit if not all listening sockets specified with \fB-L\fR can be used.
|
||||
|
||||
exit completely if there is a problem with a VPN adapter it is using. This can happen for instance if the VPN adapter has been disabled using "Control Panel - Network - Adapter Settings" while vlmcsd is using it.
|
||||
|
||||
.RE
|
||||
.IP
|
||||
Please note that \fB-x1\fR is kind of a workaround option. While it may help under some circumstances, it is better to solve the problem at its origin, e.g. properly implementing dependencies in your startup script to ensure all network interfaces and the VPN adapter you will use are completely setup before you start vlmcsd.
|
||||
|
||||
.IP "\fB-F0\fR and \fB-F1\fR"
|
||||
Allow (\fB-F1\fR) or disallow (\fB-F0\fR) binding to IP addresses that are currently not configured on your system. The default is \fB-F0\fR. \fB-F1\fR allows you to bind to an IP address that may be configured after you started \fBvlmcsd\fR. \fBvlmcsd\fR will listen on that address as soon as it becomes available. This feature is only available under Linux (IPv4 and IPv6) and FreeBSD (IPv4 only). FreeBSD allows this feature only for the root user (more correctly: processes that have the PRIV_NETINET_BINDANY privilege). Linux does not require a capability for this.
|
||||
|
||||
.IP "\fB-t\fR \fIseconds\fR"
|
||||
@ -140,6 +185,9 @@ Use \fIePID\fR as Office 2013 ePID (including Project and Visio). If specified,
|
||||
.IP "\fB-6\fR \fIePID\fR"
|
||||
Use \fIePID\fR as Office 2016 ePID (including Project and Visio). If specified, \fB-r\fR is disregarded for Office 2016.
|
||||
|
||||
.IP "\fB-G\fR \fIePID\fR"
|
||||
Use \fIePID\fR as Windows China Government ePID. If specified, \fB-r\fR is disregarded for Windows China Government Editions (Enterprise G/GN).
|
||||
|
||||
.IP "\fB-H\fR \fIHwId\fR"
|
||||
Use \fIHwId\fR for all products. All HWIDs in the ini file (see \fB-i\fR) will not be used. In an ini file you can specify a seperate HWID for each \fIapplication-guid\fR. This is not possible when entering a HWID from the command line.
|
||||
|
||||
@ -156,6 +204,11 @@ Use configuration file (aka ini file) \fIfilename\fR. Most configuration paramet
|
||||
|
||||
If vlmcsd has been compiled to use a default configuration file (often /etc/vlmcsd.ini), you may use \fB-i-\fR to ignore the default configuration file.
|
||||
|
||||
.IP "\fB-j\fR \fIfilename\fR"
|
||||
Use KMS data file \fIfilename\fR. By default vlmcsd only contains the minimum product data that is required to perform all operations correctly. You may use a more complete KMS data file that contains all detailed product names. This is especially useful if you are logging KMS requests. If you don't log, there is no need to load an external KMS data file.
|
||||
|
||||
If vlmcsd has been compiled to use a default KMS data file, you may use \fB-j-\fR to ignore the default configuration file.
|
||||
|
||||
.IP "\fB-r0\fR, \fB-r1\fR (default) and \fB-r2\fR"
|
||||
These options determine how ePIDs are generated if
|
||||
|
||||
@ -171,7 +224,7 @@ These options determine how ePIDs are generated if
|
||||
|
||||
\fB-r1\fR instructs vlmcsd to generate random ePIDs when the program starts or receives a SIGHUP signal and uses these ePIDs until it is stopped or receives another SIGHUP. Most other KMS emulators generate a new ePID on every KMS request. This is easily detectable. Microsoft could just modify sppsvc.exe in a way that it always sends two identical KMS requests in two RPC requests but over the same TCP connection. If both KMS responses contain the different ePIDs, the KMS server is not genuine. \fB-r1\fR is the default mode. \fB-r1\fR also ensures that all three ePIDs (Windows, Office 2010 and Office 2013) use the same OS build number and LCID (language id).
|
||||
|
||||
If vlmcsd has been started by an internet superserver, \fB-r1\fR works almost identically to \fB-r2\fR. The only exception occurs if you send more than one activation request over the same TCP connection. This is simply due to the fact that vlmcsd is started upon a connection request and does not stay in memory after servicing a KMS request. Consider using \fB-r0\fR or \fB-w\fR, \fB-0\fR, \fB-3\fR and \fB-6\fB when starting vlmcsd by an internet superserver.
|
||||
If vlmcsd has been started by an internet superserver, \fB-r1\fR works almost identically to \fB-r2\fR. The only exception occurs if you send more than one activation request over the same TCP connection. This is simply due to the fact that vlmcsd is started upon a connection request and does not stay in memory after servicing a KMS request. Consider using \fB-r0\fR or \fB-w\fR, \fB-G\fR, \fB-0\fR, \fB-3\fR and \fB-6\fR when starting vlmcsd by an internet superserver.
|
||||
|
||||
\fB-r2\fR behaves like most other KMS server emulators with random support and generates a new random ePID on every request. \fB-r2\fR should be treated as debugging option only because it allows very easy emulator detection.
|
||||
|
||||
@ -184,6 +237,33 @@ for a list of valid \fILCID\fRs. Please note that some of them are not recognize
|
||||
|
||||
Most other KMS emulators use a fixed \fILCID\fR of 1033 (English - US). To achive the same behavior in vlmcsd use \fB-C 1033\fR.
|
||||
|
||||
.IP "\fB-K0\fR, \fB-K1\fR, \fB-K2\fR and \fB-K3\fR"
|
||||
Sets the whitelisting level to determine which products vlmcsd activates or refuses. The default is \fB-K0\fR.
|
||||
|
||||
.RS 12
|
||||
\fB-K0\fR: activate all products with an unknown, retail or beta/preview KMS ID.
|
||||
.br
|
||||
\fB-K1\fR: activate products with a retail or beta/preview KMS ID but refuse to activate products with an unknown KMS ID.
|
||||
.br
|
||||
\fB-K2\fR: activate products with an unknown KMS ID but refuse products with a retail or beta/preview KMS ID.
|
||||
.br
|
||||
\fB-K3\fR: activate only products with a known volume license RTM KMS ID and refuse all others.
|
||||
.RE
|
||||
|
||||
.IP ""
|
||||
The SKU ID is not checked. Like a genuine KMS server vlmcsd activates a product that has a random or unknown SKU ID. If you select \fB-K1\fR or \fB-K3\fR, vlmcsd also checks the Application ID for correctness. If Microsoft introduces a new KMS ID for a new product, you cannot activate it if you used \fB-K1\fR or \fB-K3\fR until a new version of vlmcsd is available.
|
||||
|
||||
.IP "\fB-c0\fR and \fB-c1\fR"
|
||||
\fB-c1\fR causes vlmcsd to check if the client time differs no more than four hours from the system time. \fB-c0\fR (the default) disables this check. \fB-c1\fR is useful to prevent emulator detection. A client that tries to detect an emulator could simply send two subsequent request with two time stamps that differ more than four hours from each other. If both requests succeed, the server is an emulator. If you specify \fB-c1\fR on a system with no reliable time source, activations will fail. It is ok to set the correct system time after you started vlmcsd.
|
||||
|
||||
.IP "\fB-M0\fR and \fB-M1\fR"
|
||||
Disables (\fB-M0\fR) or enables (\fB-M1\fR) maintaining a list of client machine IDs (CMIDs). The default is \fB-M0\fR. \fB-M1\fR is useful to prevent emulator detection. By maintaing a CMID list, vlmcsd reports current active clients exactly like a genuine KMS emulator. This includes bug compatibility to the extent that you can permanently kill a genuine KMS emulator by sending an "overcharge request" with a required client count of 376 or more and then request activation for 671 clients. vlmcsd can be reset from this condition by restarting it. If \fB-M0\fR is used, vlmcsd reports current active clients as good as possible. If no client sends an "overcharge request", it is not possible to detect vlmcsd as an emulator with \fB-M0\fR. \fB-M1\fR requires the allocation of a buffer that is about 50 kB in size. On hardware with few memory resources use it only if you really need it.
|
||||
|
||||
If you start vlmcsd from an internet superserver, \fB-M1\fR cannot be used. Since vlmcsd exits after each activation, it cannot maintain any state in memory.
|
||||
|
||||
.IP "\fB-E0\fR and \fB-E1\fR"
|
||||
These options are ignored if you do not also specify \fB-M1\fR. If you use \fB-E0\fR (the default), vlmcsd starts up as a fully "charged" KMS server. Clients activate immediately. \fB-E1\fR lets you start up vlmcsd with an empty CMID list. Activation will start when the required minimum clients (25 for Windows Client OSses, 5 for Windows Server OSses and Office) have registered with the KMS server. As long as the minimum client count has not been reached, clients end up in HRESULT 0xC004F038 "The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator". You may use \fBvlmcs\fR(1) or another KMS client emulator to "charge" vlmcsd. \fB-E1\fR does not improve emulator detection prevention. It's primary purpose is to help developers of KMS clients to test "charging" a KMS server.
|
||||
|
||||
.IP "\fB-R\fR \fIrenewal-interval\fR"
|
||||
Instructs clients to renew activation every \fIrenewal-interval\fR. The \fIrenewal-interval\fR is a number optionally immediately followed by a letter indicating the unit. Valid unit letters are s (seconds), m (minutes), h (hours), d (days) and w (weeks). If you do not specify a letter, minutes is assumed.
|
||||
|
||||
@ -244,13 +324,13 @@ If you used a pid file, it is not deleted and recreated because the process id s
|
||||
If you used the 'user' and/or 'group' directive in an ini file these are ignored. This is because once you switched to lower privileged users and groups, there is no way back. Anything else would be a severe security flaw in the OS.
|
||||
.RE
|
||||
|
||||
Signaling is not available in the native Windows version and in the Cygwin version when it runs as Windows service.
|
||||
Signaling is not available in the native Windows version and in the Cygwin version when vlmcsd runs as a Windows service.
|
||||
|
||||
.SH SUPPORTED OPERATING SYSTEMS
|
||||
\fBvlmcsd\fR compiles and runs on Linux, Windows (no Cygwin required but explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD, Dragonfly BSD, Minix, Solaris, OpenIndiana, Android and iOS. Other POSIX or unixoid OSses may work with unmodified sources or may require minor porting efforts.
|
||||
|
||||
.SH SUPPORTED PRODUCTS
|
||||
\fBvlmcsd\fR can answer activation requests for the following products: Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 (up to 1607), Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Office 2010, Project 2010, Visio 2010, Office 2013, Project 2013, Visio 2013, Office 2016, Project 2016, Visio 2016. Newer version may work as long as the KMS protocol does not change. A complete list of fully supported products can be obtained using the \fB-x\fR option of \fBvlmcs\fR(1).
|
||||
\fBvlmcsd\fR can answer activation requests for the following products: Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 (up to 1703), Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Office 2010, Project 2010, Visio 2010, Office 2013, Project 2013, Visio 2013, Office 2016, Project 2016, Visio 2016. Newer products may work as long as the KMS protocol does not change. A complete list of fully supported products can be obtained using the \fB-x\fR option of \fBvlmcs\fR(1).
|
||||
.PP
|
||||
Office, Project and Visio must be volume license versions.
|
||||
|
||||
@ -273,11 +353,6 @@ Installs \fBvlmcsd\fR as a Windows service with low privileges and logs everythi
|
||||
.SH BUGS
|
||||
An ePID specified in an ini file must not contain spaces.
|
||||
|
||||
.SH INTENTIONAL BUGS
|
||||
vlmcsd activates non-VL (retail) and beta/preview versions of Windows.
|
||||
.br
|
||||
vlmcsd always reports enough active clients to satisfy the N count policy of the request.
|
||||
|
||||
.SH AUTHOR
|
||||
Written by crony12, Hotbird64 and vityan666.
|
||||
With contributions from DougQaid.
|
||||
|
@ -33,18 +33,33 @@ DESCRIPTION
|
||||
xinetd(8) as well as an advanced init system like systemd(8) or
|
||||
launchd(8) using socket based activation. If vlmcsd detects that
|
||||
stdin(3) is a socket, it assumes that there is already a connected
|
||||
client on stdin that wants to be activated. All options that control
|
||||
setting up listening sockets will be ignored when in inetd mode.
|
||||
client on stdin that wants to be activated.
|
||||
|
||||
All options that control setting up listening sockets will be ignored
|
||||
when in inetd mode. The sockets will be set up by your internet super-
|
||||
server. You also cannot limit the number of simultanous clients (option
|
||||
-m). You need to configure the limit in your internet superserver.
|
||||
|
||||
The followong features that require that vlmcsd is permanently loaded
|
||||
will not work if started from an internet superserver:
|
||||
|
||||
|
||||
You cannot maintain a client list (option -M1)
|
||||
|
||||
|
||||
EPID Randomization Level 1 (option -r1) works like Level 2
|
||||
(-r2). You may want to use Level 0 (-r0) or custom EPIDs
|
||||
(options -w, -G, -0, -3 and -6) instead.
|
||||
|
||||
|
||||
OPTIONS
|
||||
Since vlmcsd can be configured at compile time, some options may not be
|
||||
available on your system.
|
||||
|
||||
All options that do no require an argument may be combined with a sin‐
|
||||
All options that do no require an argument may be combined with a sin-
|
||||
gle dash, for instance "vlmcsd -D -e" is identical to "vlmcsd -De". For
|
||||
all options that require an argument a space between the option and the
|
||||
option argument is optional. Thus "vlmcsd -r 2" and "vlmcsd -r2" are
|
||||
option argument is optional. Thus "vlmcsd -r 2" and "vlmcsd -r2" are
|
||||
identical too.
|
||||
|
||||
|
||||
@ -52,111 +67,203 @@ OPTIONS
|
||||
Displays help.
|
||||
|
||||
|
||||
-V Displays extended version information. This includes the com‐
|
||||
piler used to build vlmcsd, the intended platform and flags
|
||||
(compile time options) to build vlmcsd. If you have the source
|
||||
-V Displays extended version information. This includes the com-
|
||||
piler used to build vlmcsd, the intended platform and flags
|
||||
(compile time options) to build vlmcsd. If you have the source
|
||||
code of vlmcsd, you can type make help (or gmake help on systems
|
||||
that do not use the GNU version of make(1) by default) to see
|
||||
that do not use the GNU version of make(1) by default) to see
|
||||
the meaning of those flags.
|
||||
|
||||
|
||||
-L ipaddress[:port]
|
||||
Instructs vlmcsd to listen on ipaddress with optional port
|
||||
(default 1688). You can use this option more than once. If you
|
||||
Instructs vlmcsd to listen on ipaddress with optional port
|
||||
(default 1688). You can use this option more than once. If you
|
||||
do not specify -L at least once, IP addresses 0.0.0.0 (IPv4) and
|
||||
:: (IPv6) are used. If the IP address contains colons (IPv6) you
|
||||
must enclose the IP address in brackets if you specify the
|
||||
must enclose the IP address in brackets if you specify the
|
||||
optional port, e.g. [2001:db8::dead:beef]:1688.
|
||||
|
||||
If no port is specified, vlmcsd uses the default port according
|
||||
to a preceding -P option. If you specify a port, it can be a
|
||||
number (1-65535) or a name (usually found in /etc/services if
|
||||
If no port is specified, vlmcsd uses the default port according
|
||||
to a preceding -P option. If you specify a port, it can be a
|
||||
number (1-65535) or a name (usually found in /etc/services if
|
||||
not provided via LDAP, NIS+ or another name service).
|
||||
|
||||
If you specify a link local IPv6 address (fe80::/10, usually
|
||||
If you specify a link local IPv6 address (fe80::/10, usually
|
||||
starting with fe80::), it must be followed by a percent sign (%)
|
||||
and a scope id (=network interface name or number) on most
|
||||
unixoid OSses including Linux, Android, MacOS X and iOS, e.g.
|
||||
and a scope id (=network interface name or number) on most
|
||||
unixoid OSses including Linux, Android, MacOS X and iOS, e.g.
|
||||
fe80::1234:56ff:fe78:9abc%eth0 or
|
||||
[fe80::1234:56ff:fe78:9abc%2]:1688. Windows (including cygwin)
|
||||
does not require a scope id unless the same link local address
|
||||
is used on more than one network interface. Windows does not
|
||||
[fe80::1234:56ff:fe78:9abc%2]:1688. Windows (including cygwin)
|
||||
does not require a scope id unless the same link local address
|
||||
is used on more than one network interface. Windows does not
|
||||
accept a name and the scope id must be a number.
|
||||
|
||||
|
||||
-o level
|
||||
Sets the level of protection against activations from public IP
|
||||
Sets the level of protection against activations from public IP
|
||||
addresses. The default is -o0 for no protection.
|
||||
|
||||
-o1 causes vlmcsd not to listen on all IP addresses but on pri‐
|
||||
vate IP addresses only. IPv4 addresses in the 100.64.0.0/10
|
||||
-o1 causes vlmcsd not to listen on all IP addresses but on pri-
|
||||
vate IP addresses only. IPv4 addresses in the 100.64.0.0/10
|
||||
range (see RFC6598) are not treated as private since they can be
|
||||
reached from other users of your ISP. Private IPv4 addresses are
|
||||
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16 and
|
||||
127.0.0.0/8. vlmcsd treats all IPv6 addresses not within
|
||||
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16 and
|
||||
127.0.0.0/8. vlmcsd treats all IPv6 addresses not within
|
||||
2000::/3 as private addresses.
|
||||
|
||||
If -o1 is combined with -L, it will listen on all private IP
|
||||
addresses plus the ones specified by one or more -L statements.
|
||||
If -o1 is combined with -P, only the last -P statement will be
|
||||
If -o1 is combined with -L, it will listen on all private IP
|
||||
addresses plus the ones specified by one or more -L statements.
|
||||
If -o1 is combined with -P, only the last -P statement will be
|
||||
used.
|
||||
|
||||
Using -o1 does not protect you if you enable NAT port forwarding
|
||||
on your router to your vlmcsd machine. It is identical to using
|
||||
multiple -L statements with all of your private IP addresses.
|
||||
on your router to your vlmcsd machine. It is identical to using
|
||||
multiple -L statements with all of your private IP addresses.
|
||||
What -o1 does for you, is automatically enumerating your private
|
||||
IP addresses.
|
||||
|
||||
-o2 does not affect the interfaces, vlmcsd is listening on. When
|
||||
a clients connects, vlmcsd immediately drops the connection if
|
||||
the client has a public IP address. Unlike -o1 clients will be
|
||||
a clients connects, vlmcsd immediately drops the connection if
|
||||
the client has a public IP address. Unlike -o1 clients will be
|
||||
able to establish a TCP connection but it will be closed without
|
||||
a single byte sent over the connection. This protects against
|
||||
clients with public IP addresses even if NAT port forwarding is
|
||||
used. While -o2 offers a higher level of protection than -o1,
|
||||
the client sees that the KMS TCP port (1688 by default) is actu‐
|
||||
a single byte sent over the connection. This protects against
|
||||
clients with public IP addresses even if NAT port forwarding is
|
||||
used. While -o2 offers a higher level of protection than -o1,
|
||||
the client sees that the KMS TCP port (1688 by default) is actu-
|
||||
ally accepting connections.
|
||||
|
||||
If vlmcsd is compiled to use MS RPC, -o2 can only offer very
|
||||
poor protection. Control is passed from MS RPC to vlmcsd after
|
||||
the KMS protocol has already been negotiated. Thus a client can
|
||||
always verify that the KMS protocol is available even though it
|
||||
If vlmcsd is compiled to use MS RPC, -o2 can only offer very
|
||||
poor protection. Control is passed from MS RPC to vlmcsd after
|
||||
the KMS protocol has already been negotiated. Thus a client can
|
||||
always verify that the KMS protocol is available even though it
|
||||
receives an RPC_S_ACCESS_DENIED error message. vlmcsd will issue
|
||||
a warning if -o2 is used with MS RPC. For adaequate protection
|
||||
a warning if -o2 is used with MS RPC. For adaequate protection
|
||||
do not use a MS RPC build of vlmcsd with -o2.
|
||||
|
||||
-o3 combines -o1 and -o2. vlmcsd listens on private interfaces
|
||||
-o3 combines -o1 and -o2. vlmcsd listens on private interfaces
|
||||
only and if a public client manages to connect anyway due to NAT
|
||||
port forwarding, it will be immediately dropped.
|
||||
|
||||
If you use any form of TCP level port forwarding (e.g. nc(1),
|
||||
netcat(1), ssh(1) port forwarding or similar) to redirect KMS
|
||||
requests to vlmcsd, there will be no protection even if you use
|
||||
-o2 or -o3. This is due to the simple fact that vlmcsd sees the
|
||||
IP address of the redirector and not the IP address of the
|
||||
If you use any form of TCP level port forwarding (e.g. nc(1),
|
||||
netcat(1), ssh(1) port forwarding or similar) to redirect KMS
|
||||
requests to vlmcsd, there will be no protection even if you use
|
||||
-o2 or -o3. This is due to the simple fact that vlmcsd sees the
|
||||
IP address of the redirector and not the IP address of the
|
||||
client.
|
||||
|
||||
-o1 (and thus -o3) is not (yet) available in some scenarios:
|
||||
|
||||
FreeBSD: There is a longtime unfixed bug ⟨https://
|
||||
bugs.freebsd.org/bugzilla/show_bug.cgi?id=178881⟩ in the
|
||||
32-bit ABI of the 64-bit kernel. If you have a 64-bit Free‐
|
||||
BSD kernel, you must run the 64-bit version of vlmcsd if
|
||||
you use -o1 or -o3. The 32-bit version causes undefined
|
||||
behavior up to crashing vlmcsd. Other BSDs (NetBSD, Open‐
|
||||
FreeBSD: There is a longtime unfixed bug <https://
|
||||
bugs.freebsd.org/bugzilla/show_bug.cgi?id=178881> in the
|
||||
32-bit ABI of the 64-bit kernel. If you have a 64-bit Free-
|
||||
BSD kernel, you must run the 64-bit version of vlmcsd if
|
||||
you use -o1 or -o3. The 32-bit version causes undefined
|
||||
behavior up to crashing vlmcsd. Other BSDs (NetBSD, Open-
|
||||
BSD, Dragonfly and Mac OS X) work correctly.
|
||||
|
||||
If vlmcsd was started by an internet superserver or was
|
||||
compiled to use Microsoft RPC (Windows only) or simple
|
||||
If vlmcsd was started by an internet superserver or was
|
||||
compiled to use Microsoft RPC (Windows only) or simple
|
||||
sockets, -o1 and -o3 are not available by design.
|
||||
|
||||
|
||||
-P port
|
||||
Use TCP port for all subsequent -L statements that do not
|
||||
include an optional port. If you use -P and -L, -P must be spec‐
|
||||
Use TCP port for all subsequent -L statements that do not
|
||||
include an optional port. If you use -P and -L, -P must be spec-
|
||||
ified before -L.
|
||||
|
||||
|
||||
-O vpn-adapter-name[=ipv4-address][/cidr-mask][:dhcp-lease-duration]
|
||||
Enables a compatible VPN adapter to create additional local IPv4
|
||||
addresses (like 127.0.0.1) that appear as remote IPv4 addresses
|
||||
to the system. This allows product activation using a local
|
||||
instance of vlmcsd. This feature is only available in Windows
|
||||
and Cygwin builds of vlmcsd since it is not of any use on other
|
||||
operating systems. Compatible VPN adapters are Tap-windows ver-
|
||||
sion 8.2 or higher (from OpenVPN) and the TeamViewer VPN
|
||||
adapter. There are two special vpn-adapter-names. A single
|
||||
period (.) instructs vlmcsd to use the first available compati-
|
||||
ble VPN adapter. A single dash (-) disables the use of a VPN
|
||||
adapter if one has been configured in vlmcsd.ini(5). The vpn-
|
||||
adapter-name is not case-sensitive. If the vpn-adapter-name con-
|
||||
tains spaces (e.g. Ethernet 3), you must enclose it in quotes.
|
||||
|
||||
The default ipv4-address is 10.10.10.9 and the default cidr-mask
|
||||
is 30. If you are using the default values, your VPN adapter
|
||||
uses an IPv4 address of 10.10.10.9 and you can set your activa-
|
||||
tion client to use the easy to remember address 10.10.10.10
|
||||
(e.g. slmgr /skms 10.10.10.10 or cscript ospp.vbs
|
||||
/sethst:10.10.10.10).
|
||||
|
||||
The dhcp-lease-duration is a number optionally followed by s, m,
|
||||
h, d or w to indicate seconds, minutes, hours, days or weeks.
|
||||
The default dhcp-lease-duration is 1d (one day). It is normally
|
||||
not required to change this value.
|
||||
|
||||
It is advised not to manually configure your OpenVPN TAP or
|
||||
TeamViewer VPN adapter in "Network Connections". If you set the
|
||||
IPv4 configuration manually anyway, the IPv4 address and the
|
||||
subnet mask must match the -O parameter. It is safe leave the
|
||||
IPv4 configuration to automatic (DHCP). vlmcsd will wait up to
|
||||
four seconds for the DHCP configuration to complete before bind-
|
||||
ing to and listenin on any interfaces.
|
||||
|
||||
You should be aware that only one program can use a VPN adapter
|
||||
at a time. If you use the TeamViewer VPN adapter for example,
|
||||
you will not be able to use the VPN feature of TeamViewer as
|
||||
long as vlmcsd is running. The same applies to OpenVPN TAP
|
||||
adapters that are in use by other programs (for example OpenVPN,
|
||||
QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid con-
|
||||
flicts is to install Tap-Windows from OpenVPN, cd to C:\Program
|
||||
Files\TAP-Windows\bin and run addtap.bat to install an addi-
|
||||
tional TAP adapter. Go to "Network Connections" and rename the
|
||||
new adapter to "vlmcsd" and specify -O vlmcsd to use it.
|
||||
|
||||
Example: -O "Ethernet 7"=192.168.123.1/24 (uses VPN adapter Eth-
|
||||
ernet 7 with IPv4 address 192.168.123.1 and have 192.168.123.2
|
||||
to 192.168.123.254 as additional local (but apparently remote)
|
||||
IPv4 addresses.
|
||||
|
||||
|
||||
-x0 and -x1
|
||||
Controls under what circumstances vlmcsd will exit. Using the
|
||||
default of -x0 vlmcsd stays active as long as it can perform
|
||||
some useful operations. If vlmcsd is run by any form of a watch-
|
||||
dog, e.g. NT service manager (Windows), systemd (Linux) or
|
||||
launchd (Mac OS / iOS), it may be desirable to end vlmcsd and
|
||||
let the watchdog restart it. This is especially true if some
|
||||
pre-requisites are not yet met but will be some time later, e.g.
|
||||
network is not yet fully setup.
|
||||
|
||||
By using -x0 vlmcsd will
|
||||
|
||||
exit if none of the listening sockets specified with -L can
|
||||
be used. It continues if at least one socket can be setup
|
||||
for listening.
|
||||
|
||||
exit any TAP mirror thread (Windows version only) if there
|
||||
is an error condition while reading or writing from or to
|
||||
the VPN adapter but continue to work without utilizing a
|
||||
VPN adapter.
|
||||
|
||||
By using -x1 vlmcsd will
|
||||
|
||||
exit if not all listening sockets specified with -L can be
|
||||
used.
|
||||
|
||||
exit completely if there is a problem with a VPN adapter it
|
||||
is using. This can happen for instance if the VPN adapter
|
||||
has been disabled using "Control Panel - Network - Adapter
|
||||
Settings" while vlmcsd is using it.
|
||||
|
||||
|
||||
Please note that -x1 is kind of a workaround option. While it
|
||||
may help under some circumstances, it is better to solve the
|
||||
problem at its origin, e.g. properly implementing dependencies
|
||||
in your startup script to ensure all network interfaces and the
|
||||
VPN adapter you will use are completely setup before you start
|
||||
vlmcsd.
|
||||
|
||||
|
||||
-F0 and -F1
|
||||
Allow (-F1) or disallow (-F0) binding to IP addresses that are
|
||||
currently not configured on your system. The default is -F0. -F1
|
||||
@ -170,12 +277,12 @@ OPTIONS
|
||||
|
||||
|
||||
-t seconds
|
||||
Timeout the TCP connection with the client after seconds sec‐
|
||||
Timeout the TCP connection with the client after seconds sec-
|
||||
onds. After sending an activation request. RPC keeps the TCP
|
||||
connection for a while. The default is 30 seconds. You may spec‐
|
||||
connection for a while. The default is 30 seconds. You may spec-
|
||||
ify a shorter period to free ressources on your device faster.
|
||||
This is useful for devices with limited main memory or if you
|
||||
used -m to limit the concurrent clients that may request activa‐
|
||||
used -m to limit the concurrent clients that may request activa-
|
||||
tion. Microsoft RPC clients disconnect after 30 seconds by
|
||||
default. Setting seconds to a greater value does not make much
|
||||
sense.
|
||||
@ -186,7 +293,7 @@ OPTIONS
|
||||
This is useful for devices with limited ressources or if you are
|
||||
experiencing DoS attacks that spawn thousands of threads or
|
||||
forked processes. If additional clients connect to vlmcsd, they
|
||||
need to wait until another client disconnects. If you set con‐
|
||||
need to wait until another client disconnects. If you set con-
|
||||
current-clients to a small value ( <10 ), you should also select
|
||||
a reasonable timeout of 2 or 3 seconds with -t. The default is
|
||||
no limit.
|
||||
@ -210,7 +317,7 @@ OPTIONS
|
||||
Disables (-N0) or enables (-N1) the use of the NDR64 transfer
|
||||
syntax in the RPC protocol. Unlike Microsoft vlmcsd supports
|
||||
NDR64 on 32-bit operating systems. Microsoft introduced NDR64 in
|
||||
Windows Vista but their KMS servers started using it with Win‐
|
||||
Windows Vista but their KMS servers started using it with Win-
|
||||
dows 8. Thus if you choose random ePIDs, vlmcsd will select
|
||||
ePIDs with build numbers 9200 and 9600 if you enable NDR64 and
|
||||
build numbers 6002 and 7601 if you disable NDR64. The default is
|
||||
@ -219,10 +326,10 @@ OPTIONS
|
||||
|
||||
-B0 and -B1
|
||||
Disables (-B0) or enables (-B1) bind time feature negotiation
|
||||
(BTFN) in the RPC protocol. All Windows operating systems start‐
|
||||
ing with Vista support BTFN and try to negotiate it when initi‐
|
||||
(BTFN) in the RPC protocol. All Windows operating systems start-
|
||||
ing with Vista support BTFN and try to negotiate it when initi-
|
||||
ating an RPC connection. Thus consider turning it off as a debug
|
||||
/ troubleshooting feature only. Some older firewalls that selec‐
|
||||
/ troubleshooting feature only. Some older firewalls that selec-
|
||||
tively block or redirect RPC traffic may get confused when they
|
||||
detect NDR64 or BTFN.
|
||||
|
||||
@ -236,7 +343,7 @@ OPTIONS
|
||||
|
||||
If you use the special filename "syslog", vlmcsd uses syslog(3)
|
||||
for logging. If your system has no syslog service (/dev/log)
|
||||
installed, logging output will go to /dev/console. Syslog log‐
|
||||
installed, logging output will go to /dev/console. Syslog log-
|
||||
ging is not available in the native Windows version. The Cygwin
|
||||
version does support syslog logging.
|
||||
|
||||
@ -244,7 +351,7 @@ OPTIONS
|
||||
-T0 and -T1
|
||||
Disable (-T0) or enable (-T1) the inclusion of date and time in
|
||||
each line of the log. The default is -T1. -T0 is useful if you
|
||||
log to stdout(3) which is redirected to another logging mecha‐
|
||||
log to stdout(3) which is redirected to another logging mecha-
|
||||
nism that already includes date and time in its output, for
|
||||
instance systemd-journald(8). If you log to syslog(3), -T1 is
|
||||
ignored and date and time will never be included in the output
|
||||
@ -269,15 +376,15 @@ OPTIONS
|
||||
-v Use verbose logging. Logs every parameter of the base request
|
||||
and the base response. It also logs the HWID of the KMS server
|
||||
if KMS protocol version 6 is used. This option is mainly for
|
||||
debugging purposes. It only has an effect if some form of log‐
|
||||
debugging purposes. It only has an effect if some form of log-
|
||||
ging is used. Thus -v does not make sense if not used with -l,
|
||||
-e or -f.
|
||||
|
||||
|
||||
-q Do not use verbose logging. This is actually the default behav‐
|
||||
-q Do not use verbose logging. This is actually the default behav-
|
||||
ior. It only makes sense if you use vlmcsd with an ini file (see
|
||||
-i and vlmcsd.ini(5)). If the ini file contains the line
|
||||
"LogVerbose = true" you can use -q to restore the default behav‐
|
||||
"LogVerbose = true" you can use -q to restore the default behav-
|
||||
ior.
|
||||
|
||||
|
||||
@ -327,6 +434,12 @@ OPTIONS
|
||||
specified, -r is disregarded for Office 2016.
|
||||
|
||||
|
||||
-G ePID
|
||||
Use ePID as Windows China Government ePID. If specified, -r is
|
||||
disregarded for Windows China Government Editions (Enterprise
|
||||
G/GN).
|
||||
|
||||
|
||||
-H HwId
|
||||
Use HwId for all products. All HWIDs in the ini file (see -i)
|
||||
will not be used. In an ini file you can specify a seperate HWID
|
||||
@ -344,7 +457,7 @@ OPTIONS
|
||||
|
||||
|
||||
-i filename
|
||||
Use configuration file (aka ini file) filename. Most configura‐
|
||||
Use configuration file (aka ini file) filename. Most configura-
|
||||
tion parameters can be set either via the command line or an ini
|
||||
file. The command line always has precedence over configuration
|
||||
items in the ini file. See vlmcsd.ini(5) for the format of the
|
||||
@ -355,6 +468,18 @@ OPTIONS
|
||||
configuration file.
|
||||
|
||||
|
||||
-j filename
|
||||
Use KMS data file filename. By default vlmcsd only contains the
|
||||
minimum product data that is required to perform all operations
|
||||
correctly. You may use a more complete KMS data file that con-
|
||||
tains all detailed product names. This is especially useful if
|
||||
you are logging KMS requests. If you don't log, there is no need
|
||||
to load an external KMS data file.
|
||||
|
||||
If vlmcsd has been compiled to use a default KMS data file, you
|
||||
may use -j- to ignore the default configuration file.
|
||||
|
||||
|
||||
-r0, -r1 (default) and -r2
|
||||
These options determine how ePIDs are generated if
|
||||
|
||||
@ -387,8 +512,8 @@ OPTIONS
|
||||
more than one activation request over the same TCP connection.
|
||||
This is simply due to the fact that vlmcsd is started upon a
|
||||
connection request and does not stay in memory after servicing a
|
||||
KMS request. Consider using -r0 or -w, -0, -3 and -6 when start‐
|
||||
ing vlmcsd by an internet superserver.
|
||||
KMS request. Consider using -r0 or -w, -G, -0, -3 and -6 when
|
||||
starting vlmcsd by an internet superserver.
|
||||
|
||||
-r2 behaves like most other KMS server emulators with random
|
||||
support and generates a new random ePID on every request. -r2
|
||||
@ -407,18 +532,90 @@ OPTIONS
|
||||
by .NET Framework 4.0. This may lead to a locale id which is
|
||||
unlikely to occur in your country, for instance 2155 for "Quecha
|
||||
- Ecuador". You may want to select the locale id of your country
|
||||
instead. See MSDN ⟨http://msdn.microsoft.com/en-us/goglobal/
|
||||
bb964664.aspx⟩ for a list of valid LCIDs. Please note that some
|
||||
instead. See MSDN <http://msdn.microsoft.com/en-us/goglobal/
|
||||
bb964664.aspx> for a list of valid LCIDs. Please note that some
|
||||
of them are not recognized by .NET Framework 4.0.
|
||||
|
||||
Most other KMS emulators use a fixed LCID of 1033 (English -
|
||||
US). To achive the same behavior in vlmcsd use -C 1033.
|
||||
|
||||
|
||||
-K0, -K1, -K2 and -K3
|
||||
Sets the whitelisting level to determine which products vlmcsd
|
||||
activates or refuses. The default is -K0.
|
||||
|
||||
-K0: activate all products with an unknown, retail or
|
||||
beta/preview KMS ID.
|
||||
-K1: activate products with a retail or beta/preview KMS ID
|
||||
but refuse to activate products with an unknown KMS ID.
|
||||
-K2: activate products with an unknown KMS ID but refuse
|
||||
products with a retail or beta/preview KMS ID.
|
||||
-K3: activate only products with a known volume license RTM
|
||||
KMS ID and refuse all others.
|
||||
|
||||
|
||||
The SKU ID is not checked. Like a genuine KMS server vlmcsd
|
||||
activates a product that has a random or unknown SKU ID. If you
|
||||
select -K1 or -K3, vlmcsd also checks the Application ID for
|
||||
correctness. If Microsoft introduces a new KMS ID for a new
|
||||
product, you cannot activate it if you used -K1 or -K3 until a
|
||||
new version of vlmcsd is available.
|
||||
|
||||
|
||||
-c0 and -c1
|
||||
-c1 causes vlmcsd to check if the client time differs no more
|
||||
than four hours from the system time. -c0 (the default) disables
|
||||
this check. -c1 is useful to prevent emulator detection. A
|
||||
client that tries to detect an emulator could simply send two
|
||||
subsequent request with two time stamps that differ more than
|
||||
four hours from each other. If both requests succeed, the server
|
||||
is an emulator. If you specify -c1 on a system with no reliable
|
||||
time source, activations will fail. It is ok to set the correct
|
||||
system time after you started vlmcsd.
|
||||
|
||||
|
||||
-M0 and -M1
|
||||
Disables (-M0) or enables (-M1) maintaining a list of client
|
||||
machine IDs (CMIDs). The default is -M0. -M1 is useful to pre-
|
||||
vent emulator detection. By maintaing a CMID list, vlmcsd
|
||||
reports current active clients exactly like a genuine KMS emula-
|
||||
tor. This includes bug compatibility to the extent that you can
|
||||
permanently kill a genuine KMS emulator by sending an "over-
|
||||
charge request" with a required client count of 376 or more and
|
||||
then request activation for 671 clients. vlmcsd can be reset
|
||||
from this condition by restarting it. If -M0 is used, vlmcsd
|
||||
reports current active clients as good as possible. If no client
|
||||
sends an "overcharge request", it is not possible to detect vlm-
|
||||
csd as an emulator with -M0. -M1 requires the allocation of a
|
||||
buffer that is about 50 kB in size. On hardware with few memory
|
||||
resources use it only if you really need it.
|
||||
|
||||
If you start vlmcsd from an internet superserver, -M1 cannot be
|
||||
used. Since vlmcsd exits after each activation, it cannot main-
|
||||
tain any state in memory.
|
||||
|
||||
|
||||
-E0 and -E1
|
||||
These options are ignored if you do not also specify -M1. If you
|
||||
use -E0 (the default), vlmcsd starts up as a fully "charged" KMS
|
||||
server. Clients activate immediately. -E1 lets you start up vlm-
|
||||
csd with an empty CMID list. Activation will start when the
|
||||
required minimum clients (25 for Windows Client OSses, 5 for
|
||||
Windows Server OSses and Office) have registered with the KMS
|
||||
server. As long as the minimum client count has not been
|
||||
reached, clients end up in HRESULT 0xC004F038 "The count
|
||||
reported by your Key Management Service (KMS) is insufficient.
|
||||
Please contact your system administrator". You may use vlmcs(1)
|
||||
or another KMS client emulator to "charge" vlmcsd. -E1 does not
|
||||
improve emulator detection prevention. It's primary purpose is
|
||||
to help developers of KMS clients to test "charging" a KMS
|
||||
server.
|
||||
|
||||
|
||||
-R renewal-interval
|
||||
Instructs clients to renew activation every renewal-interval.
|
||||
The renewal-interval is a number optionally immediately followed
|
||||
by a letter indicating the unit. Valid unit letters are s (sec‐
|
||||
by a letter indicating the unit. Valid unit letters are s (sec-
|
||||
onds), m (minutes), h (hours), d (days) and w (weeks). If you do
|
||||
not specify a letter, minutes is assumed.
|
||||
|
||||
@ -432,14 +629,14 @@ OPTIONS
|
||||
before your activation expires (usually 180 days).
|
||||
|
||||
Even though you can specify seconds, the granularity of this
|
||||
option is 1 minute. Seconds are rounded down to the next multi‐
|
||||
option is 1 minute. Seconds are rounded down to the next multi-
|
||||
ple of 60.
|
||||
|
||||
|
||||
-A activation-interval
|
||||
Instructs clients to retry activation every activation-interval
|
||||
if it was unsuccessful, e.g. because it could not reach the
|
||||
server. The default is 120 (identical to 2h). activation-inter‐
|
||||
server. The default is 120 (identical to 2h). activation-inter-
|
||||
val follows the same syntax as renewal-interval in the -R
|
||||
option.
|
||||
|
||||
@ -448,7 +645,7 @@ OPTIONS
|
||||
with the native Windows version and Cygwin. Combine -s with
|
||||
other command line options. These will be in effect when you
|
||||
start the service. The service automatically starts when you
|
||||
reboot your machine. To start it manually, type "net start vlm‐
|
||||
reboot your machine. To start it manually, type "net start vlm-
|
||||
csd".
|
||||
|
||||
If you use Cygwin, you must include your Cygwin system DLL
|
||||
@ -465,35 +662,35 @@ OPTIONS
|
||||
on your system.
|
||||
|
||||
|
||||
-S Uninstalls the vlmcsd service. Works only with the native Win‐
|
||||
-S Uninstalls the vlmcsd service. Works only with the native Win-
|
||||
dows version and Cygwin. All other options will be ignored if
|
||||
you include -S in the command line.
|
||||
|
||||
|
||||
-U [domain\]username
|
||||
Can only be used together with -s. Starts the service as a dif‐
|
||||
Can only be used together with -s. Starts the service as a dif-
|
||||
ferent user than the local SYSTEM account. This is used to run
|
||||
the service under an account with low privileges. If you omit
|
||||
the domain, an account from the local computer will be used.
|
||||
|
||||
You may use "NT AUTHORITY\NetworkService". This is a pseudo user
|
||||
with low privileges. You may also use "NT AUTHORITY\LocalSer‐
|
||||
vice" which has more privileges but these are of no use for run‐
|
||||
with low privileges. You may also use "NT AUTHORITY\LocalSer-
|
||||
vice" which has more privileges but these are of no use for run-
|
||||
ning vlmcsd.
|
||||
|
||||
Make sure that the user you specify has at least execute permis‐
|
||||
Make sure that the user you specify has at least execute permis-
|
||||
sion for your executable. "NT AUTHORITY\NetworkService" normally
|
||||
has no permission to run binaries from your home directory.
|
||||
|
||||
For your convenience you can use the special username "/l" as a
|
||||
shortcut for "NT AUTHORITY\LocalService" and "/n" for "NT
|
||||
AUTHORITY\NetworkService". "vlmcsd -s -U /n" installs the ser‐
|
||||
AUTHORITY\NetworkService". "vlmcsd -s -U /n" installs the ser-
|
||||
vice to run as "NT AUTHORITY\NetworkService".
|
||||
|
||||
|
||||
-W password
|
||||
Can only be used together with -s. Specifies a password for the
|
||||
corresponding username you use with -U. SYSTEM, "NT AUTHOR‐
|
||||
corresponding username you use with -U. SYSTEM, "NT AUTHOR-
|
||||
ITY\NetworkService", "NT AUTHORITY\LocalService" do not require
|
||||
a password.
|
||||
|
||||
@ -507,7 +704,7 @@ SIGNALS
|
||||
|
||||
|
||||
SIGTERM, SIGINT
|
||||
These signals cause vlmcsd to exit gracefully. All global sema‐
|
||||
These signals cause vlmcsd to exit gracefully. All global sema-
|
||||
phores and shared memory pages will be released, the pid file
|
||||
will be unlinked (deleted) and a shutdown message will be
|
||||
logged.
|
||||
@ -516,7 +713,7 @@ SIGNALS
|
||||
SIGHUP Causes vlmcsd to be restarted completely. This is useful if you
|
||||
started vlmcsd with an ini file. You can modify the ini file
|
||||
while vlmcsd is running and then sending SIGHUP, e.g. by typing
|
||||
"killall -SIGHUP vlmcsd" or "kill -SIGHUP `cat /var/run/vlm‐
|
||||
"killall -SIGHUP vlmcsd" or "kill -SIGHUP `cat /var/run/vlm-
|
||||
csd.pid`".
|
||||
|
||||
The SIGHUP handler has been implemented relatively simple. It is
|
||||
@ -524,18 +721,18 @@ SIGNALS
|
||||
immediately with the following exceptions:
|
||||
|
||||
|
||||
— The new process does not get a new process id.
|
||||
-- The new process does not get a new process id.
|
||||
|
||||
— If you used a pid file, it is not deleted and recreated
|
||||
-- If you used a pid file, it is not deleted and recreated
|
||||
because the process id stays the same.
|
||||
|
||||
— If you used the 'user' and/or 'group' directive in an ini
|
||||
-- If you used the 'user' and/or 'group' directive in an ini
|
||||
file these are ignored. This is because once you switched to
|
||||
lower privileged users and groups, there is no way back. Any‐
|
||||
lower privileged users and groups, there is no way back. Any-
|
||||
thing else would be a severe security flaw in the OS.
|
||||
|
||||
Signaling is not available in the native Windows version and in the
|
||||
Cygwin version when it runs as Windows service.
|
||||
Cygwin version when vlmcsd runs as a Windows service.
|
||||
|
||||
|
||||
SUPPORTED OPERATING SYSTEMS
|
||||
@ -547,12 +744,12 @@ SUPPORTED OPERATING SYSTEMS
|
||||
|
||||
|
||||
SUPPORTED PRODUCTS
|
||||
vlmcsd can answer activation requests for the following products: Win‐
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 (up to 1607),
|
||||
Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Win‐
|
||||
vlmcsd can answer activation requests for the following products: Win-
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 (up to 1703),
|
||||
Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Win-
|
||||
dows Server 2012 R2, Windows Server 2016, Office 2010, Project 2010,
|
||||
Visio 2010, Office 2013, Project 2013, Visio 2013, Office 2016, Project
|
||||
2016, Visio 2016. Newer version may work as long as the KMS protocol
|
||||
2016, Visio 2016. Newer products may work as long as the KMS protocol
|
||||
does not change. A complete list of fully supported products can be
|
||||
obtained using the -x option of vlmcs(1).
|
||||
|
||||
@ -571,13 +768,13 @@ EXAMPLES
|
||||
|
||||
|
||||
vlmcsd -l /var/log/vlmcsd.log
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm‐
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm-
|
||||
csd.log.
|
||||
|
||||
|
||||
vlmcsd -L 192.168.1.17
|
||||
Starts vlmcsd as a daemon and listens on IP address 192.168.1.17
|
||||
only. This is useful for routers that have a public and a pri‐
|
||||
only. This is useful for routers that have a public and a pri-
|
||||
vate IP address to prevent your KMS server from becoming public.
|
||||
|
||||
|
||||
@ -591,19 +788,13 @@ BUGS
|
||||
An ePID specified in an ini file must not contain spaces.
|
||||
|
||||
|
||||
INTENTIONAL BUGS
|
||||
vlmcsd activates non-VL (retail) and beta/preview versions of Windows.
|
||||
vlmcsd always reports enough active clients to satisfy the N count pol‐
|
||||
icy of the request.
|
||||
|
||||
|
||||
AUTHOR
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
DougQaid.
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati-
|
||||
borus, ...
|
||||
|
||||
|
||||
@ -612,4 +803,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 September 2016 VLMCSD(8)
|
||||
Hotbird64 June 2017 VLMCSD(8)
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Oct 11 21:34:50 2016 -->
|
||||
<!-- CreationDate: Sat Jun 17 00:53:29 2017 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -30,7 +30,6 @@
|
||||
<a href="#FILES">FILES</a><br>
|
||||
<a href="#EXAMPLES">EXAMPLES</a><br>
|
||||
<a href="#BUGS">BUGS</a><br>
|
||||
<a href="#INTENTIONAL BUGS">INTENTIONAL BUGS</a><br>
|
||||
<a href="#AUTHOR">AUTHOR</a><br>
|
||||
<a href="#CREDITS">CREDITS</a><br>
|
||||
<a href="#SEE ALSO">SEE ALSO</a><br>
|
||||
@ -43,8 +42,8 @@
|
||||
</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcsd −
|
||||
a fully Microsoft compatible KMS server</p>
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcsd - a
|
||||
fully Microsoft compatible KMS server</p>
|
||||
|
||||
<h2>SYNOPSIS
|
||||
<a name="SYNOPSIS"></a>
|
||||
@ -90,8 +89,27 @@ init system like <b>systemd</b>(8) or <b>launchd</b>(8)
|
||||
using socket based activation. If <b>vlmcsd</b> detects that
|
||||
<b>stdin</b>(3) is a socket, it assumes that there is
|
||||
already a connected client on stdin that wants to be
|
||||
activated. All options that control setting up listening
|
||||
sockets will be ignored when in inetd mode.</p>
|
||||
activated.</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">All options
|
||||
that control setting up listening sockets will be ignored
|
||||
when in inetd mode. The sockets will be set up by your
|
||||
internet superserver. You also cannot limit the number of
|
||||
simultanous clients (option <b>-m</b>). You need to
|
||||
configure the limit in your internet superserver.</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">The followong
|
||||
features that require that vlmcsd is permanently loaded will
|
||||
not work if started from an internet superserver:</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">You cannot
|
||||
maintain a client list (option <b>-M1</b>)</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">EPID
|
||||
Randomization Level 1 (option <b>-r1</b>) works like Level 2
|
||||
(<b>-r2</b>). You may want to use Level 0 (<b>-r0</b>) or
|
||||
custom EPIDs (options <b>-w</b>, <b>-G</b>, <b>-0</b>,
|
||||
<b>-3</b> and <b>-6</b>) instead.</p>
|
||||
|
||||
<h2>OPTIONS
|
||||
<a name="OPTIONS"></a>
|
||||
@ -255,6 +273,116 @@ subsequent <b>-L</b> statements that do not include an
|
||||
optional port. If you use <b>-P</b> and <b>-L</b>, <b>-P</b>
|
||||
must be specified before <b>-L</b>.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-O</b>
|
||||
<i>vpn-adapter-name</i>[=<i>ipv4-address</i>][/<i>cidr-mask</i>][:<i>dhcp-lease-duration</i>]</p>
|
||||
|
||||
<p style="margin-left:22%;">Enables a compatible VPN
|
||||
adapter to create additional local IPv4 addresses (like
|
||||
127.0.0.1) that appear as remote IPv4 addresses to the
|
||||
system. This allows product activation using a local
|
||||
instance of vlmcsd. This feature is only available in
|
||||
Windows and Cygwin builds of vlmcsd since it is not of any
|
||||
use on other operating systems. Compatible VPN adapters are
|
||||
Tap-windows version 8.2 or higher (from OpenVPN) and the
|
||||
TeamViewer VPN adapter. There are two special
|
||||
<i>vpn-adapter-name</i>s. A single period (.) instructs
|
||||
vlmcsd to use the first available compatible VPN adapter. A
|
||||
single dash (-) disables the use of a VPN adapter if one has
|
||||
been configured in <b>vlmcsd.ini</b>(5). The
|
||||
<i>vpn-adapter-name</i> is <b>not</b> case-sensitive. If the
|
||||
<i>vpn-adapter-name</i> contains spaces (e.g. Ethernet 3),
|
||||
you must enclose it in quotes.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">The default
|
||||
<i>ipv4-address</i> is 10.10.10.9 and the default
|
||||
<i>cidr-mask</i> is 30. If you are using the default values,
|
||||
your VPN adapter uses an IPv4 address of 10.10.10.9 and you
|
||||
can set your activation client to use the easy to remember
|
||||
address 10.10.10.10 (e.g. slmgr /skms 10.10.10.10 or cscript
|
||||
ospp.vbs /sethst:10.10.10.10).</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">The
|
||||
<i>dhcp-lease-duration</i> is a number optionally followed
|
||||
by s, m, h, d or w to indicate seconds, minutes, hours, days
|
||||
or weeks. The default <i>dhcp-lease-duration</i> is 1d (one
|
||||
day). It is normally not required to change this value.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">It is advised
|
||||
not to manually configure your OpenVPN TAP or TeamViewer VPN
|
||||
adapter in "Network Connections". If you set the
|
||||
IPv4 configuration manually anyway, the IPv4 address and the
|
||||
subnet mask must match the <b>-O</b> parameter. It is safe
|
||||
leave the IPv4 configuration to automatic (DHCP). vlmcsd
|
||||
will wait up to four seconds for the DHCP configuration to
|
||||
complete before binding to and listenin on any
|
||||
interfaces.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">You should be
|
||||
aware that only one program can use a VPN adapter at a time.
|
||||
If you use the TeamViewer VPN adapter for example, you will
|
||||
not be able to use the VPN feature of TeamViewer as long as
|
||||
vlmcsd is running. The same applies to OpenVPN TAP adapters
|
||||
that are in use by other programs (for example OpenVPN,
|
||||
QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid
|
||||
conflicts is to install Tap-Windows from OpenVPN, cd to
|
||||
C:\Program Files\TAP-Windows\bin and run addtap.bat to
|
||||
install an additional TAP adapter. Go to "Network
|
||||
Connections" and rename the new adapter to
|
||||
"vlmcsd" and specify <b>-O vlmcsd</b> to use
|
||||
it.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">Example: <b>-O
|
||||
"Ethernet 7"=192.168.123.1/24</b> (uses VPN
|
||||
adapter Ethernet 7 with IPv4 address 192.168.123.1 and have
|
||||
192.168.123.2 to 192.168.123.254 as additional local (but
|
||||
apparently remote) IPv4 addresses.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-x0</b> and <b>-x1</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Controls under what
|
||||
circumstances vlmcsd will exit. Using the default of
|
||||
<b>-x0</b> vlmcsd stays active as long as it can perform
|
||||
some useful operations. If vlmcsd is run by any form of a
|
||||
watchdog, e.g. NT service manager (Windows), systemd (Linux)
|
||||
or launchd (Mac OS / iOS), it may be desirable to end vlmcsd
|
||||
and let the watchdog restart it. This is especially true if
|
||||
some pre-requisites are not yet met but will be some time
|
||||
later, e.g. network is not yet fully setup.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">By using
|
||||
<b>-x0</b> vlmcsd will</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit if none of
|
||||
the listening sockets specified with <b>-L</b> can be used.
|
||||
It continues if at least one socket can be setup for
|
||||
listening.</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit any TAP
|
||||
mirror thread (Windows version only) if there is an error
|
||||
condition while reading or writing from or to the VPN
|
||||
adapter but continue to work without utilizing a VPN
|
||||
adapter.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">By using
|
||||
<b>-x1</b> vlmcsd will</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit if not all
|
||||
listening sockets specified with <b>-L</b> can be used.</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit completely
|
||||
if there is a problem with a VPN adapter it is using. This
|
||||
can happen for instance if the VPN adapter has been disabled
|
||||
using "Control Panel - Network - Adapter Settings"
|
||||
while vlmcsd is using it.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">Please note
|
||||
that <b>-x1</b> is kind of a workaround option. While it may
|
||||
help under some circumstances, it is better to solve the
|
||||
problem at its origin, e.g. properly implementing
|
||||
dependencies in your startup script to ensure all network
|
||||
interfaces and the VPN adapter you will use are completely
|
||||
setup before you start vlmcsd.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-F0</b> and <b>-F1</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Allow (<b>-F1</b>) or disallow
|
||||
@ -512,6 +640,13 @@ is disregarded for Office 2013.</p>
|
||||
ePID (including Project and Visio). If specified, <b>-r</b>
|
||||
is disregarded for Office 2016.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-G</b> <i>ePID</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Use <i>ePID</i> as Windows
|
||||
China Government ePID. If specified, <b>-r</b> is
|
||||
disregarded for Windows China Government Editions
|
||||
(Enterprise G/GN).</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-H</b> <i>HwId</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Use <i>HwId</i> for all
|
||||
@ -545,6 +680,20 @@ been compiled to use a default configuration file (often
|
||||
/etc/vlmcsd.ini), you may use <b>-i-</b> to ignore the
|
||||
default configuration file.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-j</b> <i>filename</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Use KMS data file
|
||||
<i>filename</i>. By default vlmcsd only contains the minimum
|
||||
product data that is required to perform all operations
|
||||
correctly. You may use a more complete KMS data file that
|
||||
contains all detailed product names. This is especially
|
||||
useful if you are logging KMS requests. If you don’t
|
||||
log, there is no need to load an external KMS data file.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">If vlmcsd has
|
||||
been compiled to use a default KMS data file, you may use
|
||||
<b>-j-</b> to ignore the default configuration file.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-r0</b>, <b>-r1</b>
|
||||
(default) and <b>-r2</b></p>
|
||||
|
||||
@ -587,8 +736,9 @@ if you send more than one activation request over the same
|
||||
TCP connection. This is simply due to the fact that vlmcsd
|
||||
is started upon a connection request and does not stay in
|
||||
memory after servicing a KMS request. Consider using
|
||||
<b>-r0</b> or <b>-w</b>, <b>-0</b>, <b>-3</b> and <b>-6 when
|
||||
starting vlmcsd by an internet superserver.</b></p>
|
||||
<b>-r0</b> or <b>-w</b>, <b>-G</b>, <b>-0</b>, <b>-3</b> and
|
||||
<b>-6</b> when starting vlmcsd by an internet
|
||||
superserver.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em"><b>-r2</b>
|
||||
behaves like most other KMS server emulators with random
|
||||
@ -619,6 +769,99 @@ them are not recognized by .NET Framework 4.0.</p>
|
||||
emulators use a fixed <i>LCID</i> of 1033 (English - US). To
|
||||
achive the same behavior in vlmcsd use <b>-C 1033</b>.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-K0</b>, <b>-K1</b>,
|
||||
<b>-K2</b> and <b>-K3</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Sets the whitelisting level to
|
||||
determine which products vlmcsd activates or refuses. The
|
||||
default is <b>-K0</b>.</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em"><b>-K0</b>:
|
||||
activate all products with an unknown, retail or
|
||||
beta/preview KMS ID. <b><br>
|
||||
-K1</b>: activate products with a retail or beta/preview KMS
|
||||
ID but refuse to activate products with an unknown KMS ID.
|
||||
<b><br>
|
||||
-K2</b>: activate products with an unknown KMS ID but refuse
|
||||
products with a retail or beta/preview KMS ID. <b><br>
|
||||
-K3</b>: activate only products with a known volume license
|
||||
RTM KMS ID and refuse all others.</p>
|
||||
|
||||
<table width="100%" border="0" rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="22%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p>The SKU ID is not checked. Like a genuine KMS server
|
||||
vlmcsd activates a product that has a random or unknown SKU
|
||||
ID. If you select <b>-K1</b> or <b>-K3</b>, vlmcsd also
|
||||
checks the Application ID for correctness. If Microsoft
|
||||
introduces a new KMS ID for a new product, you cannot
|
||||
activate it if you used <b>-K1</b> or <b>-K3</b> until a new
|
||||
version of vlmcsd is available.</p></td></tr>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>-c0</b> and <b>-c1</b></p>
|
||||
|
||||
<p style="margin-left:22%;"><b>-c1</b> causes vlmcsd to
|
||||
check if the client time differs no more than four hours
|
||||
from the system time. <b>-c0</b> (the default) disables this
|
||||
check. <b>-c1</b> is useful to prevent emulator detection. A
|
||||
client that tries to detect an emulator could simply send
|
||||
two subsequent request with two time stamps that differ more
|
||||
than four hours from each other. If both requests succeed,
|
||||
the server is an emulator. If you specify <b>-c1</b> on a
|
||||
system with no reliable time source, activations will fail.
|
||||
It is ok to set the correct system time after you started
|
||||
vlmcsd.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-M0</b> and <b>-M1</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Disables (<b>-M0</b>) or
|
||||
enables (<b>-M1</b>) maintaining a list of client machine
|
||||
IDs (CMIDs). The default is <b>-M0</b>. <b>-M1</b> is useful
|
||||
to prevent emulator detection. By maintaing a CMID list,
|
||||
vlmcsd reports current active clients exactly like a genuine
|
||||
KMS emulator. This includes bug compatibility to the extent
|
||||
that you can permanently kill a genuine KMS emulator by
|
||||
sending an "overcharge request" with a required
|
||||
client count of 376 or more and then request activation for
|
||||
671 clients. vlmcsd can be reset from this condition by
|
||||
restarting it. If <b>-M0</b> is used, vlmcsd reports current
|
||||
active clients as good as possible. If no client sends an
|
||||
"overcharge request", it is not possible to detect
|
||||
vlmcsd as an emulator with <b>-M0</b>. <b>-M1</b> requires
|
||||
the allocation of a buffer that is about 50 kB in size. On
|
||||
hardware with few memory resources use it only if you really
|
||||
need it.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">If you start
|
||||
vlmcsd from an internet superserver, <b>-M1</b> cannot be
|
||||
used. Since vlmcsd exits after each activation, it cannot
|
||||
maintain any state in memory.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-E0</b> and <b>-E1</b></p>
|
||||
|
||||
<p style="margin-left:22%;">These options are ignored if
|
||||
you do not also specify <b>-M1</b>. If you use <b>-E0</b>
|
||||
(the default), vlmcsd starts up as a fully
|
||||
"charged" KMS server. Clients activate
|
||||
immediately. <b>-E1</b> lets you start up vlmcsd with an
|
||||
empty CMID list. Activation will start when the required
|
||||
minimum clients (25 for Windows Client OSses, 5 for Windows
|
||||
Server OSses and Office) have registered with the KMS
|
||||
server. As long as the minimum client count has not been
|
||||
reached, clients end up in HRESULT 0xC004F038 "The
|
||||
count reported by your Key Management Service (KMS) is
|
||||
insufficient. Please contact your system
|
||||
administrator". You may use <b>vlmcs</b>(1) or another
|
||||
KMS client emulator to "charge" vlmcsd. <b>-E1</b>
|
||||
does not improve emulator detection prevention. It’s
|
||||
primary purpose is to help developers of KMS clients to test
|
||||
"charging" a KMS server.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-R</b>
|
||||
<i>renewal-interval</i></p>
|
||||
|
||||
@ -736,8 +979,8 @@ directory.</p>
|
||||
convenience you can use the special username "/l"
|
||||
as a shortcut for "NT AUTHORITY\LocalService" and
|
||||
"/n" for "NT AUTHORITY\NetworkService".
|
||||
"vlmcsd −s −U /n"
|
||||
installs the service to run as "NT
|
||||
"vlmcsd -s -U /n" installs the
|
||||
service to run as "NT
|
||||
AUTHORITY\NetworkService".</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-W</b> <i>password</i></p>
|
||||
@ -838,7 +1081,7 @@ else would be a severe security flaw in the OS.</p></td></tr>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Signaling is
|
||||
not available in the native Windows version and in the
|
||||
Cygwin version when it runs as Windows service.</p>
|
||||
Cygwin version when vlmcsd runs as a Windows service.</p>
|
||||
|
||||
<h2>SUPPORTED OPERATING SYSTEMS
|
||||
<a name="SUPPORTED OPERATING SYSTEMS"></a>
|
||||
@ -860,11 +1103,11 @@ sources or may require minor porting efforts.</p>
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>
|
||||
can answer activation requests for the following products:
|
||||
Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
||||
(up to 1607), Windows Server 2008, Windows Server 2008 R2,
|
||||
(up to 1703), Windows Server 2008, Windows Server 2008 R2,
|
||||
Windows Server 2012, Windows Server 2012 R2, Windows Server
|
||||
2016, Office 2010, Project 2010, Visio 2010, Office 2013,
|
||||
Project 2013, Visio 2013, Office 2016, Project 2016, Visio
|
||||
2016. Newer version may work as long as the KMS protocol
|
||||
2016. Newer products may work as long as the KMS protocol
|
||||
does not change. A complete list of fully supported products
|
||||
can be obtained using the <b>-x</b> option of
|
||||
<b>vlmcs</b>(1).</p>
|
||||
@ -923,17 +1166,6 @@ C:\logs\vlmcsd.log when the service is started with
|
||||
<p style="margin-left:11%; margin-top: 1em">An ePID
|
||||
specified in an ini file must not contain spaces.</p>
|
||||
|
||||
<h2>INTENTIONAL BUGS
|
||||
<a name="INTENTIONAL BUGS"></a>
|
||||
</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcsd
|
||||
activates non-VL (retail) and beta/preview versions of
|
||||
Windows. <br>
|
||||
vlmcsd always reports enough active clients to satisfy the N
|
||||
count policy of the request.</p>
|
||||
|
||||
<h2>AUTHOR
|
||||
<a name="AUTHOR"></a>
|
||||
</h2>
|
||||
|
BIN
man/vlmcsd.8.pdf
BIN
man/vlmcsd.8.pdf
Binary file not shown.
@ -33,18 +33,33 @@ DESCRIPTION
|
||||
xinetd(8) as well as an advanced init system like systemd(8) or
|
||||
launchd(8) using socket based activation. If vlmcsd detects that
|
||||
stdin(3) is a socket, it assumes that there is already a connected
|
||||
client on stdin that wants to be activated. All options that control
|
||||
setting up listening sockets will be ignored when in inetd mode.
|
||||
client on stdin that wants to be activated.
|
||||
|
||||
All options that control setting up listening sockets will be ignored
|
||||
when in inetd mode. The sockets will be set up by your internet super-
|
||||
server. You also cannot limit the number of simultanous clients (option
|
||||
-m). You need to configure the limit in your internet superserver.
|
||||
|
||||
The followong features that require that vlmcsd is permanently loaded
|
||||
will not work if started from an internet superserver:
|
||||
|
||||
|
||||
You cannot maintain a client list (option -M1)
|
||||
|
||||
|
||||
EPID Randomization Level 1 (option -r1) works like Level 2
|
||||
(-r2). You may want to use Level 0 (-r0) or custom EPIDs
|
||||
(options -w, -G, -0, -3 and -6) instead.
|
||||
|
||||
|
||||
OPTIONS
|
||||
Since vlmcsd can be configured at compile time, some options may not be
|
||||
available on your system.
|
||||
|
||||
All options that do no require an argument may be combined with a sin‐
|
||||
All options that do no require an argument may be combined with a sin-
|
||||
gle dash, for instance "vlmcsd -D -e" is identical to "vlmcsd -De". For
|
||||
all options that require an argument a space between the option and the
|
||||
option argument is optional. Thus "vlmcsd -r 2" and "vlmcsd -r2" are
|
||||
option argument is optional. Thus "vlmcsd -r 2" and "vlmcsd -r2" are
|
||||
identical too.
|
||||
|
||||
|
||||
@ -52,111 +67,203 @@ OPTIONS
|
||||
Displays help.
|
||||
|
||||
|
||||
-V Displays extended version information. This includes the com‐
|
||||
piler used to build vlmcsd, the intended platform and flags
|
||||
(compile time options) to build vlmcsd. If you have the source
|
||||
-V Displays extended version information. This includes the com-
|
||||
piler used to build vlmcsd, the intended platform and flags
|
||||
(compile time options) to build vlmcsd. If you have the source
|
||||
code of vlmcsd, you can type make help (or gmake help on systems
|
||||
that do not use the GNU version of make(1) by default) to see
|
||||
that do not use the GNU version of make(1) by default) to see
|
||||
the meaning of those flags.
|
||||
|
||||
|
||||
-L ipaddress[:port]
|
||||
Instructs vlmcsd to listen on ipaddress with optional port
|
||||
(default 1688). You can use this option more than once. If you
|
||||
Instructs vlmcsd to listen on ipaddress with optional port
|
||||
(default 1688). You can use this option more than once. If you
|
||||
do not specify -L at least once, IP addresses 0.0.0.0 (IPv4) and
|
||||
:: (IPv6) are used. If the IP address contains colons (IPv6) you
|
||||
must enclose the IP address in brackets if you specify the
|
||||
must enclose the IP address in brackets if you specify the
|
||||
optional port, e.g. [2001:db8::dead:beef]:1688.
|
||||
|
||||
If no port is specified, vlmcsd uses the default port according
|
||||
to a preceding -P option. If you specify a port, it can be a
|
||||
number (1-65535) or a name (usually found in /etc/services if
|
||||
If no port is specified, vlmcsd uses the default port according
|
||||
to a preceding -P option. If you specify a port, it can be a
|
||||
number (1-65535) or a name (usually found in /etc/services if
|
||||
not provided via LDAP, NIS+ or another name service).
|
||||
|
||||
If you specify a link local IPv6 address (fe80::/10, usually
|
||||
If you specify a link local IPv6 address (fe80::/10, usually
|
||||
starting with fe80::), it must be followed by a percent sign (%)
|
||||
and a scope id (=network interface name or number) on most
|
||||
unixoid OSses including Linux, Android, MacOS X and iOS, e.g.
|
||||
and a scope id (=network interface name or number) on most
|
||||
unixoid OSses including Linux, Android, MacOS X and iOS, e.g.
|
||||
fe80::1234:56ff:fe78:9abc%eth0 or
|
||||
[fe80::1234:56ff:fe78:9abc%2]:1688. Windows (including cygwin)
|
||||
does not require a scope id unless the same link local address
|
||||
is used on more than one network interface. Windows does not
|
||||
[fe80::1234:56ff:fe78:9abc%2]:1688. Windows (including cygwin)
|
||||
does not require a scope id unless the same link local address
|
||||
is used on more than one network interface. Windows does not
|
||||
accept a name and the scope id must be a number.
|
||||
|
||||
|
||||
-o level
|
||||
Sets the level of protection against activations from public IP
|
||||
Sets the level of protection against activations from public IP
|
||||
addresses. The default is -o0 for no protection.
|
||||
|
||||
-o1 causes vlmcsd not to listen on all IP addresses but on pri‐
|
||||
vate IP addresses only. IPv4 addresses in the 100.64.0.0/10
|
||||
-o1 causes vlmcsd not to listen on all IP addresses but on pri-
|
||||
vate IP addresses only. IPv4 addresses in the 100.64.0.0/10
|
||||
range (see RFC6598) are not treated as private since they can be
|
||||
reached from other users of your ISP. Private IPv4 addresses are
|
||||
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16 and
|
||||
127.0.0.0/8. vlmcsd treats all IPv6 addresses not within
|
||||
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16 and
|
||||
127.0.0.0/8. vlmcsd treats all IPv6 addresses not within
|
||||
2000::/3 as private addresses.
|
||||
|
||||
If -o1 is combined with -L, it will listen on all private IP
|
||||
addresses plus the ones specified by one or more -L statements.
|
||||
If -o1 is combined with -P, only the last -P statement will be
|
||||
If -o1 is combined with -L, it will listen on all private IP
|
||||
addresses plus the ones specified by one or more -L statements.
|
||||
If -o1 is combined with -P, only the last -P statement will be
|
||||
used.
|
||||
|
||||
Using -o1 does not protect you if you enable NAT port forwarding
|
||||
on your router to your vlmcsd machine. It is identical to using
|
||||
multiple -L statements with all of your private IP addresses.
|
||||
on your router to your vlmcsd machine. It is identical to using
|
||||
multiple -L statements with all of your private IP addresses.
|
||||
What -o1 does for you, is automatically enumerating your private
|
||||
IP addresses.
|
||||
|
||||
-o2 does not affect the interfaces, vlmcsd is listening on. When
|
||||
a clients connects, vlmcsd immediately drops the connection if
|
||||
the client has a public IP address. Unlike -o1 clients will be
|
||||
a clients connects, vlmcsd immediately drops the connection if
|
||||
the client has a public IP address. Unlike -o1 clients will be
|
||||
able to establish a TCP connection but it will be closed without
|
||||
a single byte sent over the connection. This protects against
|
||||
clients with public IP addresses even if NAT port forwarding is
|
||||
used. While -o2 offers a higher level of protection than -o1,
|
||||
the client sees that the KMS TCP port (1688 by default) is actu‐
|
||||
a single byte sent over the connection. This protects against
|
||||
clients with public IP addresses even if NAT port forwarding is
|
||||
used. While -o2 offers a higher level of protection than -o1,
|
||||
the client sees that the KMS TCP port (1688 by default) is actu-
|
||||
ally accepting connections.
|
||||
|
||||
If vlmcsd is compiled to use MS RPC, -o2 can only offer very
|
||||
poor protection. Control is passed from MS RPC to vlmcsd after
|
||||
the KMS protocol has already been negotiated. Thus a client can
|
||||
always verify that the KMS protocol is available even though it
|
||||
If vlmcsd is compiled to use MS RPC, -o2 can only offer very
|
||||
poor protection. Control is passed from MS RPC to vlmcsd after
|
||||
the KMS protocol has already been negotiated. Thus a client can
|
||||
always verify that the KMS protocol is available even though it
|
||||
receives an RPC_S_ACCESS_DENIED error message. vlmcsd will issue
|
||||
a warning if -o2 is used with MS RPC. For adaequate protection
|
||||
a warning if -o2 is used with MS RPC. For adaequate protection
|
||||
do not use a MS RPC build of vlmcsd with -o2.
|
||||
|
||||
-o3 combines -o1 and -o2. vlmcsd listens on private interfaces
|
||||
-o3 combines -o1 and -o2. vlmcsd listens on private interfaces
|
||||
only and if a public client manages to connect anyway due to NAT
|
||||
port forwarding, it will be immediately dropped.
|
||||
|
||||
If you use any form of TCP level port forwarding (e.g. nc(1),
|
||||
netcat(1), ssh(1) port forwarding or similar) to redirect KMS
|
||||
requests to vlmcsd, there will be no protection even if you use
|
||||
-o2 or -o3. This is due to the simple fact that vlmcsd sees the
|
||||
IP address of the redirector and not the IP address of the
|
||||
If you use any form of TCP level port forwarding (e.g. nc(1),
|
||||
netcat(1), ssh(1) port forwarding or similar) to redirect KMS
|
||||
requests to vlmcsd, there will be no protection even if you use
|
||||
-o2 or -o3. This is due to the simple fact that vlmcsd sees the
|
||||
IP address of the redirector and not the IP address of the
|
||||
client.
|
||||
|
||||
-o1 (and thus -o3) is not (yet) available in some scenarios:
|
||||
|
||||
FreeBSD: There is a longtime unfixed bug ⟨https://
|
||||
bugs.freebsd.org/bugzilla/show_bug.cgi?id=178881⟩ in the
|
||||
32-bit ABI of the 64-bit kernel. If you have a 64-bit Free‐
|
||||
BSD kernel, you must run the 64-bit version of vlmcsd if
|
||||
you use -o1 or -o3. The 32-bit version causes undefined
|
||||
behavior up to crashing vlmcsd. Other BSDs (NetBSD, Open‐
|
||||
FreeBSD: There is a longtime unfixed bug <https://
|
||||
bugs.freebsd.org/bugzilla/show_bug.cgi?id=178881> in the
|
||||
32-bit ABI of the 64-bit kernel. If you have a 64-bit Free-
|
||||
BSD kernel, you must run the 64-bit version of vlmcsd if
|
||||
you use -o1 or -o3. The 32-bit version causes undefined
|
||||
behavior up to crashing vlmcsd. Other BSDs (NetBSD, Open-
|
||||
BSD, Dragonfly and Mac OS X) work correctly.
|
||||
|
||||
If vlmcsd was started by an internet superserver or was
|
||||
compiled to use Microsoft RPC (Windows only) or simple
|
||||
If vlmcsd was started by an internet superserver or was
|
||||
compiled to use Microsoft RPC (Windows only) or simple
|
||||
sockets, -o1 and -o3 are not available by design.
|
||||
|
||||
|
||||
-P port
|
||||
Use TCP port for all subsequent -L statements that do not
|
||||
include an optional port. If you use -P and -L, -P must be spec‐
|
||||
Use TCP port for all subsequent -L statements that do not
|
||||
include an optional port. If you use -P and -L, -P must be spec-
|
||||
ified before -L.
|
||||
|
||||
|
||||
-O vpn-adapter-name[=ipv4-address][/cidr-mask][:dhcp-lease-duration]
|
||||
Enables a compatible VPN adapter to create additional local IPv4
|
||||
addresses (like 127.0.0.1) that appear as remote IPv4 addresses
|
||||
to the system. This allows product activation using a local
|
||||
instance of vlmcsd. This feature is only available in Windows
|
||||
and Cygwin builds of vlmcsd since it is not of any use on other
|
||||
operating systems. Compatible VPN adapters are Tap-windows ver-
|
||||
sion 8.2 or higher (from OpenVPN) and the TeamViewer VPN
|
||||
adapter. There are two special vpn-adapter-names. A single
|
||||
period (.) instructs vlmcsd to use the first available compati-
|
||||
ble VPN adapter. A single dash (-) disables the use of a VPN
|
||||
adapter if one has been configured in vlmcsd.ini(5). The vpn-
|
||||
adapter-name is not case-sensitive. If the vpn-adapter-name con-
|
||||
tains spaces (e.g. Ethernet 3), you must enclose it in quotes.
|
||||
|
||||
The default ipv4-address is 10.10.10.9 and the default cidr-mask
|
||||
is 30. If you are using the default values, your VPN adapter
|
||||
uses an IPv4 address of 10.10.10.9 and you can set your activa-
|
||||
tion client to use the easy to remember address 10.10.10.10
|
||||
(e.g. slmgr /skms 10.10.10.10 or cscript ospp.vbs
|
||||
/sethst:10.10.10.10).
|
||||
|
||||
The dhcp-lease-duration is a number optionally followed by s, m,
|
||||
h, d or w to indicate seconds, minutes, hours, days or weeks.
|
||||
The default dhcp-lease-duration is 1d (one day). It is normally
|
||||
not required to change this value.
|
||||
|
||||
It is advised not to manually configure your OpenVPN TAP or
|
||||
TeamViewer VPN adapter in "Network Connections". If you set the
|
||||
IPv4 configuration manually anyway, the IPv4 address and the
|
||||
subnet mask must match the -O parameter. It is safe leave the
|
||||
IPv4 configuration to automatic (DHCP). vlmcsd will wait up to
|
||||
four seconds for the DHCP configuration to complete before bind-
|
||||
ing to and listenin on any interfaces.
|
||||
|
||||
You should be aware that only one program can use a VPN adapter
|
||||
at a time. If you use the TeamViewer VPN adapter for example,
|
||||
you will not be able to use the VPN feature of TeamViewer as
|
||||
long as vlmcsd is running. The same applies to OpenVPN TAP
|
||||
adapters that are in use by other programs (for example OpenVPN,
|
||||
QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid con-
|
||||
flicts is to install Tap-Windows from OpenVPN, cd to C:\Program
|
||||
Files\TAP-Windows\bin and run addtap.bat to install an addi-
|
||||
tional TAP adapter. Go to "Network Connections" and rename the
|
||||
new adapter to "vlmcsd" and specify -O vlmcsd to use it.
|
||||
|
||||
Example: -O "Ethernet 7"=192.168.123.1/24 (uses VPN adapter Eth-
|
||||
ernet 7 with IPv4 address 192.168.123.1 and have 192.168.123.2
|
||||
to 192.168.123.254 as additional local (but apparently remote)
|
||||
IPv4 addresses.
|
||||
|
||||
|
||||
-x0 and -x1
|
||||
Controls under what circumstances vlmcsd will exit. Using the
|
||||
default of -x0 vlmcsd stays active as long as it can perform
|
||||
some useful operations. If vlmcsd is run by any form of a watch-
|
||||
dog, e.g. NT service manager (Windows), systemd (Linux) or
|
||||
launchd (Mac OS / iOS), it may be desirable to end vlmcsd and
|
||||
let the watchdog restart it. This is especially true if some
|
||||
pre-requisites are not yet met but will be some time later, e.g.
|
||||
network is not yet fully setup.
|
||||
|
||||
By using -x0 vlmcsd will
|
||||
|
||||
exit if none of the listening sockets specified with -L can
|
||||
be used. It continues if at least one socket can be setup
|
||||
for listening.
|
||||
|
||||
exit any TAP mirror thread (Windows version only) if there
|
||||
is an error condition while reading or writing from or to
|
||||
the VPN adapter but continue to work without utilizing a
|
||||
VPN adapter.
|
||||
|
||||
By using -x1 vlmcsd will
|
||||
|
||||
exit if not all listening sockets specified with -L can be
|
||||
used.
|
||||
|
||||
exit completely if there is a problem with a VPN adapter it
|
||||
is using. This can happen for instance if the VPN adapter
|
||||
has been disabled using "Control Panel - Network - Adapter
|
||||
Settings" while vlmcsd is using it.
|
||||
|
||||
|
||||
Please note that -x1 is kind of a workaround option. While it
|
||||
may help under some circumstances, it is better to solve the
|
||||
problem at its origin, e.g. properly implementing dependencies
|
||||
in your startup script to ensure all network interfaces and the
|
||||
VPN adapter you will use are completely setup before you start
|
||||
vlmcsd.
|
||||
|
||||
|
||||
-F0 and -F1
|
||||
Allow (-F1) or disallow (-F0) binding to IP addresses that are
|
||||
currently not configured on your system. The default is -F0. -F1
|
||||
@ -170,12 +277,12 @@ OPTIONS
|
||||
|
||||
|
||||
-t seconds
|
||||
Timeout the TCP connection with the client after seconds sec‐
|
||||
Timeout the TCP connection with the client after seconds sec-
|
||||
onds. After sending an activation request. RPC keeps the TCP
|
||||
connection for a while. The default is 30 seconds. You may spec‐
|
||||
connection for a while. The default is 30 seconds. You may spec-
|
||||
ify a shorter period to free ressources on your device faster.
|
||||
This is useful for devices with limited main memory or if you
|
||||
used -m to limit the concurrent clients that may request activa‐
|
||||
used -m to limit the concurrent clients that may request activa-
|
||||
tion. Microsoft RPC clients disconnect after 30 seconds by
|
||||
default. Setting seconds to a greater value does not make much
|
||||
sense.
|
||||
@ -186,7 +293,7 @@ OPTIONS
|
||||
This is useful for devices with limited ressources or if you are
|
||||
experiencing DoS attacks that spawn thousands of threads or
|
||||
forked processes. If additional clients connect to vlmcsd, they
|
||||
need to wait until another client disconnects. If you set con‐
|
||||
need to wait until another client disconnects. If you set con-
|
||||
current-clients to a small value ( <10 ), you should also select
|
||||
a reasonable timeout of 2 or 3 seconds with -t. The default is
|
||||
no limit.
|
||||
@ -210,7 +317,7 @@ OPTIONS
|
||||
Disables (-N0) or enables (-N1) the use of the NDR64 transfer
|
||||
syntax in the RPC protocol. Unlike Microsoft vlmcsd supports
|
||||
NDR64 on 32-bit operating systems. Microsoft introduced NDR64 in
|
||||
Windows Vista but their KMS servers started using it with Win‐
|
||||
Windows Vista but their KMS servers started using it with Win-
|
||||
dows 8. Thus if you choose random ePIDs, vlmcsd will select
|
||||
ePIDs with build numbers 9200 and 9600 if you enable NDR64 and
|
||||
build numbers 6002 and 7601 if you disable NDR64. The default is
|
||||
@ -219,10 +326,10 @@ OPTIONS
|
||||
|
||||
-B0 and -B1
|
||||
Disables (-B0) or enables (-B1) bind time feature negotiation
|
||||
(BTFN) in the RPC protocol. All Windows operating systems start‐
|
||||
ing with Vista support BTFN and try to negotiate it when initi‐
|
||||
(BTFN) in the RPC protocol. All Windows operating systems start-
|
||||
ing with Vista support BTFN and try to negotiate it when initi-
|
||||
ating an RPC connection. Thus consider turning it off as a debug
|
||||
/ troubleshooting feature only. Some older firewalls that selec‐
|
||||
/ troubleshooting feature only. Some older firewalls that selec-
|
||||
tively block or redirect RPC traffic may get confused when they
|
||||
detect NDR64 or BTFN.
|
||||
|
||||
@ -236,7 +343,7 @@ OPTIONS
|
||||
|
||||
If you use the special filename "syslog", vlmcsd uses syslog(3)
|
||||
for logging. If your system has no syslog service (/dev/log)
|
||||
installed, logging output will go to /dev/console. Syslog log‐
|
||||
installed, logging output will go to /dev/console. Syslog log-
|
||||
ging is not available in the native Windows version. The Cygwin
|
||||
version does support syslog logging.
|
||||
|
||||
@ -244,7 +351,7 @@ OPTIONS
|
||||
-T0 and -T1
|
||||
Disable (-T0) or enable (-T1) the inclusion of date and time in
|
||||
each line of the log. The default is -T1. -T0 is useful if you
|
||||
log to stdout(3) which is redirected to another logging mecha‐
|
||||
log to stdout(3) which is redirected to another logging mecha-
|
||||
nism that already includes date and time in its output, for
|
||||
instance systemd-journald(8). If you log to syslog(3), -T1 is
|
||||
ignored and date and time will never be included in the output
|
||||
@ -269,15 +376,15 @@ OPTIONS
|
||||
-v Use verbose logging. Logs every parameter of the base request
|
||||
and the base response. It also logs the HWID of the KMS server
|
||||
if KMS protocol version 6 is used. This option is mainly for
|
||||
debugging purposes. It only has an effect if some form of log‐
|
||||
debugging purposes. It only has an effect if some form of log-
|
||||
ging is used. Thus -v does not make sense if not used with -l,
|
||||
-e or -f.
|
||||
|
||||
|
||||
-q Do not use verbose logging. This is actually the default behav‐
|
||||
-q Do not use verbose logging. This is actually the default behav-
|
||||
ior. It only makes sense if you use vlmcsd with an ini file (see
|
||||
-i and vlmcsd.ini(5)). If the ini file contains the line
|
||||
"LogVerbose = true" you can use -q to restore the default behav‐
|
||||
"LogVerbose = true" you can use -q to restore the default behav-
|
||||
ior.
|
||||
|
||||
|
||||
@ -327,6 +434,12 @@ OPTIONS
|
||||
specified, -r is disregarded for Office 2016.
|
||||
|
||||
|
||||
-G ePID
|
||||
Use ePID as Windows China Government ePID. If specified, -r is
|
||||
disregarded for Windows China Government Editions (Enterprise
|
||||
G/GN).
|
||||
|
||||
|
||||
-H HwId
|
||||
Use HwId for all products. All HWIDs in the ini file (see -i)
|
||||
will not be used. In an ini file you can specify a seperate HWID
|
||||
@ -344,7 +457,7 @@ OPTIONS
|
||||
|
||||
|
||||
-i filename
|
||||
Use configuration file (aka ini file) filename. Most configura‐
|
||||
Use configuration file (aka ini file) filename. Most configura-
|
||||
tion parameters can be set either via the command line or an ini
|
||||
file. The command line always has precedence over configuration
|
||||
items in the ini file. See vlmcsd.ini(5) for the format of the
|
||||
@ -355,6 +468,18 @@ OPTIONS
|
||||
configuration file.
|
||||
|
||||
|
||||
-j filename
|
||||
Use KMS data file filename. By default vlmcsd only contains the
|
||||
minimum product data that is required to perform all operations
|
||||
correctly. You may use a more complete KMS data file that con-
|
||||
tains all detailed product names. This is especially useful if
|
||||
you are logging KMS requests. If you don't log, there is no need
|
||||
to load an external KMS data file.
|
||||
|
||||
If vlmcsd has been compiled to use a default KMS data file, you
|
||||
may use -j- to ignore the default configuration file.
|
||||
|
||||
|
||||
-r0, -r1 (default) and -r2
|
||||
These options determine how ePIDs are generated if
|
||||
|
||||
@ -387,8 +512,8 @@ OPTIONS
|
||||
more than one activation request over the same TCP connection.
|
||||
This is simply due to the fact that vlmcsd is started upon a
|
||||
connection request and does not stay in memory after servicing a
|
||||
KMS request. Consider using -r0 or -w, -0, -3 and -6 when start‐
|
||||
ing vlmcsd by an internet superserver.
|
||||
KMS request. Consider using -r0 or -w, -G, -0, -3 and -6 when
|
||||
starting vlmcsd by an internet superserver.
|
||||
|
||||
-r2 behaves like most other KMS server emulators with random
|
||||
support and generates a new random ePID on every request. -r2
|
||||
@ -407,18 +532,90 @@ OPTIONS
|
||||
by .NET Framework 4.0. This may lead to a locale id which is
|
||||
unlikely to occur in your country, for instance 2155 for "Quecha
|
||||
- Ecuador". You may want to select the locale id of your country
|
||||
instead. See MSDN ⟨http://msdn.microsoft.com/en-us/goglobal/
|
||||
bb964664.aspx⟩ for a list of valid LCIDs. Please note that some
|
||||
instead. See MSDN <http://msdn.microsoft.com/en-us/goglobal/
|
||||
bb964664.aspx> for a list of valid LCIDs. Please note that some
|
||||
of them are not recognized by .NET Framework 4.0.
|
||||
|
||||
Most other KMS emulators use a fixed LCID of 1033 (English -
|
||||
US). To achive the same behavior in vlmcsd use -C 1033.
|
||||
|
||||
|
||||
-K0, -K1, -K2 and -K3
|
||||
Sets the whitelisting level to determine which products vlmcsd
|
||||
activates or refuses. The default is -K0.
|
||||
|
||||
-K0: activate all products with an unknown, retail or
|
||||
beta/preview KMS ID.
|
||||
-K1: activate products with a retail or beta/preview KMS ID
|
||||
but refuse to activate products with an unknown KMS ID.
|
||||
-K2: activate products with an unknown KMS ID but refuse
|
||||
products with a retail or beta/preview KMS ID.
|
||||
-K3: activate only products with a known volume license RTM
|
||||
KMS ID and refuse all others.
|
||||
|
||||
|
||||
The SKU ID is not checked. Like a genuine KMS server vlmcsd
|
||||
activates a product that has a random or unknown SKU ID. If you
|
||||
select -K1 or -K3, vlmcsd also checks the Application ID for
|
||||
correctness. If Microsoft introduces a new KMS ID for a new
|
||||
product, you cannot activate it if you used -K1 or -K3 until a
|
||||
new version of vlmcsd is available.
|
||||
|
||||
|
||||
-c0 and -c1
|
||||
-c1 causes vlmcsd to check if the client time differs no more
|
||||
than four hours from the system time. -c0 (the default) disables
|
||||
this check. -c1 is useful to prevent emulator detection. A
|
||||
client that tries to detect an emulator could simply send two
|
||||
subsequent request with two time stamps that differ more than
|
||||
four hours from each other. If both requests succeed, the server
|
||||
is an emulator. If you specify -c1 on a system with no reliable
|
||||
time source, activations will fail. It is ok to set the correct
|
||||
system time after you started vlmcsd.
|
||||
|
||||
|
||||
-M0 and -M1
|
||||
Disables (-M0) or enables (-M1) maintaining a list of client
|
||||
machine IDs (CMIDs). The default is -M0. -M1 is useful to pre-
|
||||
vent emulator detection. By maintaing a CMID list, vlmcsd
|
||||
reports current active clients exactly like a genuine KMS emula-
|
||||
tor. This includes bug compatibility to the extent that you can
|
||||
permanently kill a genuine KMS emulator by sending an "over-
|
||||
charge request" with a required client count of 376 or more and
|
||||
then request activation for 671 clients. vlmcsd can be reset
|
||||
from this condition by restarting it. If -M0 is used, vlmcsd
|
||||
reports current active clients as good as possible. If no client
|
||||
sends an "overcharge request", it is not possible to detect vlm-
|
||||
csd as an emulator with -M0. -M1 requires the allocation of a
|
||||
buffer that is about 50 kB in size. On hardware with few memory
|
||||
resources use it only if you really need it.
|
||||
|
||||
If you start vlmcsd from an internet superserver, -M1 cannot be
|
||||
used. Since vlmcsd exits after each activation, it cannot main-
|
||||
tain any state in memory.
|
||||
|
||||
|
||||
-E0 and -E1
|
||||
These options are ignored if you do not also specify -M1. If you
|
||||
use -E0 (the default), vlmcsd starts up as a fully "charged" KMS
|
||||
server. Clients activate immediately. -E1 lets you start up vlm-
|
||||
csd with an empty CMID list. Activation will start when the
|
||||
required minimum clients (25 for Windows Client OSses, 5 for
|
||||
Windows Server OSses and Office) have registered with the KMS
|
||||
server. As long as the minimum client count has not been
|
||||
reached, clients end up in HRESULT 0xC004F038 "The count
|
||||
reported by your Key Management Service (KMS) is insufficient.
|
||||
Please contact your system administrator". You may use vlmcs(1)
|
||||
or another KMS client emulator to "charge" vlmcsd. -E1 does not
|
||||
improve emulator detection prevention. It's primary purpose is
|
||||
to help developers of KMS clients to test "charging" a KMS
|
||||
server.
|
||||
|
||||
|
||||
-R renewal-interval
|
||||
Instructs clients to renew activation every renewal-interval.
|
||||
The renewal-interval is a number optionally immediately followed
|
||||
by a letter indicating the unit. Valid unit letters are s (sec‐
|
||||
by a letter indicating the unit. Valid unit letters are s (sec-
|
||||
onds), m (minutes), h (hours), d (days) and w (weeks). If you do
|
||||
not specify a letter, minutes is assumed.
|
||||
|
||||
@ -432,14 +629,14 @@ OPTIONS
|
||||
before your activation expires (usually 180 days).
|
||||
|
||||
Even though you can specify seconds, the granularity of this
|
||||
option is 1 minute. Seconds are rounded down to the next multi‐
|
||||
option is 1 minute. Seconds are rounded down to the next multi-
|
||||
ple of 60.
|
||||
|
||||
|
||||
-A activation-interval
|
||||
Instructs clients to retry activation every activation-interval
|
||||
if it was unsuccessful, e.g. because it could not reach the
|
||||
server. The default is 120 (identical to 2h). activation-inter‐
|
||||
server. The default is 120 (identical to 2h). activation-inter-
|
||||
val follows the same syntax as renewal-interval in the -R
|
||||
option.
|
||||
|
||||
@ -448,7 +645,7 @@ OPTIONS
|
||||
with the native Windows version and Cygwin. Combine -s with
|
||||
other command line options. These will be in effect when you
|
||||
start the service. The service automatically starts when you
|
||||
reboot your machine. To start it manually, type "net start vlm‐
|
||||
reboot your machine. To start it manually, type "net start vlm-
|
||||
csd".
|
||||
|
||||
If you use Cygwin, you must include your Cygwin system DLL
|
||||
@ -465,35 +662,35 @@ OPTIONS
|
||||
on your system.
|
||||
|
||||
|
||||
-S Uninstalls the vlmcsd service. Works only with the native Win‐
|
||||
-S Uninstalls the vlmcsd service. Works only with the native Win-
|
||||
dows version and Cygwin. All other options will be ignored if
|
||||
you include -S in the command line.
|
||||
|
||||
|
||||
-U [domain\]username
|
||||
Can only be used together with -s. Starts the service as a dif‐
|
||||
Can only be used together with -s. Starts the service as a dif-
|
||||
ferent user than the local SYSTEM account. This is used to run
|
||||
the service under an account with low privileges. If you omit
|
||||
the domain, an account from the local computer will be used.
|
||||
|
||||
You may use "NT AUTHORITY\NetworkService". This is a pseudo user
|
||||
with low privileges. You may also use "NT AUTHORITY\LocalSer‐
|
||||
vice" which has more privileges but these are of no use for run‐
|
||||
with low privileges. You may also use "NT AUTHORITY\LocalSer-
|
||||
vice" which has more privileges but these are of no use for run-
|
||||
ning vlmcsd.
|
||||
|
||||
Make sure that the user you specify has at least execute permis‐
|
||||
Make sure that the user you specify has at least execute permis-
|
||||
sion for your executable. "NT AUTHORITY\NetworkService" normally
|
||||
has no permission to run binaries from your home directory.
|
||||
|
||||
For your convenience you can use the special username "/l" as a
|
||||
shortcut for "NT AUTHORITY\LocalService" and "/n" for "NT
|
||||
AUTHORITY\NetworkService". "vlmcsd -s -U /n" installs the ser‐
|
||||
AUTHORITY\NetworkService". "vlmcsd -s -U /n" installs the ser-
|
||||
vice to run as "NT AUTHORITY\NetworkService".
|
||||
|
||||
|
||||
-W password
|
||||
Can only be used together with -s. Specifies a password for the
|
||||
corresponding username you use with -U. SYSTEM, "NT AUTHOR‐
|
||||
corresponding username you use with -U. SYSTEM, "NT AUTHOR-
|
||||
ITY\NetworkService", "NT AUTHORITY\LocalService" do not require
|
||||
a password.
|
||||
|
||||
@ -507,7 +704,7 @@ SIGNALS
|
||||
|
||||
|
||||
SIGTERM, SIGINT
|
||||
These signals cause vlmcsd to exit gracefully. All global sema‐
|
||||
These signals cause vlmcsd to exit gracefully. All global sema-
|
||||
phores and shared memory pages will be released, the pid file
|
||||
will be unlinked (deleted) and a shutdown message will be
|
||||
logged.
|
||||
@ -516,7 +713,7 @@ SIGNALS
|
||||
SIGHUP Causes vlmcsd to be restarted completely. This is useful if you
|
||||
started vlmcsd with an ini file. You can modify the ini file
|
||||
while vlmcsd is running and then sending SIGHUP, e.g. by typing
|
||||
"killall -SIGHUP vlmcsd" or "kill -SIGHUP `cat /var/run/vlm‐
|
||||
"killall -SIGHUP vlmcsd" or "kill -SIGHUP `cat /var/run/vlm-
|
||||
csd.pid`".
|
||||
|
||||
The SIGHUP handler has been implemented relatively simple. It is
|
||||
@ -524,18 +721,18 @@ SIGNALS
|
||||
immediately with the following exceptions:
|
||||
|
||||
|
||||
— The new process does not get a new process id.
|
||||
-- The new process does not get a new process id.
|
||||
|
||||
— If you used a pid file, it is not deleted and recreated
|
||||
-- If you used a pid file, it is not deleted and recreated
|
||||
because the process id stays the same.
|
||||
|
||||
— If you used the 'user' and/or 'group' directive in an ini
|
||||
-- If you used the 'user' and/or 'group' directive in an ini
|
||||
file these are ignored. This is because once you switched to
|
||||
lower privileged users and groups, there is no way back. Any‐
|
||||
lower privileged users and groups, there is no way back. Any-
|
||||
thing else would be a severe security flaw in the OS.
|
||||
|
||||
Signaling is not available in the native Windows version and in the
|
||||
Cygwin version when it runs as Windows service.
|
||||
Cygwin version when vlmcsd runs as a Windows service.
|
||||
|
||||
|
||||
SUPPORTED OPERATING SYSTEMS
|
||||
@ -547,12 +744,12 @@ SUPPORTED OPERATING SYSTEMS
|
||||
|
||||
|
||||
SUPPORTED PRODUCTS
|
||||
vlmcsd can answer activation requests for the following products: Win‐
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 (up to 1607),
|
||||
Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Win‐
|
||||
vlmcsd can answer activation requests for the following products: Win-
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 (up to 1703),
|
||||
Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Win-
|
||||
dows Server 2012 R2, Windows Server 2016, Office 2010, Project 2010,
|
||||
Visio 2010, Office 2013, Project 2013, Visio 2013, Office 2016, Project
|
||||
2016, Visio 2016. Newer version may work as long as the KMS protocol
|
||||
2016, Visio 2016. Newer products may work as long as the KMS protocol
|
||||
does not change. A complete list of fully supported products can be
|
||||
obtained using the -x option of vlmcs(1).
|
||||
|
||||
@ -571,13 +768,13 @@ EXAMPLES
|
||||
|
||||
|
||||
vlmcsd -l /var/log/vlmcsd.log
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm‐
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm-
|
||||
csd.log.
|
||||
|
||||
|
||||
vlmcsd -L 192.168.1.17
|
||||
Starts vlmcsd as a daemon and listens on IP address 192.168.1.17
|
||||
only. This is useful for routers that have a public and a pri‐
|
||||
only. This is useful for routers that have a public and a pri-
|
||||
vate IP address to prevent your KMS server from becoming public.
|
||||
|
||||
|
||||
@ -591,19 +788,13 @@ BUGS
|
||||
An ePID specified in an ini file must not contain spaces.
|
||||
|
||||
|
||||
INTENTIONAL BUGS
|
||||
vlmcsd activates non-VL (retail) and beta/preview versions of Windows.
|
||||
vlmcsd always reports enough active clients to satisfy the N count pol‐
|
||||
icy of the request.
|
||||
|
||||
|
||||
AUTHOR
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
DougQaid.
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati-
|
||||
borus, ...
|
||||
|
||||
|
||||
@ -612,4 +803,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 September 2016 VLMCSD(8)
|
||||
Hotbird64 June 2017 VLMCSD(8)
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VLMCSD.INI 5 "September 2016" "Hotbird64" "KMS Activation Manual"
|
||||
.TH VLMCSD.INI 5 "May 2017" "Hotbird64" "KMS Activation Manual"
|
||||
.LO 8
|
||||
|
||||
.SH NAME
|
||||
@ -66,6 +66,41 @@ Set the level of protection against KMS activations from public IP addresses.
|
||||
|
||||
For details on public IP protection levels see \fBvlmcsd\fR(8) command line option \fB-o\fR.
|
||||
|
||||
.IP "\fBVPN\fR"
|
||||
Has to be in the form \fIvpn-adapter-name\fR[=\fIipv4-address\fR][/\fIcidr-mask\fR][:\fIdhcp-lease-duration\fR].
|
||||
|
||||
Enables a compatible VPN adapter to create additional local IPv4 addresses (like 127.0.0.1) that appear as remote IPv4 addresses to the system. This allows product activation using a local instance of vlmcsd. This feature is only available in Windows and Cygwin builds of vlmcsd since it is not of any use on other operating systems. Compatible VPN adapters are Tap-windows version 8.2 or higher (from OpenVPN) and the TeamViewer VPN adapter. There is a special \fIvpn-adapter-name\fR. A single period (.) instructs vlmcsd to use the first available compatible VPN adapter. The \fIvpn-adapter-name\fR is \fBnot\fR case-sensitive. If the \fIvpn-adapter-name\fR contains spaces (e.g. Ethernet 3), do \fBnot\fR enclose it in quotes.
|
||||
|
||||
The default \fIipv4-address\fR is 10.10.10.9 and the default \fIcidr-mask\fR is 30. If you are using the default values, your VPN adapter uses an IPv4 address of 10.10.10.9 and you can set your activation client to use the easy to remember address 10.10.10.10 (e.g. slmgr /skms 10.10.10.10 or cscript ospp.vbs /sethst:10.10.10.10).
|
||||
|
||||
The \fIdhcp-lease-duration\fR is a number optionally followed by s, m, h, d or w to indicate seconds, minutes, hours, days or weeks. The default \fIdhcp-lease-duration\fR is 1d (one day). It is normally not required to change this value.
|
||||
|
||||
It is advised not to manually configure your OpenVPN TAP or TeamViewer VPN adapter in "Network Connections". If you set the IPv4 configuration manually anyway, the IPv4 address and the subnet mask must match the \fBVPN=\fR directive. It is safe leave the IPv4 configuration to automatic (DHCP). vlmcsd will wait up to four seconds for the DHCP configuration to complete before binding to and listenin on any interfaces.
|
||||
|
||||
You should be aware that only one program can use a VPN adapter at a time. If you use the TeamViewer VPN adapter for example, you will not be able to use the VPN feature of TeamViewer as long as vlmcsd is running. The same applies to OpenVPN TAP adapters that are in use by other programs (for example OpenVPN, QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid conflicts is to install Tap-Windows from OpenVPN, cd to C:\\Program Files\\TAP-Windows\\bin and run addtap.bat to install an additional TAP adapter. Go to "Network Connections" and rename the new adapter to "vlmcsd" and specify \fBVPN=vlmcsd\fR to use it.
|
||||
|
||||
.IP "\fBExitLevel"
|
||||
Can be either 0 (the default) or 1. Controls under what circumstances vlmcsd will exit. Using the default of \fB0\fR vlmcsd stays active as long as it can perform some useful operations. If vlmcsd is run by any form of a watchdog, e.g. NT service manager (Windows), systemd (Linux) or launchd (Mac OS / iOS), it may be desirable to end vlmcsd and let the watchdog restart it. This is especially true if some pre-requisites are not yet met but will be some time later, e.g. network is not yet fully setup.
|
||||
|
||||
By using \fBExitLevel = 0\fR vlmcsd will
|
||||
|
||||
.RS 12
|
||||
exit if none of the listening sockets specified with \fB-L\fR can be used. It continues if at least one socket can be setup for listening.
|
||||
|
||||
exit any TAP mirror thread (Windows version only) if there is an error condition while reading or writing from or to the VPN adapter but continue to work without utilizing a VPN adapter.
|
||||
.RE
|
||||
.IP
|
||||
By using \fBExitLevel = 1\fR vlmcsd will
|
||||
|
||||
.RS 12
|
||||
exit if not all listening sockets specified with \fB-L\fR can be used.
|
||||
|
||||
exit completely if there is a problem with a VPN adapter it is using. This may happen for instance if the VPN adapter has been disabled using "Control Panel - Network - Adapter Settings" while vlmcsd is using it.
|
||||
|
||||
.RE
|
||||
.IP
|
||||
Please note that \fBExitLevel = 1\fR is kind of a workaround option. While it may help under some circumstances, it is better to solve the problem at its origin, e.g. properly implementing dependencies in your startup script to ensure all network interfaces and the VPN adapter you will use are completely setup before you start vlmcsd.
|
||||
|
||||
.IP "\fBUseNDR64\fR"
|
||||
Can be TRUE or FALSE. Specifies whether you want to use the NDR64 transfer syntax. See options \fB-n0\fR and \fB-n1\fR in \fBvlmcsd\fR(8). The default is TRUE.
|
||||
|
||||
@ -93,14 +128,46 @@ Write a pid file. The \fIargument\fR is the full pathname of a pid file. The pid
|
||||
.IP "\fBLogFile\fR"
|
||||
Write a log file. The \fIargument\fR is the full pathname of a log file. On a unixoid OS and with Cygwin you can use the special filename 'syslog' to log to the syslog facility. This is the same as specifying \fB-l\fR on the command line.
|
||||
|
||||
.IP "\fBKmsData\fR"
|
||||
Use a KMS data file. The \fIargument\fR is the full pathname of a KMS data file. By default vlmcsd only contains the minimum product data that is required to perform all operations correctly. You may use a more complete KMS data file that contains all detailed product names. This is especially useful if you are logging KMS requests. If you don't log, there is no need to load an external KMS data file.
|
||||
|
||||
You may use \fBKmsData\ =\ \-\fR to prevent the default KMS data file to be loaded.
|
||||
|
||||
.IP "\fBLogDateAndTime\fR"
|
||||
Can be TRUE or FALSE. The default is TRUE. If set to FALSE, logging output does not include date and time. This is useful if you log to \fBstdout\fR(3) which is redirected to another logging mechanism that already includes date and time in its output, for instance \fBsystemd-journald\fR(8). If you log to \fBsyslog\fR(3), \fBLogDateAndTime\fR is ignored and date and time will never be included in the output sent to \fBsyslog\fR(3). Using the command line you control this setting with options \fB-T0\fR and \fB-T1\fR.
|
||||
|
||||
.IP "\fBLogVerbose\fR"
|
||||
Set this to either TRUE or FALSE. The default is FALSE. If set to TRUE, more details of each activation will be logged. You use \fB-v\fR and \fB-q\fR in the command line to control this setting. \fBLogVerbose\fR has an effect only if you specify a log file or redirect logging to \fBstdout\fR(3).
|
||||
|
||||
.IP "\fBWhitelistingLevel\fR"
|
||||
Can be 0, 1, 2 or 3. The default is 0. Sets the whitelisting level to determine which products vlmcsd activates or refuses.
|
||||
|
||||
.RS 12
|
||||
\fB0\fR: activate all products with an unknown, retail or beta/preview KMS ID.
|
||||
.br
|
||||
\fB1\fR: activate products with a retail or beta/preview KMS ID but refuse to activate products with an unknown KMS ID.
|
||||
.br
|
||||
\fB2\fR: activate products with an unknown KMS ID but refuse products with a retail or beta/preview KMS ID.
|
||||
.br
|
||||
\fB3\fR: activate only products with a known volume license RTM KMS ID and refuse all others.
|
||||
.RE
|
||||
|
||||
.IP ""
|
||||
The SKU ID is not checked. Like a genuine KMS server vlmcsd activates a product that has a random or unknown SKU ID. If you select \fB1\fR or \fB3\fR, vlmcsd also checks the Application ID for correctness. If Microsoft introduces a new KMS ID for a new product, you cannot activate it if you used \fB1\fR or \fB3\fR until a new version of vlmcsd is available.
|
||||
|
||||
.IP "\fBCheckClientTime\fR"
|
||||
Can be TRUE or FALSE. The default is FALSE. If you set this to TRUE \fBvlmcsd\fR(8) checks if the client time differs no more than four hours from the system time. This is useful to prevent emulator detection. A client that tries to detect an emulator could simply send two subsequent request with two time stamps that differ more than four hours from each other. If both requests succeed, the server is an emulator. If you set this to TRUE on a system with no reliable time source, activations will fail. It is ok to set the correct system time after you started \fBvlmcsd\fR(8).
|
||||
|
||||
.IP "\fBMaintainClients\fR"
|
||||
Can be TRUE or FALSE (the default). Disables (FALSE) or enables (TRUE) maintaining a list of client machine IDs (CMIDs). TRUE is useful to prevent emulator detection. By maintaing a CMID list, \fBvlmcsd\fR(8) reports current active clients exactly like a genuine KMS emulator. This includes bug compatibility to the extent that you can permanently kill a genuine KMS emulator by sending an "overcharge request" with a required client count of 376 or more and then request activation for 671 clients. \fBvlmcsd\fR(8) can be reset from this condition by restarting it. If FALSE is used, \fBvlmcsd\fR(8) reports current active clients as good as possible. If no client sends an "overcharge request", it is not possible to detect \fBvlmcsd\fR(8) as an emulator with \fBMaintainClients\fR\~=\~FALSE. Maintaining clients requires the allocation of a buffer that is about 50 kB in size. On hardware with few memory resources use it only if you really need it.
|
||||
|
||||
If you start \fBvlmcsd\fR(8) from an internet superserver, this setting cannot be used. Since \fBvlmcsd\fR(8) exits after each activation, it cannot maintain any state in memory.
|
||||
|
||||
.IP "\fBStartEmpty\fR"
|
||||
This setting is ignored if you do not also specify \fBMaintainClients\fR\~=\~TRUE. If you specify FALSE (the default), \fBvlmcsd\fR(8) starts up as a fully "charged" KMS server. Clients activate immediately. \fBStartEmpty\fR\~=\~TRUE lets you start up \fBvlmcsd\fR(8) with an empty CMID list. Activation will start when the required minimum clients (25 for Windows Client OSses, 5 for Windows Server OSses and Office) have registered with the KMS server. As long as the minimum client count has not been reached, clients end up in HRESULT 0xC004F038 "The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator". You may use \fBvlmcs\fR(1) or another KMS client emulator to "charge" \fBvlmcsd\fR(8). Setting this parameter to TRUE does not improve emulator detection prevention. It's primary purpose is to help developers of KMS clients to test "charging" a KMS server.
|
||||
|
||||
.IP "\fBActivationInterval\fR"
|
||||
This is the same as specifying \fB-A\fR on the command line. See \fBvlmcsd\fR(8) for details. The default is 2 hours. Example: ActivationInterval = 1h
|
||||
This is the same as specifying \fB-A\fR on the command line. See \fBvlmcsd\fR(8) for details. The default is 2 hours. Example: ActivationInterval\~=\~1h
|
||||
|
||||
.IP "\fBRenewalInterval\fR"
|
||||
This is the same as specifying \fB-R\fR on the command line. See \fBvlmcsd\fR(8) for details. The default is 7 days. Example: RenewalInterval = 3d. Please note that the KMS client decides itself when to renew activation. Even though vlmcsd sends the renewal interval you specify, it is no more than some kind of recommendation to the client. Older KMS clients did follow the recommendation from a KMS server or emulator. Newer clients do not.
|
||||
@ -123,6 +190,9 @@ The \fIargument\fR has the form \fIePID\fR [ / \fIHwId\fR ]. Always use \fIePID\
|
||||
.IP "\fBOffice2016\fR"
|
||||
The \fIargument\fR has the form \fIePID\fR [ / \fIHwId\fR ]. Always use \fIePID\fR and \fIHwId\fR for Office 2016 activations. If specified, \fBRandomizationLevel\fR for Office 2016 activitations will be ignored.
|
||||
|
||||
.IP "\fBWinChinaGov\fR"
|
||||
The \fIargument\fR has the form \fIePID\fR [ / \fIHwId\fR ]. Always use \fIePID\fR and \fIHwId\fR for China Government Editions of Windows (Enterprise G/GN). If specified, \fBRandomizationLevel\fR for Windows China Government activitations will be ignored.
|
||||
|
||||
.SH "VALID EPIDS"
|
||||
The ePID is currently a comment only. You can specify any string up to 63 bytes. In Windows 7 Microsoft has blacklisted few ( < 10 ) ePIDs that were used in KMSv5 versions of the "Ratiborus Virtual Machine". Microsoft has given up on blacklisting when KMS emulators appeared in the wild.
|
||||
|
||||
|
@ -17,7 +17,7 @@ DESCRIPTION
|
||||
option on the vlmcsd command line to use an ini file. There is no
|
||||
default name or default location for the ini file.
|
||||
|
||||
Everything, that can be configured in the ini file, may also be speci‐
|
||||
Everything, that can be configured in the ini file, may also be speci-
|
||||
fied on the command line. Any configuration option specified on the
|
||||
command line takes precedence over the respective configuration line in
|
||||
the ini file.
|
||||
@ -33,16 +33,16 @@ DESCRIPTION
|
||||
Differences between command line and configuration file
|
||||
|
||||
If you specify an illegal option or option argument on the command
|
||||
line, vlmcsd displays help and exits. If you specify an incorrect key‐
|
||||
line, vlmcsd displays help and exits. If you specify an incorrect key-
|
||||
word or argument in the ini file, vlmcsd displays a warning with some
|
||||
information, ignores the respective line and continues. This is inten‐
|
||||
tional and prevents vlmcsd from aborting after a SIGHUP if the configu‐
|
||||
information, ignores the respective line and continues. This is inten-
|
||||
tional and prevents vlmcsd from aborting after a SIGHUP if the configu-
|
||||
ration was modified incorrectly.
|
||||
|
||||
|
||||
SYNTAX
|
||||
vlmcsd.ini is a UTF-8 encoded text file with each line being in the
|
||||
format keyword = argument. The keyword is not case-sensitive. The argu‐
|
||||
format keyword = argument. The keyword is not case-sensitive. The argu-
|
||||
ment is treated literally. It is neither required nor allowed to
|
||||
enclose the argument in any form of quote characters except when quote
|
||||
characters are part of the argument itself. Whitespace characters are
|
||||
@ -54,14 +54,14 @@ SYNTAX
|
||||
|
||||
Lines, that start with '#' or ';' are treated as comments. Empty lines
|
||||
are ignored as well. If a keyword is repeated in another line, vlmcsd
|
||||
will use the argument of the last occurence of the keyword. An excep‐
|
||||
will use the argument of the last occurence of the keyword. An excep-
|
||||
tion to this is the Listen keyword which can be specified multiple
|
||||
times and causes vlmcsd to listen on more than one IP address and/or
|
||||
port.
|
||||
|
||||
Some arguments are binary arguments that need to be either TRUE or
|
||||
FALSE. You can use "Yes", "On" or "1" as an alias for TRUE and "No",
|
||||
"Off" or "0" as an alias for FALSE. Binary arguments are case-insensi‐
|
||||
"Off" or "0" as an alias for FALSE. Binary arguments are case-insensi-
|
||||
tive.
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@ KEYWORDS
|
||||
was compiled):
|
||||
|
||||
|
||||
Listen This defines on what combinations of IP addresses and ports vlm‐
|
||||
Listen This defines on what combinations of IP addresses and ports vlm-
|
||||
csd should listen. Listen can be specified more than once. The
|
||||
argument has the form ipaddress[:port]. If you omit the port,
|
||||
the default port of 1688 is used. If the ipaddress contains
|
||||
@ -80,7 +80,7 @@ KEYWORDS
|
||||
which means listen to all IPv4 and all IPv6 addresses. See the
|
||||
-L option in vlmcsd(8) for more info about the syntax. If you
|
||||
use -L or -P on the command line, all Listen keywords in the ini
|
||||
file will be ignored. The Listen keyword cannot be used if vlm‐
|
||||
file will be ignored. The Listen keyword cannot be used if vlm-
|
||||
csd has been compiled to use Microsoft RPC (Windows and Cygwin
|
||||
only) or simple sockets.
|
||||
|
||||
@ -91,7 +91,7 @@ KEYWORDS
|
||||
Listen = [fe80::1721:12ff:fe81:d36b%eth0]:1688
|
||||
|
||||
|
||||
Port Can only be used if vlmcsd has been compiled to use simple sock‐
|
||||
Port Can only be used if vlmcsd has been compiled to use simple sock-
|
||||
ets or on Windows and Cygwin if vlmcsd(8) has been compiled to
|
||||
use Microsoft RPC. Otherwise you must use Listen instead. Causes
|
||||
vlmcsd to listen on that port instead of 1688.
|
||||
@ -115,7 +115,7 @@ KEYWORDS
|
||||
0 = No protection (default)
|
||||
1 = Listen on private IP addresses only (plus those specified by
|
||||
one or more Listen statements)
|
||||
2 = Disconnect clients with public IP addresses without activat‐
|
||||
2 = Disconnect clients with public IP addresses without activat-
|
||||
ing
|
||||
3 = Combines 1 and 2
|
||||
|
||||
@ -123,6 +123,94 @@ KEYWORDS
|
||||
line option -o.
|
||||
|
||||
|
||||
VPN Has to be in the form vpn-adapter-name[=ipv4-address][/cidr-
|
||||
mask][:dhcp-lease-duration].
|
||||
|
||||
Enables a compatible VPN adapter to create additional local IPv4
|
||||
addresses (like 127.0.0.1) that appear as remote IPv4 addresses
|
||||
to the system. This allows product activation using a local
|
||||
instance of vlmcsd. This feature is only available in Windows
|
||||
and Cygwin builds of vlmcsd since it is not of any use on other
|
||||
operating systems. Compatible VPN adapters are Tap-windows ver-
|
||||
sion 8.2 or higher (from OpenVPN) and the TeamViewer VPN
|
||||
adapter. There is a special vpn-adapter-name. A single period
|
||||
(.) instructs vlmcsd to use the first available compatible VPN
|
||||
adapter. The vpn-adapter-name is not case-sensitive. If the vpn-
|
||||
adapter-name contains spaces (e.g. Ethernet 3), do not enclose
|
||||
it in quotes.
|
||||
|
||||
The default ipv4-address is 10.10.10.9 and the default cidr-mask
|
||||
is 30. If you are using the default values, your VPN adapter
|
||||
uses an IPv4 address of 10.10.10.9 and you can set your activa-
|
||||
tion client to use the easy to remember address 10.10.10.10
|
||||
(e.g. slmgr /skms 10.10.10.10 or cscript ospp.vbs
|
||||
/sethst:10.10.10.10).
|
||||
|
||||
The dhcp-lease-duration is a number optionally followed by s, m,
|
||||
h, d or w to indicate seconds, minutes, hours, days or weeks.
|
||||
The default dhcp-lease-duration is 1d (one day). It is normally
|
||||
not required to change this value.
|
||||
|
||||
It is advised not to manually configure your OpenVPN TAP or
|
||||
TeamViewer VPN adapter in "Network Connections". If you set the
|
||||
IPv4 configuration manually anyway, the IPv4 address and the
|
||||
subnet mask must match the VPN= directive. It is safe leave the
|
||||
IPv4 configuration to automatic (DHCP). vlmcsd will wait up to
|
||||
four seconds for the DHCP configuration to complete before bind-
|
||||
ing to and listenin on any interfaces.
|
||||
|
||||
You should be aware that only one program can use a VPN adapter
|
||||
at a time. If you use the TeamViewer VPN adapter for example,
|
||||
you will not be able to use the VPN feature of TeamViewer as
|
||||
long as vlmcsd is running. The same applies to OpenVPN TAP
|
||||
adapters that are in use by other programs (for example OpenVPN,
|
||||
QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid con-
|
||||
flicts is to install Tap-Windows from OpenVPN, cd to C:\Program
|
||||
Files\TAP-Windows\bin and run addtap.bat to install an addi-
|
||||
tional TAP adapter. Go to "Network Connections" and rename the
|
||||
new adapter to "vlmcsd" and specify VPN=vlmcsd to use it.
|
||||
|
||||
|
||||
ExitLevel
|
||||
Can be either 0 (the default) or 1. Controls under what circum-
|
||||
stances vlmcsd will exit. Using the default of 0 vlmcsd stays
|
||||
active as long as it can perform some useful operations. If vlm-
|
||||
csd is run by any form of a watchdog, e.g. NT service manager
|
||||
(Windows), systemd (Linux) or launchd (Mac OS / iOS), it may be
|
||||
desirable to end vlmcsd and let the watchdog restart it. This is
|
||||
especially true if some pre-requisites are not yet met but will
|
||||
be some time later, e.g. network is not yet fully setup.
|
||||
|
||||
By using ExitLevel = 0 vlmcsd will
|
||||
|
||||
exit if none of the listening sockets specified with -L can
|
||||
be used. It continues if at least one socket can be setup
|
||||
for listening.
|
||||
|
||||
exit any TAP mirror thread (Windows version only) if there
|
||||
is an error condition while reading or writing from or to
|
||||
the VPN adapter but continue to work without utilizing a
|
||||
VPN adapter.
|
||||
|
||||
By using ExitLevel = 1 vlmcsd will
|
||||
|
||||
exit if not all listening sockets specified with -L can be
|
||||
used.
|
||||
|
||||
exit completely if there is a problem with a VPN adapter it
|
||||
is using. This may happen for instance if the VPN adapter
|
||||
has been disabled using "Control Panel - Network - Adapter
|
||||
Settings" while vlmcsd is using it.
|
||||
|
||||
|
||||
Please note that ExitLevel = 1 is kind of a workaround option.
|
||||
While it may help under some circumstances, it is better to
|
||||
solve the problem at its origin, e.g. properly implementing
|
||||
dependencies in your startup script to ensure all network inter-
|
||||
faces and the VPN adapter you will use are completely setup
|
||||
before you start vlmcsd.
|
||||
|
||||
|
||||
UseNDR64
|
||||
Can be TRUE or FALSE. Specifies whether you want to use the
|
||||
NDR64 transfer syntax. See options -n0 and -n1 in vlmcsd(8). The
|
||||
@ -131,12 +219,12 @@ KEYWORDS
|
||||
|
||||
UseBTFN
|
||||
Can be TRUE or FALSE. Specifies whether you want to use bind
|
||||
time feature negotiation in RPC. See options -b0 and -b1 in vlm‐
|
||||
time feature negotiation in RPC. See options -b0 and -b1 in vlm-
|
||||
csd(8). The default is TRUE.
|
||||
|
||||
|
||||
RandomizationLevel
|
||||
The argument must 0, 1 or 2. This specifies the ePID randomiza‐
|
||||
The argument must 0, 1 or 2. This specifies the ePID randomiza-
|
||||
tion level. See options -r0, -r1 and -r2 in vlmcsd(8). The
|
||||
default randomization level is 1. A RandomizationLevel of 2 is
|
||||
not recommended and should be treated as a debugging level.
|
||||
@ -145,14 +233,14 @@ KEYWORDS
|
||||
LCID Use a specific culture id (LCID) even if the ePID is randomized.
|
||||
The argument must be a number between 1 and 32767. While any
|
||||
number in that range is valid, you should use an offcial LCID. A
|
||||
list of assigned LCIDs can be found at http://msdn.micro‐
|
||||
list of assigned LCIDs can be found at http://msdn.micro-
|
||||
soft.com/en-us/goglobal/bb964664.aspx. On the command line you
|
||||
control this setting with option -C.
|
||||
|
||||
|
||||
MaxWorkers
|
||||
The argument specifies the maximum number of worker processes or
|
||||
threads that will be used to serve activation requests concur‐
|
||||
threads that will be used to serve activation requests concur-
|
||||
rently. This is the same as specifying -m on the command line.
|
||||
Minimum is 1. The maximum is platform specific and is at least
|
||||
32767 but is likely to be greater on most systems. The default
|
||||
@ -160,13 +248,13 @@ KEYWORDS
|
||||
|
||||
|
||||
ConnectionTimeout
|
||||
Used to control when the vlmcsd disconnects idle TPC connec‐
|
||||
Used to control when the vlmcsd disconnects idle TPC connec-
|
||||
tions. The default is 30 seconds. This is the same setting as -t
|
||||
on the command line.
|
||||
|
||||
|
||||
DisconnectClientsImmediately
|
||||
Set this to TRUE to disconnect a client after it got an activa‐
|
||||
Set this to TRUE to disconnect a client after it got an activa-
|
||||
tion response regardless whether a timeout has occured or not.
|
||||
The default is FALSE. Setting this to TRUE is non-standard
|
||||
behavior. Use only if you are experiencing DoS or DDoS attacks.
|
||||
@ -189,36 +277,124 @@ KEYWORDS
|
||||
same as specifying -l on the command line.
|
||||
|
||||
|
||||
KmsData
|
||||
Use a KMS data file. The argument is the full pathname of a KMS
|
||||
data file. By default vlmcsd only contains the minimum product
|
||||
data that is required to perform all operations correctly. You
|
||||
may use a more complete KMS data file that contains all detailed
|
||||
product names. This is especially useful if you are logging KMS
|
||||
requests. If you don't log, there is no need to load an external
|
||||
KMS data file.
|
||||
|
||||
You may use KmsData = - to prevent the default KMS data file to
|
||||
be loaded.
|
||||
|
||||
|
||||
LogDateAndTime
|
||||
Can be TRUE or FALSE. The default is TRUE. If set to FALSE, log‐
|
||||
ging output does not include date and time. This is useful if
|
||||
you log to stdout(3) which is redirected to another logging
|
||||
Can be TRUE or FALSE. The default is TRUE. If set to FALSE, log-
|
||||
ging output does not include date and time. This is useful if
|
||||
you log to stdout(3) which is redirected to another logging
|
||||
mechanism that already includes date and time in its output, for
|
||||
instance systemd-journald(8). If you log to syslog(3), LogDate‐
|
||||
AndTime is ignored and date and time will never be included in
|
||||
instance systemd-journald(8). If you log to syslog(3), LogDate-
|
||||
AndTime is ignored and date and time will never be included in
|
||||
the output sent to syslog(3). Using the command line you control
|
||||
this setting with options -T0 and -T1.
|
||||
|
||||
|
||||
LogVerbose
|
||||
Set this to either TRUE or FALSE. The default is FALSE. If set
|
||||
Set this to either TRUE or FALSE. The default is FALSE. If set
|
||||
to TRUE, more details of each activation will be logged. You use
|
||||
-v and -q in the command line to control this setting. LogVer‐
|
||||
bose has an effect only if you specify a log file or redirect
|
||||
-v and -q in the command line to control this setting. LogVer-
|
||||
bose has an effect only if you specify a log file or redirect
|
||||
logging to stdout(3).
|
||||
|
||||
|
||||
WhitelistingLevel
|
||||
Can be 0, 1, 2 or 3. The default is 0. Sets the whitelisting
|
||||
level to determine which products vlmcsd activates or refuses.
|
||||
|
||||
0: activate all products with an unknown, retail or
|
||||
beta/preview KMS ID.
|
||||
1: activate products with a retail or beta/preview KMS ID
|
||||
but refuse to activate products with an unknown KMS ID.
|
||||
2: activate products with an unknown KMS ID but refuse
|
||||
products with a retail or beta/preview KMS ID.
|
||||
3: activate only products with a known volume license RTM
|
||||
KMS ID and refuse all others.
|
||||
|
||||
|
||||
The SKU ID is not checked. Like a genuine KMS server vlmcsd
|
||||
activates a product that has a random or unknown SKU ID. If you
|
||||
select 1 or 3, vlmcsd also checks the Application ID for cor-
|
||||
rectness. If Microsoft introduces a new KMS ID for a new prod-
|
||||
uct, you cannot activate it if you used 1 or 3 until a new ver-
|
||||
sion of vlmcsd is available.
|
||||
|
||||
|
||||
CheckClientTime
|
||||
Can be TRUE or FALSE. The default is FALSE. If you set this to
|
||||
TRUE vlmcsd(8) checks if the client time differs no more than
|
||||
four hours from the system time. This is useful to prevent emu-
|
||||
lator detection. A client that tries to detect an emulator could
|
||||
simply send two subsequent request with two time stamps that
|
||||
differ more than four hours from each other. If both requests
|
||||
succeed, the server is an emulator. If you set this to TRUE on a
|
||||
system with no reliable time source, activations will fail. It
|
||||
is ok to set the correct system time after you started vlm-
|
||||
csd(8).
|
||||
|
||||
|
||||
MaintainClients
|
||||
Can be TRUE or FALSE (the default). Disables (FALSE) or enables
|
||||
(TRUE) maintaining a list of client machine IDs (CMIDs). TRUE is
|
||||
useful to prevent emulator detection. By maintaing a CMID list,
|
||||
vlmcsd(8) reports current active clients exactly like a genuine
|
||||
KMS emulator. This includes bug compatibility to the extent that
|
||||
you can permanently kill a genuine KMS emulator by sending an
|
||||
"overcharge request" with a required client count of 376 or more
|
||||
and then request activation for 671 clients. vlmcsd(8) can be
|
||||
reset from this condition by restarting it. If FALSE is used,
|
||||
vlmcsd(8) reports current active clients as good as possible. If
|
||||
no client sends an "overcharge request", it is not possible to
|
||||
detect vlmcsd(8) as an emulator with MaintainClients = FALSE.
|
||||
Maintaining clients requires the allocation of a buffer that is
|
||||
about 50 kB in size. On hardware with few memory resources use
|
||||
it only if you really need it.
|
||||
|
||||
If you start vlmcsd(8) from an internet superserver, this set-
|
||||
ting cannot be used. Since vlmcsd(8) exits after each activa-
|
||||
tion, it cannot maintain any state in memory.
|
||||
|
||||
|
||||
StartEmpty
|
||||
This setting is ignored if you do not also specify Maintain-
|
||||
Clients = TRUE. If you specify FALSE (the default), vlmcsd(8)
|
||||
starts up as a fully "charged" KMS server. Clients activate
|
||||
immediately. StartEmpty = TRUE lets you start up vlmcsd(8) with
|
||||
an empty CMID list. Activation will start when the required min-
|
||||
imum clients (25 for Windows Client OSses, 5 for Windows Server
|
||||
OSses and Office) have registered with the KMS server. As long
|
||||
as the minimum client count has not been reached, clients end up
|
||||
in HRESULT 0xC004F038 "The count reported by your Key Management
|
||||
Service (KMS) is insufficient. Please contact your system admin-
|
||||
istrator". You may use vlmcs(1) or another KMS client emulator
|
||||
to "charge" vlmcsd(8). Setting this parameter to TRUE does not
|
||||
improve emulator detection prevention. It's primary purpose is
|
||||
to help developers of KMS clients to test "charging" a KMS
|
||||
server.
|
||||
|
||||
|
||||
ActivationInterval
|
||||
This is the same as specifying -A on the command line. See vlm‐
|
||||
csd(8) for details. The default is 2 hours. Example: Activation‐
|
||||
This is the same as specifying -A on the command line. See vlm-
|
||||
csd(8) for details. The default is 2 hours. Example: Activation-
|
||||
Interval = 1h
|
||||
|
||||
|
||||
RenewalInterval
|
||||
This is the same as specifying -R on the command line. See vlm‐
|
||||
csd(8) for details. The default is 7 days. Example: RenewalIn‐
|
||||
This is the same as specifying -R on the command line. See vlm-
|
||||
csd(8) for details. The default is 7 days. Example: RenewalIn-
|
||||
terval = 3d. Please note that the KMS client decides itself when
|
||||
to renew activation. Even though vlmcsd sends the renewal inter‐
|
||||
to renew activation. Even though vlmcsd sends the renewal inter-
|
||||
val you specify, it is no more than some kind of recommendation
|
||||
to the client. Older KMS clients did follow the recommendation
|
||||
from a KMS server or emulator. Newer clients do not.
|
||||
@ -238,9 +414,9 @@ KEYWORDS
|
||||
Group Run vlmcsd as another, preferrably less privileged, group. The
|
||||
argument can be a group name or a numeric group id. You must
|
||||
have the required privileges (capabilities on Linux) to change
|
||||
the security context of a process without providing any creden‐
|
||||
the security context of a process without providing any creden-
|
||||
tials (a password in most cases). On most unixoid OSses 'root'
|
||||
is the only user who has these privileges in the default config‐
|
||||
is the only user who has these privileges in the default config-
|
||||
uration. This setting is not available in the native Windows
|
||||
version of vlmcsd. See -g in vlmcsd(8). This setting cannot be
|
||||
changed on the fly by sending SIGHUP to vlmcsd.
|
||||
@ -254,42 +430,49 @@ KEYWORDS
|
||||
|
||||
Office2010
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for Office 2010 activations. If specified, Randomization‐
|
||||
HwId for Office 2010 activations. If specified, Randomization-
|
||||
Level for Office 2010 activitations will be ignored.
|
||||
|
||||
|
||||
Office2013
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for Office 2013 activations. If specified, Randomization‐
|
||||
HwId for Office 2013 activations. If specified, Randomization-
|
||||
Level for Office 2013 activitations will be ignored.
|
||||
|
||||
|
||||
Office2016
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for Office 2016 activations. If specified, Randomization‐
|
||||
HwId for Office 2016 activations. If specified, Randomization-
|
||||
Level for Office 2016 activitations will be ignored.
|
||||
|
||||
|
||||
WinChinaGov
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for China Government Editions of Windows (Enterprise G/GN).
|
||||
If specified, RandomizationLevel for Windows China Government
|
||||
activitations will be ignored.
|
||||
|
||||
|
||||
VALID EPIDS
|
||||
The ePID is currently a comment only. You can specify any string up to
|
||||
63 bytes. In Windows 7 Microsoft has blacklisted few ( < 10 ) ePIDs
|
||||
that were used in KMSv5 versions of the "Ratiborus Virtual Machine".
|
||||
Microsoft has given up on blacklisting when KMS emulators appeared in
|
||||
The ePID is currently a comment only. You can specify any string up to
|
||||
63 bytes. In Windows 7 Microsoft has blacklisted few ( < 10 ) ePIDs
|
||||
that were used in KMSv5 versions of the "Ratiborus Virtual Machine".
|
||||
Microsoft has given up on blacklisting when KMS emulators appeared in
|
||||
the wild.
|
||||
|
||||
Even if you can use "Activated by cool hacker guys" as an ePID, you may
|
||||
wish to use ePIDs that cannot be detected as non-MS ePIDs. If you don't
|
||||
know how these "valid" ePIDs look like exactly, do not use GUIDS in
|
||||
vlmcsd.ini. vlmcsd provides internal mechanisms to generate valid
|
||||
know how these "valid" ePIDs look like exactly, do not use GUIDS in
|
||||
vlmcsd.ini. vlmcsd provides internal mechanisms to generate valid
|
||||
ePIDs.
|
||||
|
||||
If you use non-ASCII characters in your ePID (you shouldn't do anyway),
|
||||
these must be in UTF-8 format. This is especially important when you
|
||||
run vlmcsd on Windows or cygwin because UTF-8 is not the default encod‐
|
||||
these must be in UTF-8 format. This is especially important when you
|
||||
run vlmcsd on Windows or cygwin because UTF-8 is not the default encod-
|
||||
ing for most editors.
|
||||
|
||||
If you are specifying an optional HWID it follows the same syntax as in
|
||||
the -H option in vlmcsd(8) ecxept that you must not enclose a HWID in
|
||||
the -H option in vlmcsd(8) ecxept that you must not enclose a HWID in
|
||||
quotes even if it contains spaces.
|
||||
|
||||
|
||||
@ -298,12 +481,12 @@ FILES
|
||||
|
||||
|
||||
AUTHOR
|
||||
vlmcsd(8) was written by crony12, Hotbird64 and vityan666. With contri‐
|
||||
vlmcsd(8) was written by crony12, Hotbird64 and vityan666. With contri-
|
||||
butions from DougQaid.
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati-
|
||||
borus, ...
|
||||
|
||||
|
||||
@ -312,4 +495,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 September 2016 VLMCSD.INI(5)
|
||||
Hotbird64 May 2017 VLMCSD.INI(5)
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Oct 11 21:34:50 2016 -->
|
||||
<!-- CreationDate: Sat Jun 17 00:53:29 2017 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -41,7 +41,7 @@
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>vlmcsd.ini</b>
|
||||
− vlmcsd KMS emulator configuration file</p>
|
||||
- vlmcsd KMS emulator configuration file</p>
|
||||
|
||||
<h2>SYNOPSIS
|
||||
<a name="SYNOPSIS"></a>
|
||||
@ -227,6 +227,122 @@ without activating <br>
|
||||
public IP protection levels see <b>vlmcsd</b>(8) command
|
||||
line option <b>-o</b>.</p>
|
||||
|
||||
<table width="100%" border="0" rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="4%">
|
||||
|
||||
|
||||
<p><b>VPN</b></p></td>
|
||||
<td width="7%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p>Has to be in the form
|
||||
<i>vpn-adapter-name</i>[=<i>ipv4-address</i>][/<i>cidr-mask</i>][:<i>dhcp-lease-duration</i>].</p> </td></tr>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">Enables a
|
||||
compatible VPN adapter to create additional local IPv4
|
||||
addresses (like 127.0.0.1) that appear as remote IPv4
|
||||
addresses to the system. This allows product activation
|
||||
using a local instance of vlmcsd. This feature is only
|
||||
available in Windows and Cygwin builds of vlmcsd since it is
|
||||
not of any use on other operating systems. Compatible VPN
|
||||
adapters are Tap-windows version 8.2 or higher (from
|
||||
OpenVPN) and the TeamViewer VPN adapter. There is a special
|
||||
<i>vpn-adapter-name</i>. A single period (.) instructs
|
||||
vlmcsd to use the first available compatible VPN adapter.
|
||||
The <i>vpn-adapter-name</i> is <b>not</b> case-sensitive. If
|
||||
the <i>vpn-adapter-name</i> contains spaces (e.g. Ethernet
|
||||
3), do <b>not</b> enclose it in quotes.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">The default
|
||||
<i>ipv4-address</i> is 10.10.10.9 and the default
|
||||
<i>cidr-mask</i> is 30. If you are using the default values,
|
||||
your VPN adapter uses an IPv4 address of 10.10.10.9 and you
|
||||
can set your activation client to use the easy to remember
|
||||
address 10.10.10.10 (e.g. slmgr /skms 10.10.10.10 or cscript
|
||||
ospp.vbs /sethst:10.10.10.10).</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">The
|
||||
<i>dhcp-lease-duration</i> is a number optionally followed
|
||||
by s, m, h, d or w to indicate seconds, minutes, hours, days
|
||||
or weeks. The default <i>dhcp-lease-duration</i> is 1d (one
|
||||
day). It is normally not required to change this value.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">It is advised
|
||||
not to manually configure your OpenVPN TAP or TeamViewer VPN
|
||||
adapter in "Network Connections". If you set the
|
||||
IPv4 configuration manually anyway, the IPv4 address and the
|
||||
subnet mask must match the <b>VPN=</b> directive. It is safe
|
||||
leave the IPv4 configuration to automatic (DHCP). vlmcsd
|
||||
will wait up to four seconds for the DHCP configuration to
|
||||
complete before binding to and listenin on any
|
||||
interfaces.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">You should be
|
||||
aware that only one program can use a VPN adapter at a time.
|
||||
If you use the TeamViewer VPN adapter for example, you will
|
||||
not be able to use the VPN feature of TeamViewer as long as
|
||||
vlmcsd is running. The same applies to OpenVPN TAP adapters
|
||||
that are in use by other programs (for example OpenVPN,
|
||||
QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid
|
||||
conflicts is to install Tap-Windows from OpenVPN, cd to
|
||||
C:\Program Files\TAP-Windows\bin and run addtap.bat to
|
||||
install an additional TAP adapter. Go to "Network
|
||||
Connections" and rename the new adapter to
|
||||
"vlmcsd" and specify <b>VPN=vlmcsd</b> to use
|
||||
it.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>ExitLevel</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Can be either 0 (the default)
|
||||
or 1. Controls under what circumstances vlmcsd will exit.
|
||||
Using the default of <b>0</b> vlmcsd stays active as long as
|
||||
it can perform some useful operations. If vlmcsd is run by
|
||||
any form of a watchdog, e.g. NT service manager (Windows),
|
||||
systemd (Linux) or launchd (Mac OS / iOS), it may be
|
||||
desirable to end vlmcsd and let the watchdog restart it.
|
||||
This is especially true if some pre-requisites are not yet
|
||||
met but will be some time later, e.g. network is not yet
|
||||
fully setup.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">By using
|
||||
<b>ExitLevel = 0</b> vlmcsd will</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit if none of
|
||||
the listening sockets specified with <b>-L</b> can be used.
|
||||
It continues if at least one socket can be setup for
|
||||
listening.</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit any TAP
|
||||
mirror thread (Windows version only) if there is an error
|
||||
condition while reading or writing from or to the VPN
|
||||
adapter but continue to work without utilizing a VPN
|
||||
adapter.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">By using
|
||||
<b>ExitLevel = 1</b> vlmcsd will</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit if not all
|
||||
listening sockets specified with <b>-L</b> can be used.</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em">exit completely
|
||||
if there is a problem with a VPN adapter it is using. This
|
||||
may happen for instance if the VPN adapter has been disabled
|
||||
using "Control Panel - Network - Adapter Settings"
|
||||
while vlmcsd is using it.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">Please note
|
||||
that <b>ExitLevel = 1</b> is kind of a workaround option.
|
||||
While it may help under some circumstances, it is better to
|
||||
solve the problem at its origin, e.g. properly implementing
|
||||
dependencies in your startup script to ensure all network
|
||||
interfaces and the VPN adapter you will use are completely
|
||||
setup before you start vlmcsd.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>UseNDR64</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Can be TRUE or FALSE. Specifies
|
||||
@ -267,8 +383,8 @@ randomized. The <i>argument</i> must be a number between 1
|
||||
and 32767. While any number in that range is valid, you
|
||||
should use an offcial LCID. A list of assigned LCIDs can be
|
||||
found at
|
||||
http://msdn.microsoft.com/en−us/goglobal/bb964664.aspx.
|
||||
On the command line you control this setting with option
|
||||
http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx. On
|
||||
the command line you control this setting with option
|
||||
<b>-C</b>.</p> </td></tr>
|
||||
</table>
|
||||
|
||||
@ -317,6 +433,21 @@ unixoid OS and with Cygwin you can use the special filename
|
||||
’syslog’ to log to the syslog facility. This is
|
||||
the same as specifying <b>-l</b> on the command line.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>KmsData</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use a KMS data file. The
|
||||
<i>argument</i> is the full pathname of a KMS data file. By
|
||||
default vlmcsd only contains the minimum product data that
|
||||
is required to perform all operations correctly. You may use
|
||||
a more complete KMS data file that contains all detailed
|
||||
product names. This is especially useful if you are logging
|
||||
KMS requests. If you don’t log, there is no need to
|
||||
load an external KMS data file.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">You may use
|
||||
<b>KmsData = -</b> to prevent the default KMS data
|
||||
file to be loaded.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>LogDateAndTime</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Can be TRUE or FALSE. The
|
||||
@ -339,12 +470,107 @@ each activation will be logged. You use <b>-v</b> and
|
||||
<b>LogVerbose</b> has an effect only if you specify a log
|
||||
file or redirect logging to <b>stdout</b>(3).</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>WhitelistingLevel</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Can be 0, 1, 2 or 3. The
|
||||
default is 0. Sets the whitelisting level to determine which
|
||||
products vlmcsd activates or refuses.</p>
|
||||
|
||||
<p style="margin-left:29%; margin-top: 1em"><b>0</b>:
|
||||
activate all products with an unknown, retail or
|
||||
beta/preview KMS ID. <b><br>
|
||||
1</b>: activate products with a retail or beta/preview KMS
|
||||
ID but refuse to activate products with an unknown KMS ID.
|
||||
<b><br>
|
||||
2</b>: activate products with an unknown KMS ID but refuse
|
||||
products with a retail or beta/preview KMS ID. <b><br>
|
||||
3</b>: activate only products with a known volume license
|
||||
RTM KMS ID and refuse all others.</p>
|
||||
|
||||
<table width="100%" border="0" rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="22%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p>The SKU ID is not checked. Like a genuine KMS server
|
||||
vlmcsd activates a product that has a random or unknown SKU
|
||||
ID. If you select <b>1</b> or <b>3</b>, vlmcsd also checks
|
||||
the Application ID for correctness. If Microsoft introduces
|
||||
a new KMS ID for a new product, you cannot activate it if
|
||||
you used <b>1</b> or <b>3</b> until a new version of vlmcsd
|
||||
is available.</p></td></tr>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>CheckClientTime</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Can be TRUE or FALSE. The
|
||||
default is FALSE. If you set this to TRUE <b>vlmcsd</b>(8)
|
||||
checks if the client time differs no more than four hours
|
||||
from the system time. This is useful to prevent emulator
|
||||
detection. A client that tries to detect an emulator could
|
||||
simply send two subsequent request with two time stamps that
|
||||
differ more than four hours from each other. If both
|
||||
requests succeed, the server is an emulator. If you set this
|
||||
to TRUE on a system with no reliable time source,
|
||||
activations will fail. It is ok to set the correct system
|
||||
time after you started <b>vlmcsd</b>(8).</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>MaintainClients</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Can be TRUE or FALSE (the
|
||||
default). Disables (FALSE) or enables (TRUE) maintaining a
|
||||
list of client machine IDs (CMIDs). TRUE is useful to
|
||||
prevent emulator detection. By maintaing a CMID list,
|
||||
<b>vlmcsd</b>(8) reports current active clients exactly like
|
||||
a genuine KMS emulator. This includes bug compatibility to
|
||||
the extent that you can permanently kill a genuine KMS
|
||||
emulator by sending an "overcharge request" with a
|
||||
required client count of 376 or more and then request
|
||||
activation for 671 clients. <b>vlmcsd</b>(8) can be reset
|
||||
from this condition by restarting it. If FALSE is used,
|
||||
<b>vlmcsd</b>(8) reports current active clients as good as
|
||||
possible. If no client sends an "overcharge
|
||||
request", it is not possible to detect <b>vlmcsd</b>(8)
|
||||
as an emulator with
|
||||
<b>MaintainClients </b>= FALSE. Maintaining
|
||||
clients requires the allocation of a buffer that is about 50
|
||||
kB in size. On hardware with few memory resources use it
|
||||
only if you really need it.</p>
|
||||
|
||||
<p style="margin-left:22%; margin-top: 1em">If you start
|
||||
<b>vlmcsd</b>(8) from an internet superserver, this setting
|
||||
cannot be used. Since <b>vlmcsd</b>(8) exits after each
|
||||
activation, it cannot maintain any state in memory.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>StartEmpty</b></p>
|
||||
|
||||
<p style="margin-left:22%;">This setting is ignored if you
|
||||
do not also specify <b>MaintainClients </b>= TRUE.
|
||||
If you specify FALSE (the default), <b>vlmcsd</b>(8) starts
|
||||
up as a fully "charged" KMS server. Clients
|
||||
activate immediately. <b>StartEmpty </b>= TRUE
|
||||
lets you start up <b>vlmcsd</b>(8) with an empty CMID list.
|
||||
Activation will start when the required minimum clients (25
|
||||
for Windows Client OSses, 5 for Windows Server OSses and
|
||||
Office) have registered with the KMS server. As long as the
|
||||
minimum client count has not been reached, clients end up in
|
||||
HRESULT 0xC004F038 "The count reported by your Key
|
||||
Management Service (KMS) is insufficient. Please contact
|
||||
your system administrator". You may use <b>vlmcs</b>(1)
|
||||
or another KMS client emulator to "charge"
|
||||
<b>vlmcsd</b>(8). Setting this parameter to TRUE does not
|
||||
improve emulator detection prevention. It’s primary
|
||||
purpose is to help developers of KMS clients to test
|
||||
"charging" a KMS server.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>ActivationInterval</b></p>
|
||||
|
||||
<p style="margin-left:22%;">This is the same as specifying
|
||||
<b>-A</b> on the command line. See <b>vlmcsd</b>(8) for
|
||||
details. The default is 2 hours. Example: ActivationInterval
|
||||
= 1h</p>
|
||||
details. The default is 2 hours. Example:
|
||||
ActivationInterval = 1h</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>RenewalInterval</b></p>
|
||||
|
||||
@ -436,6 +662,15 @@ and <i>HwId</i> for Office 2016 activations. If specified,
|
||||
<b>RandomizationLevel</b> for Office 2016 activitations will
|
||||
be ignored.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>WinChinaGov</b></p>
|
||||
|
||||
<p style="margin-left:22%;">The <i>argument</i> has the
|
||||
form <i>ePID</i> [ / <i>HwId</i> ]. Always use <i>ePID</i>
|
||||
and <i>HwId</i> for China Government Editions of Windows
|
||||
(Enterprise G/GN). If specified, <b>RandomizationLevel</b>
|
||||
for Windows China Government activitations will be
|
||||
ignored.</p>
|
||||
|
||||
<h2>VALID EPIDS
|
||||
<a name="VALID EPIDS"></a>
|
||||
</h2>
|
||||
@ -465,8 +700,8 @@ UTF-8 is not the default encoding for most editors.</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">If you are
|
||||
specifying an optional HWID it follows the same syntax as in
|
||||
the <b>−H</b> option in <b>vlmcsd</b>(8) ecxept that
|
||||
you must not enclose a HWID in quotes even if it contains
|
||||
the <b>-H</b> option in <b>vlmcsd</b>(8) ecxept that you
|
||||
must not enclose a HWID in quotes even if it contains
|
||||
spaces.</p>
|
||||
|
||||
<h2>FILES
|
||||
|
Binary file not shown.
@ -17,7 +17,7 @@ DESCRIPTION
|
||||
option on the vlmcsd command line to use an ini file. There is no
|
||||
default name or default location for the ini file.
|
||||
|
||||
Everything, that can be configured in the ini file, may also be speci‐
|
||||
Everything, that can be configured in the ini file, may also be speci-
|
||||
fied on the command line. Any configuration option specified on the
|
||||
command line takes precedence over the respective configuration line in
|
||||
the ini file.
|
||||
@ -33,16 +33,16 @@ DESCRIPTION
|
||||
Differences between command line and configuration file
|
||||
|
||||
If you specify an illegal option or option argument on the command
|
||||
line, vlmcsd displays help and exits. If you specify an incorrect key‐
|
||||
line, vlmcsd displays help and exits. If you specify an incorrect key-
|
||||
word or argument in the ini file, vlmcsd displays a warning with some
|
||||
information, ignores the respective line and continues. This is inten‐
|
||||
tional and prevents vlmcsd from aborting after a SIGHUP if the configu‐
|
||||
information, ignores the respective line and continues. This is inten-
|
||||
tional and prevents vlmcsd from aborting after a SIGHUP if the configu-
|
||||
ration was modified incorrectly.
|
||||
|
||||
|
||||
SYNTAX
|
||||
vlmcsd.ini is a UTF-8 encoded text file with each line being in the
|
||||
format keyword = argument. The keyword is not case-sensitive. The argu‐
|
||||
format keyword = argument. The keyword is not case-sensitive. The argu-
|
||||
ment is treated literally. It is neither required nor allowed to
|
||||
enclose the argument in any form of quote characters except when quote
|
||||
characters are part of the argument itself. Whitespace characters are
|
||||
@ -54,14 +54,14 @@ SYNTAX
|
||||
|
||||
Lines, that start with '#' or ';' are treated as comments. Empty lines
|
||||
are ignored as well. If a keyword is repeated in another line, vlmcsd
|
||||
will use the argument of the last occurence of the keyword. An excep‐
|
||||
will use the argument of the last occurence of the keyword. An excep-
|
||||
tion to this is the Listen keyword which can be specified multiple
|
||||
times and causes vlmcsd to listen on more than one IP address and/or
|
||||
port.
|
||||
|
||||
Some arguments are binary arguments that need to be either TRUE or
|
||||
FALSE. You can use "Yes", "On" or "1" as an alias for TRUE and "No",
|
||||
"Off" or "0" as an alias for FALSE. Binary arguments are case-insensi‐
|
||||
"Off" or "0" as an alias for FALSE. Binary arguments are case-insensi-
|
||||
tive.
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@ KEYWORDS
|
||||
was compiled):
|
||||
|
||||
|
||||
Listen This defines on what combinations of IP addresses and ports vlm‐
|
||||
Listen This defines on what combinations of IP addresses and ports vlm-
|
||||
csd should listen. Listen can be specified more than once. The
|
||||
argument has the form ipaddress[:port]. If you omit the port,
|
||||
the default port of 1688 is used. If the ipaddress contains
|
||||
@ -80,7 +80,7 @@ KEYWORDS
|
||||
which means listen to all IPv4 and all IPv6 addresses. See the
|
||||
-L option in vlmcsd(8) for more info about the syntax. If you
|
||||
use -L or -P on the command line, all Listen keywords in the ini
|
||||
file will be ignored. The Listen keyword cannot be used if vlm‐
|
||||
file will be ignored. The Listen keyword cannot be used if vlm-
|
||||
csd has been compiled to use Microsoft RPC (Windows and Cygwin
|
||||
only) or simple sockets.
|
||||
|
||||
@ -91,7 +91,7 @@ KEYWORDS
|
||||
Listen = [fe80::1721:12ff:fe81:d36b%eth0]:1688
|
||||
|
||||
|
||||
Port Can only be used if vlmcsd has been compiled to use simple sock‐
|
||||
Port Can only be used if vlmcsd has been compiled to use simple sock-
|
||||
ets or on Windows and Cygwin if vlmcsd(8) has been compiled to
|
||||
use Microsoft RPC. Otherwise you must use Listen instead. Causes
|
||||
vlmcsd to listen on that port instead of 1688.
|
||||
@ -115,7 +115,7 @@ KEYWORDS
|
||||
0 = No protection (default)
|
||||
1 = Listen on private IP addresses only (plus those specified by
|
||||
one or more Listen statements)
|
||||
2 = Disconnect clients with public IP addresses without activat‐
|
||||
2 = Disconnect clients with public IP addresses without activat-
|
||||
ing
|
||||
3 = Combines 1 and 2
|
||||
|
||||
@ -123,6 +123,94 @@ KEYWORDS
|
||||
line option -o.
|
||||
|
||||
|
||||
VPN Has to be in the form vpn-adapter-name[=ipv4-address][/cidr-
|
||||
mask][:dhcp-lease-duration].
|
||||
|
||||
Enables a compatible VPN adapter to create additional local IPv4
|
||||
addresses (like 127.0.0.1) that appear as remote IPv4 addresses
|
||||
to the system. This allows product activation using a local
|
||||
instance of vlmcsd. This feature is only available in Windows
|
||||
and Cygwin builds of vlmcsd since it is not of any use on other
|
||||
operating systems. Compatible VPN adapters are Tap-windows ver-
|
||||
sion 8.2 or higher (from OpenVPN) and the TeamViewer VPN
|
||||
adapter. There is a special vpn-adapter-name. A single period
|
||||
(.) instructs vlmcsd to use the first available compatible VPN
|
||||
adapter. The vpn-adapter-name is not case-sensitive. If the vpn-
|
||||
adapter-name contains spaces (e.g. Ethernet 3), do not enclose
|
||||
it in quotes.
|
||||
|
||||
The default ipv4-address is 10.10.10.9 and the default cidr-mask
|
||||
is 30. If you are using the default values, your VPN adapter
|
||||
uses an IPv4 address of 10.10.10.9 and you can set your activa-
|
||||
tion client to use the easy to remember address 10.10.10.10
|
||||
(e.g. slmgr /skms 10.10.10.10 or cscript ospp.vbs
|
||||
/sethst:10.10.10.10).
|
||||
|
||||
The dhcp-lease-duration is a number optionally followed by s, m,
|
||||
h, d or w to indicate seconds, minutes, hours, days or weeks.
|
||||
The default dhcp-lease-duration is 1d (one day). It is normally
|
||||
not required to change this value.
|
||||
|
||||
It is advised not to manually configure your OpenVPN TAP or
|
||||
TeamViewer VPN adapter in "Network Connections". If you set the
|
||||
IPv4 configuration manually anyway, the IPv4 address and the
|
||||
subnet mask must match the VPN= directive. It is safe leave the
|
||||
IPv4 configuration to automatic (DHCP). vlmcsd will wait up to
|
||||
four seconds for the DHCP configuration to complete before bind-
|
||||
ing to and listenin on any interfaces.
|
||||
|
||||
You should be aware that only one program can use a VPN adapter
|
||||
at a time. If you use the TeamViewer VPN adapter for example,
|
||||
you will not be able to use the VPN feature of TeamViewer as
|
||||
long as vlmcsd is running. The same applies to OpenVPN TAP
|
||||
adapters that are in use by other programs (for example OpenVPN,
|
||||
QEMU, Ratiborus VM, aiccu, etc.). The best way to avoid con-
|
||||
flicts is to install Tap-Windows from OpenVPN, cd to C:\Program
|
||||
Files\TAP-Windows\bin and run addtap.bat to install an addi-
|
||||
tional TAP adapter. Go to "Network Connections" and rename the
|
||||
new adapter to "vlmcsd" and specify VPN=vlmcsd to use it.
|
||||
|
||||
|
||||
ExitLevel
|
||||
Can be either 0 (the default) or 1. Controls under what circum-
|
||||
stances vlmcsd will exit. Using the default of 0 vlmcsd stays
|
||||
active as long as it can perform some useful operations. If vlm-
|
||||
csd is run by any form of a watchdog, e.g. NT service manager
|
||||
(Windows), systemd (Linux) or launchd (Mac OS / iOS), it may be
|
||||
desirable to end vlmcsd and let the watchdog restart it. This is
|
||||
especially true if some pre-requisites are not yet met but will
|
||||
be some time later, e.g. network is not yet fully setup.
|
||||
|
||||
By using ExitLevel = 0 vlmcsd will
|
||||
|
||||
exit if none of the listening sockets specified with -L can
|
||||
be used. It continues if at least one socket can be setup
|
||||
for listening.
|
||||
|
||||
exit any TAP mirror thread (Windows version only) if there
|
||||
is an error condition while reading or writing from or to
|
||||
the VPN adapter but continue to work without utilizing a
|
||||
VPN adapter.
|
||||
|
||||
By using ExitLevel = 1 vlmcsd will
|
||||
|
||||
exit if not all listening sockets specified with -L can be
|
||||
used.
|
||||
|
||||
exit completely if there is a problem with a VPN adapter it
|
||||
is using. This may happen for instance if the VPN adapter
|
||||
has been disabled using "Control Panel - Network - Adapter
|
||||
Settings" while vlmcsd is using it.
|
||||
|
||||
|
||||
Please note that ExitLevel = 1 is kind of a workaround option.
|
||||
While it may help under some circumstances, it is better to
|
||||
solve the problem at its origin, e.g. properly implementing
|
||||
dependencies in your startup script to ensure all network inter-
|
||||
faces and the VPN adapter you will use are completely setup
|
||||
before you start vlmcsd.
|
||||
|
||||
|
||||
UseNDR64
|
||||
Can be TRUE or FALSE. Specifies whether you want to use the
|
||||
NDR64 transfer syntax. See options -n0 and -n1 in vlmcsd(8). The
|
||||
@ -131,12 +219,12 @@ KEYWORDS
|
||||
|
||||
UseBTFN
|
||||
Can be TRUE or FALSE. Specifies whether you want to use bind
|
||||
time feature negotiation in RPC. See options -b0 and -b1 in vlm‐
|
||||
time feature negotiation in RPC. See options -b0 and -b1 in vlm-
|
||||
csd(8). The default is TRUE.
|
||||
|
||||
|
||||
RandomizationLevel
|
||||
The argument must 0, 1 or 2. This specifies the ePID randomiza‐
|
||||
The argument must 0, 1 or 2. This specifies the ePID randomiza-
|
||||
tion level. See options -r0, -r1 and -r2 in vlmcsd(8). The
|
||||
default randomization level is 1. A RandomizationLevel of 2 is
|
||||
not recommended and should be treated as a debugging level.
|
||||
@ -145,14 +233,14 @@ KEYWORDS
|
||||
LCID Use a specific culture id (LCID) even if the ePID is randomized.
|
||||
The argument must be a number between 1 and 32767. While any
|
||||
number in that range is valid, you should use an offcial LCID. A
|
||||
list of assigned LCIDs can be found at http://msdn.micro‐
|
||||
list of assigned LCIDs can be found at http://msdn.micro-
|
||||
soft.com/en-us/goglobal/bb964664.aspx. On the command line you
|
||||
control this setting with option -C.
|
||||
|
||||
|
||||
MaxWorkers
|
||||
The argument specifies the maximum number of worker processes or
|
||||
threads that will be used to serve activation requests concur‐
|
||||
threads that will be used to serve activation requests concur-
|
||||
rently. This is the same as specifying -m on the command line.
|
||||
Minimum is 1. The maximum is platform specific and is at least
|
||||
32767 but is likely to be greater on most systems. The default
|
||||
@ -160,13 +248,13 @@ KEYWORDS
|
||||
|
||||
|
||||
ConnectionTimeout
|
||||
Used to control when the vlmcsd disconnects idle TPC connec‐
|
||||
Used to control when the vlmcsd disconnects idle TPC connec-
|
||||
tions. The default is 30 seconds. This is the same setting as -t
|
||||
on the command line.
|
||||
|
||||
|
||||
DisconnectClientsImmediately
|
||||
Set this to TRUE to disconnect a client after it got an activa‐
|
||||
Set this to TRUE to disconnect a client after it got an activa-
|
||||
tion response regardless whether a timeout has occured or not.
|
||||
The default is FALSE. Setting this to TRUE is non-standard
|
||||
behavior. Use only if you are experiencing DoS or DDoS attacks.
|
||||
@ -189,36 +277,124 @@ KEYWORDS
|
||||
same as specifying -l on the command line.
|
||||
|
||||
|
||||
KmsData
|
||||
Use a KMS data file. The argument is the full pathname of a KMS
|
||||
data file. By default vlmcsd only contains the minimum product
|
||||
data that is required to perform all operations correctly. You
|
||||
may use a more complete KMS data file that contains all detailed
|
||||
product names. This is especially useful if you are logging KMS
|
||||
requests. If you don't log, there is no need to load an external
|
||||
KMS data file.
|
||||
|
||||
You may use KmsData = - to prevent the default KMS data file to
|
||||
be loaded.
|
||||
|
||||
|
||||
LogDateAndTime
|
||||
Can be TRUE or FALSE. The default is TRUE. If set to FALSE, log‐
|
||||
ging output does not include date and time. This is useful if
|
||||
you log to stdout(3) which is redirected to another logging
|
||||
Can be TRUE or FALSE. The default is TRUE. If set to FALSE, log-
|
||||
ging output does not include date and time. This is useful if
|
||||
you log to stdout(3) which is redirected to another logging
|
||||
mechanism that already includes date and time in its output, for
|
||||
instance systemd-journald(8). If you log to syslog(3), LogDate‐
|
||||
AndTime is ignored and date and time will never be included in
|
||||
instance systemd-journald(8). If you log to syslog(3), LogDate-
|
||||
AndTime is ignored and date and time will never be included in
|
||||
the output sent to syslog(3). Using the command line you control
|
||||
this setting with options -T0 and -T1.
|
||||
|
||||
|
||||
LogVerbose
|
||||
Set this to either TRUE or FALSE. The default is FALSE. If set
|
||||
Set this to either TRUE or FALSE. The default is FALSE. If set
|
||||
to TRUE, more details of each activation will be logged. You use
|
||||
-v and -q in the command line to control this setting. LogVer‐
|
||||
bose has an effect only if you specify a log file or redirect
|
||||
-v and -q in the command line to control this setting. LogVer-
|
||||
bose has an effect only if you specify a log file or redirect
|
||||
logging to stdout(3).
|
||||
|
||||
|
||||
WhitelistingLevel
|
||||
Can be 0, 1, 2 or 3. The default is 0. Sets the whitelisting
|
||||
level to determine which products vlmcsd activates or refuses.
|
||||
|
||||
0: activate all products with an unknown, retail or
|
||||
beta/preview KMS ID.
|
||||
1: activate products with a retail or beta/preview KMS ID
|
||||
but refuse to activate products with an unknown KMS ID.
|
||||
2: activate products with an unknown KMS ID but refuse
|
||||
products with a retail or beta/preview KMS ID.
|
||||
3: activate only products with a known volume license RTM
|
||||
KMS ID and refuse all others.
|
||||
|
||||
|
||||
The SKU ID is not checked. Like a genuine KMS server vlmcsd
|
||||
activates a product that has a random or unknown SKU ID. If you
|
||||
select 1 or 3, vlmcsd also checks the Application ID for cor-
|
||||
rectness. If Microsoft introduces a new KMS ID for a new prod-
|
||||
uct, you cannot activate it if you used 1 or 3 until a new ver-
|
||||
sion of vlmcsd is available.
|
||||
|
||||
|
||||
CheckClientTime
|
||||
Can be TRUE or FALSE. The default is FALSE. If you set this to
|
||||
TRUE vlmcsd(8) checks if the client time differs no more than
|
||||
four hours from the system time. This is useful to prevent emu-
|
||||
lator detection. A client that tries to detect an emulator could
|
||||
simply send two subsequent request with two time stamps that
|
||||
differ more than four hours from each other. If both requests
|
||||
succeed, the server is an emulator. If you set this to TRUE on a
|
||||
system with no reliable time source, activations will fail. It
|
||||
is ok to set the correct system time after you started vlm-
|
||||
csd(8).
|
||||
|
||||
|
||||
MaintainClients
|
||||
Can be TRUE or FALSE (the default). Disables (FALSE) or enables
|
||||
(TRUE) maintaining a list of client machine IDs (CMIDs). TRUE is
|
||||
useful to prevent emulator detection. By maintaing a CMID list,
|
||||
vlmcsd(8) reports current active clients exactly like a genuine
|
||||
KMS emulator. This includes bug compatibility to the extent that
|
||||
you can permanently kill a genuine KMS emulator by sending an
|
||||
"overcharge request" with a required client count of 376 or more
|
||||
and then request activation for 671 clients. vlmcsd(8) can be
|
||||
reset from this condition by restarting it. If FALSE is used,
|
||||
vlmcsd(8) reports current active clients as good as possible. If
|
||||
no client sends an "overcharge request", it is not possible to
|
||||
detect vlmcsd(8) as an emulator with MaintainClients = FALSE.
|
||||
Maintaining clients requires the allocation of a buffer that is
|
||||
about 50 kB in size. On hardware with few memory resources use
|
||||
it only if you really need it.
|
||||
|
||||
If you start vlmcsd(8) from an internet superserver, this set-
|
||||
ting cannot be used. Since vlmcsd(8) exits after each activa-
|
||||
tion, it cannot maintain any state in memory.
|
||||
|
||||
|
||||
StartEmpty
|
||||
This setting is ignored if you do not also specify Maintain-
|
||||
Clients = TRUE. If you specify FALSE (the default), vlmcsd(8)
|
||||
starts up as a fully "charged" KMS server. Clients activate
|
||||
immediately. StartEmpty = TRUE lets you start up vlmcsd(8) with
|
||||
an empty CMID list. Activation will start when the required min-
|
||||
imum clients (25 for Windows Client OSses, 5 for Windows Server
|
||||
OSses and Office) have registered with the KMS server. As long
|
||||
as the minimum client count has not been reached, clients end up
|
||||
in HRESULT 0xC004F038 "The count reported by your Key Management
|
||||
Service (KMS) is insufficient. Please contact your system admin-
|
||||
istrator". You may use vlmcs(1) or another KMS client emulator
|
||||
to "charge" vlmcsd(8). Setting this parameter to TRUE does not
|
||||
improve emulator detection prevention. It's primary purpose is
|
||||
to help developers of KMS clients to test "charging" a KMS
|
||||
server.
|
||||
|
||||
|
||||
ActivationInterval
|
||||
This is the same as specifying -A on the command line. See vlm‐
|
||||
csd(8) for details. The default is 2 hours. Example: Activation‐
|
||||
This is the same as specifying -A on the command line. See vlm-
|
||||
csd(8) for details. The default is 2 hours. Example: Activation-
|
||||
Interval = 1h
|
||||
|
||||
|
||||
RenewalInterval
|
||||
This is the same as specifying -R on the command line. See vlm‐
|
||||
csd(8) for details. The default is 7 days. Example: RenewalIn‐
|
||||
This is the same as specifying -R on the command line. See vlm-
|
||||
csd(8) for details. The default is 7 days. Example: RenewalIn-
|
||||
terval = 3d. Please note that the KMS client decides itself when
|
||||
to renew activation. Even though vlmcsd sends the renewal inter‐
|
||||
to renew activation. Even though vlmcsd sends the renewal inter-
|
||||
val you specify, it is no more than some kind of recommendation
|
||||
to the client. Older KMS clients did follow the recommendation
|
||||
from a KMS server or emulator. Newer clients do not.
|
||||
@ -238,9 +414,9 @@ KEYWORDS
|
||||
Group Run vlmcsd as another, preferrably less privileged, group. The
|
||||
argument can be a group name or a numeric group id. You must
|
||||
have the required privileges (capabilities on Linux) to change
|
||||
the security context of a process without providing any creden‐
|
||||
the security context of a process without providing any creden-
|
||||
tials (a password in most cases). On most unixoid OSses 'root'
|
||||
is the only user who has these privileges in the default config‐
|
||||
is the only user who has these privileges in the default config-
|
||||
uration. This setting is not available in the native Windows
|
||||
version of vlmcsd. See -g in vlmcsd(8). This setting cannot be
|
||||
changed on the fly by sending SIGHUP to vlmcsd.
|
||||
@ -254,42 +430,49 @@ KEYWORDS
|
||||
|
||||
Office2010
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for Office 2010 activations. If specified, Randomization‐
|
||||
HwId for Office 2010 activations. If specified, Randomization-
|
||||
Level for Office 2010 activitations will be ignored.
|
||||
|
||||
|
||||
Office2013
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for Office 2013 activations. If specified, Randomization‐
|
||||
HwId for Office 2013 activations. If specified, Randomization-
|
||||
Level for Office 2013 activitations will be ignored.
|
||||
|
||||
|
||||
Office2016
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for Office 2016 activations. If specified, Randomization‐
|
||||
HwId for Office 2016 activations. If specified, Randomization-
|
||||
Level for Office 2016 activitations will be ignored.
|
||||
|
||||
|
||||
WinChinaGov
|
||||
The argument has the form ePID [ / HwId ]. Always use ePID and
|
||||
HwId for China Government Editions of Windows (Enterprise G/GN).
|
||||
If specified, RandomizationLevel for Windows China Government
|
||||
activitations will be ignored.
|
||||
|
||||
|
||||
VALID EPIDS
|
||||
The ePID is currently a comment only. You can specify any string up to
|
||||
63 bytes. In Windows 7 Microsoft has blacklisted few ( < 10 ) ePIDs
|
||||
that were used in KMSv5 versions of the "Ratiborus Virtual Machine".
|
||||
Microsoft has given up on blacklisting when KMS emulators appeared in
|
||||
The ePID is currently a comment only. You can specify any string up to
|
||||
63 bytes. In Windows 7 Microsoft has blacklisted few ( < 10 ) ePIDs
|
||||
that were used in KMSv5 versions of the "Ratiborus Virtual Machine".
|
||||
Microsoft has given up on blacklisting when KMS emulators appeared in
|
||||
the wild.
|
||||
|
||||
Even if you can use "Activated by cool hacker guys" as an ePID, you may
|
||||
wish to use ePIDs that cannot be detected as non-MS ePIDs. If you don't
|
||||
know how these "valid" ePIDs look like exactly, do not use GUIDS in
|
||||
vlmcsd.ini. vlmcsd provides internal mechanisms to generate valid
|
||||
know how these "valid" ePIDs look like exactly, do not use GUIDS in
|
||||
vlmcsd.ini. vlmcsd provides internal mechanisms to generate valid
|
||||
ePIDs.
|
||||
|
||||
If you use non-ASCII characters in your ePID (you shouldn't do anyway),
|
||||
these must be in UTF-8 format. This is especially important when you
|
||||
run vlmcsd on Windows or cygwin because UTF-8 is not the default encod‐
|
||||
these must be in UTF-8 format. This is especially important when you
|
||||
run vlmcsd on Windows or cygwin because UTF-8 is not the default encod-
|
||||
ing for most editors.
|
||||
|
||||
If you are specifying an optional HWID it follows the same syntax as in
|
||||
the -H option in vlmcsd(8) ecxept that you must not enclose a HWID in
|
||||
the -H option in vlmcsd(8) ecxept that you must not enclose a HWID in
|
||||
quotes even if it contains spaces.
|
||||
|
||||
|
||||
@ -298,12 +481,12 @@ FILES
|
||||
|
||||
|
||||
AUTHOR
|
||||
vlmcsd(8) was written by crony12, Hotbird64 and vityan666. With contri‐
|
||||
vlmcsd(8) was written by crony12, Hotbird64 and vityan666. With contri-
|
||||
butions from DougQaid.
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati-
|
||||
borus, ...
|
||||
|
||||
|
||||
@ -312,4 +495,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 September 2016 VLMCSD.INI(5)
|
||||
Hotbird64 May 2017 VLMCSD.INI(5)
|
||||
|
@ -17,9 +17,9 @@ DESCRIPTION
|
||||
the combined binary is significantly smaller than the sum of both
|
||||
files.
|
||||
|
||||
vlmcsdmulti should not be called directly. Instead you may want to cre‐
|
||||
vlmcsdmulti should not be called directly. Instead you may want to cre-
|
||||
ate symbolic links named vlmcs and vlmcsd which point to vlmcsdmulti.
|
||||
You then use these links to call the respective program. You may how‐
|
||||
You then use these links to call the respective program. You may how-
|
||||
ever call vlmcsdmulti followed by a complete command line of either
|
||||
vlmcs(1) or vlmcsd(8).
|
||||
|
||||
@ -51,7 +51,7 @@ DESCRIPTION
|
||||
Memory considerations
|
||||
While you definitely save disk space by using vlmcsdmulti you will need
|
||||
more RAM when you run vlmcsdmulti as a daemon (KMS server) instead of
|
||||
vlmcsd. You should consider running vlmcsdmulti via an internet super‐
|
||||
vlmcsd. You should consider running vlmcsdmulti via an internet super-
|
||||
server like inetd(8) or xinetd(8).
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ AUTHOR
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos‐
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos-
|
||||
ferati87, qad, vityan666, ...
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Oct 11 21:34:50 2016 -->
|
||||
<!-- CreationDate: Sat Jun 17 00:53:29 2017 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -36,8 +36,8 @@
|
||||
</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcsdmulti
|
||||
− a multi-call binary containing <b>vlmcs</b>(1) and
|
||||
<p style="margin-left:11%; margin-top: 1em">vlmcsdmulti - a
|
||||
multi-call binary containing <b>vlmcs</b>(1) and
|
||||
<b>vlmcsd</b>(8)</p>
|
||||
|
||||
<h2>SYNOPSIS
|
||||
|
Binary file not shown.
@ -17,9 +17,9 @@ DESCRIPTION
|
||||
the combined binary is significantly smaller than the sum of both
|
||||
files.
|
||||
|
||||
vlmcsdmulti should not be called directly. Instead you may want to cre‐
|
||||
vlmcsdmulti should not be called directly. Instead you may want to cre-
|
||||
ate symbolic links named vlmcs and vlmcsd which point to vlmcsdmulti.
|
||||
You then use these links to call the respective program. You may how‐
|
||||
You then use these links to call the respective program. You may how-
|
||||
ever call vlmcsdmulti followed by a complete command line of either
|
||||
vlmcs(1) or vlmcsd(8).
|
||||
|
||||
@ -51,7 +51,7 @@ DESCRIPTION
|
||||
Memory considerations
|
||||
While you definitely save disk space by using vlmcsdmulti you will need
|
||||
more RAM when you run vlmcsdmulti as a daemon (KMS server) instead of
|
||||
vlmcsd. You should consider running vlmcsdmulti via an internet super‐
|
||||
vlmcsd. You should consider running vlmcsdmulti via an internet super-
|
||||
server like inetd(8) or xinetd(8).
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ AUTHOR
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos‐
|
||||
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos-
|
||||
ferati87, qad, vityan666, ...
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ DNS_PARSER ?= OS
|
||||
|
||||
# You should supply your own version string here
|
||||
|
||||
VLMCSD_VERSION ?= $(shell test -d .svn && echo svn`svnversion`)
|
||||
VLMCSD_VERSION ?= $(shell test -d ../.git && git describe)
|
||||
|
||||
FEATURES ?= full
|
||||
VERBOSE ?= NO
|
||||
@ -188,7 +188,13 @@ endif
|
||||
|
||||
ifneq ($(NOLIBS),1)
|
||||
ifeq ($(MINGW),1)
|
||||
BASELDFLAGS += -lws2_32 -liphlpapi
|
||||
BASELDFLAGS += -lws2_32 -liphlpapi -lshlwapi
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(NOLIBS),1)
|
||||
ifeq ($(CYGWIN),1)
|
||||
BASELDFLAGS += -liphlpapi
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -251,14 +257,14 @@ else
|
||||
STRIPFLAGS += -s
|
||||
endif
|
||||
|
||||
LIBRARY_CFLAGS = -DSIMPLE_SOCKETS -DNO_TIMEOUT -DNO_SIGHUP -DNO_CL_PIDS -DNO_EXTENDED_PRODUCT_LIST -DNO_BASIC_PRODUCT_LIST -DNO_LOG -DNO_RANDOM_EPID -DNO_INI_FILE -DNO_HELP -DNO_CUSTOM_INTERVALS -DNO_PID_FILE -DNO_USER_SWITCH -DNO_VERBOSE_LOG -DNO_LIMIT -DNO_VERSION_INFORMATION -DNO_PRIVATE_IP_DETECT
|
||||
LIBRARY_CFLAGS = -DSIMPLE_SOCKETS -DNO_TIMEOUT -DNO_SIGHUP -DNO_CL_PIDS -DNO_LOG -DNO_RANDOM_EPID -DNO_INI_FILE -DNO_HELP -DNO_CUSTOM_INTERVALS -DNO_PID_FILE -DNO_USER_SWITCH -DNO_VERBOSE_LOG -DNO_LIMIT -DNO_VERSION_INFORMATION -DNO_PRIVATE_IP_DETECT -DNO_STRICT_MODES -DNO_CLIENT_LIST -DNO_TAP -UNO_SOCKETS -USIMPLE_RPC
|
||||
|
||||
ifeq ($(FEATURES), embedded)
|
||||
BASECFLAGS += -DNO_HELP -DNO_USER_SWITCH -DNO_BASIC_PRODUCT_LIST -DNO_CUSTOM_INTERVALS -DNO_PID_FILE -DNO_VERBOSE_LOG -DNO_VERSION_INFORMATION
|
||||
BASECFLAGS += -DNO_HELP -DNO_USER_SWITCH -DNO_CUSTOM_INTERVALS -DNO_PID_FILE -DNO_VERBOSE_LOG -DNO_VERSION_INFORMATION
|
||||
else ifeq ($(FEATURES), autostart)
|
||||
BASECFLAGS += -DNO_HELP -DNO_VERSION_INFORMATION
|
||||
else ifeq ($(FEATURES), minimum)
|
||||
BASECFLAGS += -DSIMPLE_SOCKETS -DNO_TIMEOUT -DNO_SIGHUP -DNO_CL_PIDS -DNO_EXTENDED_PRODUCT_LIST -DNO_BASIC_PRODUCT_LIST -DNO_LOG -DNO_RANDOM_EPID -DNO_INI_FILE -DNO_HELP -DNO_CUSTOM_INTERVALS -DNO_PID_FILE -DNO_USER_SWITCH -DNO_VERBOSE_LOG -DNO_LIMIT -DNO_VERSION_INFORMATION -DNO_PRIVATE_IP_DETECT -DSMALL_AES
|
||||
BASECFLAGS += -DSIMPLE_RPC -DSIMPLE_SOCKETS -DNO_TIMEOUT -DNO_SIGHUP -DNO_CL_PIDS -DNO_LOG -DNO_RANDOM_EPID -DNO_INI_FILE -DNO_HELP -DNO_CUSTOM_INTERVALS -DNO_PID_FILE -DNO_USER_SWITCH -DNO_VERBOSE_LOG -DNO_LIMIT -DNO_VERSION_INFORMATION -DNO_PRIVATE_IP_DETECT -DSMALL_AES -DNO_STRICT_MODES -DNO_TAP -DNO_CLIENT_LIST -DUNSAFE_DATA_LOAD -DNO_EXTERNAL_DATA -UFULL_INTERNAL_DATA -U_PEDANTIC
|
||||
else ifeq ($(FEATURES), most)
|
||||
BASECFLAGS += -DNO_SIGHUP -DNO_PID_FILE -DNO_LIMIT
|
||||
else ifeq ($(FEATURES), inetd)
|
||||
@ -271,6 +277,10 @@ ifdef INI
|
||||
BASECFLAGS += -DINI_FILE=\"$(INI)\"
|
||||
endif
|
||||
|
||||
ifdef DATA
|
||||
BASECFLAGS += -DDATA_FILE=\"$(DATA)\"
|
||||
endif
|
||||
|
||||
ifeq ($(NO_GETIFADDRS), 1)
|
||||
BASECFLAGS += -DNO_GETIFADDRS
|
||||
endif
|
||||
@ -366,17 +376,17 @@ ifdef CAT
|
||||
endif
|
||||
|
||||
SRCS = crypto.c kms.c endian.c output.c shared_globals.c helpers.c
|
||||
HEADERS = $(CONFIG) types.h rpc.h vlmcsd.h endian.h crypto.h kms.h network.h output.h shared_globals.h vlmcs.h helpers.h
|
||||
HEADERS = $(CONFIG) types.h rpc.h vlmcsd.h endian.h crypto.h kms.h network.h output.h shared_globals.h vlmcs.h helpers.h kmsdata.h
|
||||
DEPS = $(patsubst %,../build/%,$(MULTI_SRCS:.c=.d))
|
||||
|
||||
VLMCSD_SRCS = vlmcsd.c $(SRCS)
|
||||
VLMCSD_SRCS = vlmcsd.c kmsdata.c $(SRCS)
|
||||
VLMCSD_OBJS = $(patsubst %,../build/%,$(VLMCSD_SRCS:.c=.o))
|
||||
|
||||
VLMCS_SRCS = vlmcs.c $(SRCS)
|
||||
VLMCS_SRCS = vlmcs.c kmsdata-full.c $(SRCS)
|
||||
VLMCS_OBJS = $(patsubst %,../build/%,$(VLMCS_SRCS:.c=.o))
|
||||
|
||||
MULTI_SRCS = vlmcsd.c vlmcs.c vlmcsdmulti.c $(SRCS)
|
||||
MULTI_OBJS = $(patsubst %,../build/%,$(SRCS:.c=.o)) ../build/vlmcsd-m.o ../build/vlmcs-m.o ../build/vlmcsdmulti-m.o
|
||||
MULTI_SRCS = vlmcsd.c vlmcs.c vlmcsdmulti.c kmsdata-full.c $(SRCS)
|
||||
MULTI_OBJS = $(patsubst %,../build/%,$(SRCS:.c=.o)) ../build/kmsdata-full.o ../build/vlmcsd-m.o ../build/vlmcs-m.o ../build/vlmcsdmulti-m.o
|
||||
|
||||
DLL_SRCS = libkms.c vlmcs.c $(SRCS)
|
||||
DLL_OBJS = $(patsubst %,../build/%,$(DLL_SRCS:.c=-l.o))
|
||||
@ -437,9 +447,9 @@ endif
|
||||
endif
|
||||
|
||||
ifeq "$(WIN)" "1"
|
||||
VLMCSD_SRCS += ntservice.c
|
||||
MULTI_SRCS += ntservice.c
|
||||
../build/MULTI_OBJS += ntservice.o
|
||||
VLMCSD_SRCS += ntservice.c wintap.c
|
||||
MULTI_SRCS += ntservice.c wintap.c
|
||||
MULTI_OBJS += ../build/ntservice.o ../build/wintap.o
|
||||
endif
|
||||
|
||||
ifeq ($(CRYPTO), openssl_with_aes)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user