# HG changeset patch # User Pascal Bellard # Date 1484217676 -3600 # Node ID 997d6ae59d980c3e88ac096b7ff1ee49f6e62ca1 # Parent 22244c3bcd35a31bf3ef04cfd9d1a23515429ba0 Up sslh (1.18) diff -r 22244c3bcd35 -r 997d6ae59d98 sslh/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sslh/description.txt Thu Jan 12 11:41:16 2017 +0100 @@ -0,0 +1,15 @@ +`sslh` accepts connections on specified ports, and forwards +them further based on tests performed on the first data +packet sent by the remote client. + +Probes for HTTP, SSL, SSH, OpenVPN, tinc, XMPP are +implemented, and any other protocol that can be tested using +a regular expression, can be recognised. A typical use case +is to allow serving several services on port 443 (e.g. to +connect to SSH from inside a corporate firewall, which +almost never block port 443) while still serving HTTPS on +that port. + +Hence `sslh` acts as a protocol demultiplexer, or a +switchboard. Its name comes from its original function to +serve SSH and HTTPS on the same port. diff -r 22244c3bcd35 -r 997d6ae59d98 sslh/receipt --- a/sslh/receipt Thu Jan 12 10:25:29 2017 +0100 +++ b/sslh/receipt Thu Jan 12 11:41:16 2017 +0100 @@ -1,14 +1,15 @@ # SliTaz package receipt. PACKAGE="sslh" -VERSION="1.17" +VERSION="1.18" CATEGORY="network" SHORT_DESC="Accept HTTPS SSH OpenVPN Tinc & XMPP connections on the same port." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-v$VERSION.tar.gz" WEB_SITE="http://www.rutschle.net/tech/sslh.shtml" -WGET_URL="http://www.rutschle.net/tech/$TARBALL" +WGET_URL="http://www.rutschle.net/tech/sslh/$TARBALL" +CONFIG_FILES="/etc/sslh.cfg" TAGS="ssh vpn tunnel" DEPENDS="libwrap libconfig" @@ -23,7 +24,12 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/sbin + mkdir -p $fs/usr/sbin $fs/etc + mkdir -p $install/usr/share/man $install/usr/share/dpc cp -a $src/sslh-fork $fs/usr/sbin cp -a $src/sslh-select $fs/usr/sbin + cp basic.cfg $fs/etc/sslh.cfg + cp $src/sslh.8.gz $install/usr/share/man + cp $src/*.cfg $install/usr/share/doc + cp $src/README.md $install/usr/share/doc }