mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-20 18:57:39 +03:00
Changed log format to make it possible to link connections to subsequent logs from other services. Updated CentOS init.d script (Andre Krajnik). Fixed zombie issue with OpenBSD (The SA_NOCLDWAIT flag is not propagated to the child process, so we set up signals after the fork.) (François FRITZ) Added -o "OpenVPN" and OpenVPN probing and support. Added single-threaded, select(2)-based version. Added support for "Bold" SSH clients (clients that speak first) Thanks to Guillaume Ricaud for spotting a regression bug. Added -f "foreground" option. Added test suite. (only tests connexions. No test for libwrap, setsid, setuid and so on) and corresponding 'make test' target. Added README.MacOSX (thanks Aaron Madlon-Kay) Documented use with proxytunnel and corkscrew in README.
55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
|
|
sslh is available for Mac OS X via MacPorts. If you have
|
|
MacPorts installed on your system you can install sslh by
|
|
executing the following in the Terminal:
|
|
|
|
port install sslh
|
|
|
|
Also, the following is a helpful launchd configuration that
|
|
covers the most common use case of sslh. Save the following
|
|
into a text file, e.g.
|
|
/Library/LaunchDaemons/net.rutschle.sslh.plist, then load it
|
|
with launchctl or simply reboot.
|
|
|
|
----BEGIN FILE----
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
|
|
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Disabled</key>
|
|
<false/>
|
|
<key>KeepAlive</key>
|
|
<true/>
|
|
<key>Label</key>
|
|
<string>net.rutschle.sslh</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>/opt/local/sbin/sslh</string>
|
|
<string>-f</string>
|
|
<string>-v</string>
|
|
<string>-u</string>
|
|
<string>nobody</string>
|
|
<string>-p</string>
|
|
<string>0.0.0.0:443</string>
|
|
<string>-s</string>
|
|
<string>localhost:22</string>
|
|
<string>-l</string>
|
|
<string>localhost:443</string>
|
|
</array>
|
|
<key>QueueDirectories</key>
|
|
<array/>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
<key>StandardErrorPath</key>
|
|
<string>/Library/Logs/sslh.log</string>
|
|
<key>StandardOutPath</key>
|
|
<string>/Library/Logs/sslh.log</string>
|
|
<key>WatchPaths</key>
|
|
<array/>
|
|
</dict>
|
|
</plist>
|
|
----END FILE----
|
|
|
|
|