Skip to content

Tags: andresrt/sslh

Tags

v1.22b

Toggle v1.22b's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
v1.22: 17AUG2021

	sslh-select now supports UDP protocols.
	Probes specified in the `protocols`
	configuration entry are tried on incoming packets,
	TCP or UDP, and forwarded based on the input
	protocol (an incoming TCP connection will be
	forwarded as TCP, and same with UDP).
	This has been tested with DNS as shown in udp.cfg:
	incoming packets that contain my domain name are
	assumed to be a DNS request and forwarded
	accordingly. Note this could cause problems if
	combined with incoming TLS with SNI.  UDP clients
	and servers need to agree on the IPv4/IPv6 they use:
	use the same protocol on all sides! Often, this
	means explicitely using 'ip4-localhost'.
	UDP sender-receiver pairs (connections, so to speak)
	are kept for 60s, which can be changed with
	`udp_timeout` in the configuration.

	Added probes for UDP protocols QUICK and Teamspeak.

	Added probes for syslog protocol.

	sslh-select refactored to change linear searches
	through connections to linear searches through
	fd_set.

	Fixed a libconfig call to support libconfig 1.7.3.

	Added symbol to support libconfig 1.4.9, still in
	use in CentOS7.

	Warn about unknown settings in the configuration
	file.

	Added per-protocol `transparent` option. sslh-fork
	drops the capability after creating the server-side
	transparent socket. Transparent now uses CAP_NET_RAW
	instead of CAP_NET_ADMIN.

	Removed compile-time option to use POSIX regex. Now
	regex must be PCRE2 (Perl-Compatible). This was in
	fact the case since v1.21, as PCRE are used to parse
	the config file.

v1.22

Toggle v1.22's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
v1.22: 17AUG2021

 sslh-select now supports UDP protocols.
 Probes specified in the `protocols`
 configuration entry are tried on incoming packets,
 TCP or UDP, and forwarded based on the input
 protocol (an incoming TCP connection will be
 forwarded as TCP, and same with UDP).
 This has been tested with DNS as shown in udp.cfg:
 incoming packets that contain my domain name are
 assumed to be a DNS request and forwarded
 accordingly. Note this could cause problems if
 combined with incoming TLS with SNI.  UDP clients
 and servers need to agree on the IPv4/IPv6 they use:
 use the same protocol on all sides! Often, this
 means explicitely using 'ip4-localhost'.
 UDP sender-receiver pairs (connections, so to speak)
 are kept for 60s, which can be changed with
 `udp_timeout` in the configuration.

 Added probes for UDP protocols QUICK and Teamspeak.

 Added probes for syslog protocol.

 sslh-select refactored to change linear searches
 through connections to linear searches through
 fd_set.

 Fixed a libconfig call to support libconfig 1.7.3.

 Added symbol to support libconfig 1.4.9, still in
 use in CentOS7.

 Warn about unknown settings in the configuration
 file.

 Added per-protocol `transparent` option. sslh-fork
 drops the capability after creating the server-side
 transparent socket. Transparent now uses CAP_NET_RAW
 instead of CAP_NET_ADMIN.

 Removed compile-time option to use POSIX regex. Now
 regex must be PCRE2 (Perl-Compatible). This was in
 fact the case since v1.21, as PCRE are used to parse
 the config file.

v1.21c

Toggle v1.21c's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
Removed support for 'ssl' and fix a related segfault bug.

v1.21b

Toggle v1.21b's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
Added TCP_FASTOPEN support for client sockets (if tfo_ok is specified…

… in their configuration) and for listenint socket, if all client protocols support it. (Craig Andrews)

Added 'minlength' option to skip a probe if less than that many bytes have been received (mostly for regex)

Moved configuration and command-line management to use conf2struct. Changes are:
* command line option <-F|--config> no longer defaults to /etc/sslh.cfg, so you have to specify it explicitly.
* command line option <-v|--verbose> takes a mandatory integer parameter

Update Let's Encrypt entry in example.cfg for tls-alpn-01 challenges; tls-sni-* challenges are now deprecated.

Log to syslog even if in foreground (for people who use fail2ban)

Use syslog_facility: "none" to disable syslog output.

Changed exit code for illegal command line parameter from 1 to 6 (for testing purposes)

v1.21

Toggle v1.21's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
Added TCP_FASTOPEN support for client sockets (if tfo_ok is

specified in their configuration) and for listenint socket,
if all client protocols support it.  (Craig Andrews)

Added 'minlength' option to skip a probe if less
than that many bytes have been received (mostly for
regex)

Moved configuration and command-line management to
use conf2struct. Hopefully this should be transparent
to users.

Update Let's Encrypt entry in example.cfg for tls-alpn-01
challenges; tls-sni-* challenges are now deprecated.

Log to syslog even if in foreground (for people who
use fail2ban)

Use syslog_facility: "none" to disable syslog
output.

v1.20

Toggle v1.20's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
v1.20: 20NOV2018

	Added support for socks5 protocol (Eugene Protozanov)

	New probing method:
	Before, probes were tried in order, repeating on the
	same probe as long it returned PROBE_AGAIN before
	moving to the next one. This means a probe which
	requires a lot of data (i.e. returne PROBE_AGAIN for
	a long time) could prevent sucessful matches from
	subsequent probes. The configuration file needed to
	take that into account.

	Now, all probes are tried each time new data is
	found. If any probe matches, use it. If at least one
	probe requires more data, wait for more. If all
	probes failed, connect to the last one. So the only
	thing to know when writing the configuration file is
	that 'anyprot' needs to be last.

	Test suite heavily refactored; `t` uses `test.cfg`
	to decide which probes to test and all setup is
	automatic; probes get tested with 'fast' (entire
	first message in one packet) and 'slow' (one byte at
	a time); when SNI/ALPN are defined, all combinations
	are tested.

	Old 'tls' probe removed, 'sni_alpn' probe renamed as 'tls'.
	You'll need to change 'sni_alpn' to 'tls' in
	your configuration file, if ever you used it.

v1.19c

Toggle v1.19c's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
bug fix

v1.19b

Toggle v1.19b's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
v1.19b -- bug fix

v1.19

Toggle v1.19's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
v1.19: 20JAN2018

	Added 'syslog_facility' configuration option to
	specify where to log.

	TLS now supports SNI and ALPN (Travis Burtrum),
	including support for Let's Encrypt challenges
	(Jonathan McCrohan)

	ADB probe. (Mike Frysinger)

	Added per-protocol 'fork' option. (Oleg Oshmyan)

	Added chroot option. (Mike Frysinger)

	A truckload of bug fixes and documentation
	improvements (Various contributors)

v1.18

Toggle v1.18's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
yrutschle Yves Rutschle
v1.18: 29MAR2016

        Added USELIBPCRE to make use of regex engine
        optional.

        Added support for RFC4366 SNI and RFC7301 ALPN
        (Travis Burtrum)

        Changed connection log to include the name of the probe that
        triggered.

        Changed configuration file format: 'probe' field is
        no longer required, 'name' field can now contain
        'tls' or 'regex', with corresponding options (see
        example.cfg)
        Added 'log_level' option to each protocol, which
        allows to turn off generation of log at each
        connection.
        Added 'keepalive' option.