BSD Ports

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

SystemPortVersion
FreeBSDnet/sslh2.3.1
OpenBSDnet/sslh2.3.1p1
NetBSDnet/sslh2.2.4nb2
DragonFlynet/sslh2.1.3
HardenedBSDnet/sslh2.3.1
GhostBSDnet/sslh2.3.1
OPNsensenet/sslh2.3.1

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.3.12.3.11.22c_12.2.42.3.1
FreeBSD:14:quarterly2.3.12.3.1n/a2.2.42.3.1
FreeBSD:15:latest2.3.12.3.1n/a2.2.42.2.4
FreeBSD:15:quarterly2.3.12.3.1n/an/an/a
FreeBSD:16:latest2.3.12.3.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 3

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

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
LIBWRAPonTCP wrapper support
USES
cpe gmake
Service scripts
sslh

Files

distinfo 1
FileSizeSHA256
yrutschle-sslh-v2.3.1_GH0.tar.gz535781416b401cf8f0a43b575f7a1571bafd5375401d741833b27918aaecb200445f92

Commit history 1

DateCommitCreditsLog message
ce5f3c10bd Bernhard Froehlich net/sslh: Add CPE information
Event: EuroBSDcon 2026