net/sslh 2.3.1 FreeBSD
SSL/SSH multiplexer
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
ce5f3c10bd- License
- GPLv2
- Categories
- net
- Package size
- 91.9 KiB, 417.8 KiB installed
Description
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, TLS/SSL (including SNI and ALPN), SSH, OpenVPN, tinc, XMPP, SOCKS5, 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. With the SNI and ALPN probe, it makes a good front-end to a virtual host farm hosted behind a single IP address.
sslh has the bells and whistles expected from a mature daemon: privilege and capabilities dropping, inetd support, systemd support, transparent proxying, chroot, logging, IPv4 and IPv6, TCP and UDP, a fork-based and a select-based model, and more.
In the other systems
Install
Binary package:
pkg install sslh
From the ports tree:
cd /usr/ports/net/sslh/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sslh>0:net/sslh
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.3.1 | 2.3.1 | 1.22c_1 | 2.2.4 | 2.3.1 |
| FreeBSD:14:quarterly | 2.3.1 | 2.3.1 | n/a | 2.2.4 | 2.3.1 |
| FreeBSD:15:latest | 2.3.1 | 2.3.1 | n/a | 2.2.4 | 2.2.4 |
| FreeBSD:15:quarterly | 2.3.1 | 2.3.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.3.1 | 2.3.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 3
libconfig.so: devel/libconfiglibpcre2-8.so: devel/pcre2libev.so: devel/libev
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 4
No port depends on this one.
Configuration
Options name: net_sslh
| Option | Default | Description |
|---|---|---|
| EXAMPLES | off | Build and/or install examples |
| LIBWRAP | on | TCP wrapper support |
- USES
- cpe gmake
- Service scripts
sslh
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| yrutschle-sslh-v2.3.1_GH0.tar.gz | 535781 | 416b401cf8f0a43b575f7a1571bafd5375401d741833b27918aaecb200445f92 |