diff --git a/README.md b/README.md new file mode 100644 index 0000000..7d64b52 --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +# SSLH - Windows Cygwin binaries # +- https://github.com/yrutschle/sslh +---- +### version [2.0.1](https://github.com/yrutschle/sslh/releases/tag/v2.0.1) - 2023-09-24 + +**Released 2023-11-14** *(x64 - gcc `11.4.0`)* + +----- +### Build Scripts + +- [@nono303/win-build-scripts](https://github.com/nono303/win-build-scripts) + +### Dependencies + +> if you have Cygwin already installed, you don't need `cygwin1.dll`, `cygpcre2-8-0.dll`, `cygev-4.dll` +> Just ensure that you have packages `libpcre2_x` and `libev4` installed and /bin Cygwin path is correctly set in Windows PATH environment variable + +- **[libconfig](https://github.com/hyperrealm/libconfig/releases/tag/v1.7.3)** `1.7.3` _(build)_ + - *cygconfig-11.dll* + +- **cygwin** `3.4.9` _(cygwin)_ + - *cygwin1.dll* +- **pcre2** `10.42`_(cygwin)_ + - *cygpcre2-8-0.dll* + +- **libev** `4.33` _(cygwin)_ :point_up: _only required for **sslh-ev**_ + - *cygev-4.dll* + + +### Install as a Windows service + +You might use `nssm` to install sslh as a Windows service: + +1. copy `nssm-2.25.0.exe` in sslh folder or somewhere in a Windows `%PATH%` folder + +2. run theses command - **changing absolute path `C:\sslh`** corresponding to your config and `sslh-XX` with your desired version _(`sslh-ev`, `sslh-fork`, `sslh-select`)_ + + ``` + nssm-2.25.0.exe install sslh C:\sslh\sslh-XX.exe + nssm-2.25.0.exe set sslh AppParameters "-FC:/sslh/config/sslh.cfg" + nssm-2.25.0.exe set sslh AppDirectory C:\sslh + nssm-2.25.0.exe set sslh AppExit Default Restart + nssm-2.25.0.exe set sslh AppNoConsole 1 + nssm-2.25.0.exe set sslh AppPriority ABOVE_NORMAL_PRIORITY_CLASS + nssm-2.25.0.exe set sslh AppStderr C:\sslh\logs\sslh.log + nssm-2.25.0.exe set sslh AppStopMethodSkip 6 + nssm-2.25.0.exe set sslh AppTimestampLog 1 + nssm-2.25.0.exe set sslh DisplayName sslh + nssm-2.25.0.exe set sslh ObjectName LocalSystem + nssm-2.25.0.exe set sslh Start SERVICE_AUTO_START + nssm-2.25.0.exe set sslh Type SERVICE_WIN32_OWN_PROCESS + ``` + diff --git a/bininfo.txt b/bininfo.txt new file mode 100644 index 0000000..67e9b0e --- /dev/null +++ b/bininfo.txt @@ -0,0 +1,9 @@ +filename date x cc pver product description +/x64/cygconfig-11.dll 14/11/2023 17:59 64 2.41 1.7.3 libconfig:cygconfig-11 arch:x64 gcc:11.4.0 commit:525922a tag:v1.7.3 date:2021-06-19 +/x64/cygev-4.dll 01/01/1970 01:00 64 2.36 n/a n/a n/a +/x64/cygpcre2-8-0.dll 19/12/2022 13:59 64 2.39 n/a n/a n/a +/x64/cygwin1.dll 06/09/2023 12:29 64 2.41 3.4.9 Cygwin Cygwin POSIX Emulation DLL +/x64/echosrv.exe 14/11/2023 18:08 64 2.41 2.0.1 sslh:echosrv arch:x64 gcc:11.4.0 libconfig:v1.7.3 commit:1b26eb5 tag:v2.0.1 date:2023-09-24 +/x64/sslh-ev.exe 14/11/2023 18:08 64 2.41 2.0.1 sslh:sslh-ev arch:x64 gcc:11.4.0 libconfig:v1.7.3 commit:1b26eb5 tag:v2.0.1 date:2023-09-24 +/x64/sslh-fork.exe 14/11/2023 18:08 64 2.41 2.0.1 sslh:sslh-fork arch:x64 gcc:11.4.0 libconfig:v1.7.3 commit:1b26eb5 tag:v2.0.1 date:2023-09-24 +/x64/sslh-select.exe 14/11/2023 18:08 64 2.41 2.0.1 sslh:sslh-select arch:x64 gcc:11.4.0 libconfig:v1.7.3 commit:1b26eb5 tag:v2.0.1 date:2023-09-24 \ No newline at end of file diff --git a/x64/cygconfig-11.dll b/x64/cygconfig-11.dll new file mode 100644 index 0000000..ad0973e Binary files /dev/null and b/x64/cygconfig-11.dll differ diff --git a/x64/cygev-4.dll b/x64/cygev-4.dll new file mode 100644 index 0000000..44ac67b Binary files /dev/null and b/x64/cygev-4.dll differ diff --git a/x64/cygpcre2-8-0.dll b/x64/cygpcre2-8-0.dll new file mode 100644 index 0000000..c95abfa Binary files /dev/null and b/x64/cygpcre2-8-0.dll differ diff --git a/x64/cygwin1.dll b/x64/cygwin1.dll new file mode 100644 index 0000000..00d8a72 Binary files /dev/null and b/x64/cygwin1.dll differ diff --git a/x64/echosrv.exe b/x64/echosrv.exe new file mode 100644 index 0000000..1e1a79f Binary files /dev/null and b/x64/echosrv.exe differ diff --git a/x64/nssm-2.25.0.exe b/x64/nssm-2.25.0.exe new file mode 100644 index 0000000..0c9612f Binary files /dev/null and b/x64/nssm-2.25.0.exe differ diff --git a/x64/sslh-ev.exe b/x64/sslh-ev.exe new file mode 100644 index 0000000..c7cabe3 Binary files /dev/null and b/x64/sslh-ev.exe differ diff --git a/x64/sslh-fork.exe b/x64/sslh-fork.exe new file mode 100644 index 0000000..34a7d10 Binary files /dev/null and b/x64/sslh-fork.exe differ diff --git a/x64/sslh-select.exe b/x64/sslh-select.exe new file mode 100644 index 0000000..815389c Binary files /dev/null and b/x64/sslh-select.exe differ