stunnel4 - Universal SSL tunnel for network daemons

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: stunnel4
Package version: 5.30
Package release: 1
Package architecture: i386
Package type: deb
Installed size: 444 B
Download size: 150.20 KB
Official Mirror:
The stunnel program is designed to work as SSL encryption wrapper between remote client and local (inetd-startable) or remote server. The concept is that having non-SSL aware daemons running on your system you can easily setup them to communicate with clients over secure SSL channel. stunnel can be used to add SSL functionality to commonly used inetd daemons like POP-2, POP-3 and IMAP servers without any changes in the programs' code. This package contains a wrapper script for compatibility with stunnel 3.x



  • stunnel


  • stunnel


    Binary package: stunnel4_5.30-1_i386.deb
    Source package: stunnel4

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install stunnel4 deb package:
      # sudo apt-get install stunnel4


    • /etc/default/stunnel4
    • /etc/init.d/stunnel4
    • /etc/logrotate.d/stunnel4
    • /etc/ppp/ip-down.d/0stunnel4
    • /etc/ppp/ip-up.d/0stunnel4
    • /etc/stunnel/README
    • /usr/bin/stunnel
    • /usr/bin/stunnel3
    • /usr/bin/stunnel4
    • /usr/lib/i386-linux-gnu/stunnel/
    • /usr/share/doc-base/stunnel4
    • /usr/share/doc/stunnel4/BUGS
    • /usr/share/doc/stunnel4/NEWS.Debian.gz
    • /usr/share/doc/stunnel4/NEWS.gz
    • /usr/share/doc/stunnel4/README
    • /usr/share/doc/stunnel4/README.Debian
    • /usr/share/doc/stunnel4/TODO
    • /usr/share/doc/stunnel4/changelog.Debian.gz
    • /usr/share/doc/stunnel4/copyright
    • /usr/share/doc/stunnel4/stunnel.html
    • /usr/share/doc/stunnel4/
    • /usr/share/doc/stunnel4/contrib/
    • /usr/share/doc/stunnel4/examples/ca.html
    • /usr/share/doc/stunnel4/examples/
    • /usr/share/doc/stunnel4/examples/importCA.html
    • /usr/share/doc/stunnel4/examples/
    • /usr/share/doc/stunnel4/examples/openssl.cnf
    • /usr/share/doc/stunnel4/examples/stunnel.conf-sample
    • /usr/share/lintian/overrides/stunnel4
    • /usr/share/man/man8/stunnel.8.gz
    • /usr/share/man/man8/stunnel3.8.gz
    • /usr/share/man/man8/stunnel4.8.gz
    • /usr/share/man/pl/man8/stunnel4.8.gz


    2016-01-31 - Peter Pentchev <> stunnel4 (3:5.30-1) unstable; urgency=medium * New upstream release: - bump the upstream copyright years - refresh the 02-rename-binary patch - refresh the 10-no-zlib-compression patch (line numbers only) * Bump the year on my debian/* copyright notice.

    2016-01-08 - Peter Pentchev <> stunnel4 (3:5.29-1) unstable; urgency=medium * New upstream release, refresh the patches' line numbers.

    2015-12-11 - Peter Pentchev <> stunnel4 (3:5.28-1) unstable; urgency=high * New upstream release: - high urgency: fix a bug introduced in 3:5.27-1: if an OpenSSL engine is used, the SSL library's initialization would not be performed completely, skipping, for instance, the proper initialization of the pseudo-random number generator - refresh the patches

    2015-12-04 - Peter Pentchev <> stunnel4 (3:5.27-1) unstable; urgency=medium * New upstream release: - refresh the patches - drop the 19-typos patch, applied upstream

    2015-11-19 - Peter Pentchev <> stunnel4 (3:5.26-1) unstable; urgency=medium * New upstream version: - drop the 14-lsb-init-functions, 18-lsb-startup, and 20-comparison patches, applied upstream - rework the 02-rename-binary and 10-no-zlib-compression patches - update the 19-typos patch: the fixes within it were applied upstream, but a couple of new typos were introduced - refresh patches - add the 21-author-tests patch to make the building of the Win32 binaries conditional on an environment variable and not on the presence of the .git directory - update the upstream copyright notice in debian/copyright * Drop the perl-modules dependency - "perl", brought in by perl:Depends, ought to be enough. * Run the build in all of the source directories. Closes: #804292 * Use an https:// URL for Vcs-Git.

    2015-06-14 - Peter Pentchev <> stunnel4 (3:5.18-1) unstable; urgency=medium * Add the 17-upstream-hangup patch to fix prematurely closed connections when there is still data to be written. Thanks to Joachim Falk for backporting the patch! Closes: #771241 * Add the 18-lsb-startup patch to make the daemons' startup consistent with the way things are done in Debian. Among other things, Closes: #782030 * Rework the patches a bit: - update the description of 01-fix-paths - move the tools/ chunk from 01-fix-paths to 02-rename-binary - drop 08-client-example: it was actually applied upstream, no need to add the same text twice - drop 11-no-rle-compression: the OpenSSL bug has been fixed somewhere in the 1.x release timeframe * Add the 19-typos patch to fix some minor documentation typos and rework the 02-rename-binary patch to make the change in the manual page during the stunnel.pod -> stunnel.8 rebuild * Add the 20-comparison patch to fix a minor logging bug. * Remove ${misc:Pre-Depends} as explained in debhelper's #783898. * Bump the year on my debian/* copyright notice. * Add --parallel to the debhelper invocation. * New upstream version: - rework the 01-fix-paths and the 10-zlib-compression patches to catch up with upstream updates - refresh patches - drop the 05-logrotate-warning-in-sample-conf patch, applied upstream - drop the 15-upstream-systemd-libs, 16-upstream-sslv23-method, and 17-upstream-hangup patches since they were cherry-picked from upstream to begin with - remove handling for the dropped French manual page

    2014-10-20 - Peter Pentchev <> stunnel4 (3:5.06-2) unstable; urgency=medium * Limit the systemd build dependency to Linux architectures only, so that we actually give Stunnel a chance to build on kFreeBSD or the Hurd. * Add debian/upstream/metadata.