head 1.22; access; symbols pkgsrc-2023Q2:1.21.0.42 pkgsrc-2023Q2-base:1.21 pkgsrc-2023Q1:1.21.0.40 pkgsrc-2023Q1-base:1.21 pkgsrc-2022Q4:1.21.0.38 pkgsrc-2022Q4-base:1.21 pkgsrc-2022Q3:1.21.0.36 pkgsrc-2022Q3-base:1.21 pkgsrc-2022Q2:1.21.0.34 pkgsrc-2022Q2-base:1.21 pkgsrc-2022Q1:1.21.0.32 pkgsrc-2022Q1-base:1.21 pkgsrc-2021Q4:1.21.0.30 pkgsrc-2021Q4-base:1.21 pkgsrc-2021Q3:1.21.0.28 pkgsrc-2021Q3-base:1.21 pkgsrc-2021Q2:1.21.0.26 pkgsrc-2021Q2-base:1.21 pkgsrc-2021Q1:1.21.0.24 pkgsrc-2021Q1-base:1.21 pkgsrc-2020Q4:1.21.0.22 pkgsrc-2020Q4-base:1.21 pkgsrc-2020Q3:1.21.0.20 pkgsrc-2020Q3-base:1.21 pkgsrc-2020Q2:1.21.0.18 pkgsrc-2020Q2-base:1.21 pkgsrc-2020Q1:1.21.0.14 pkgsrc-2020Q1-base:1.21 pkgsrc-2019Q4:1.21.0.16 pkgsrc-2019Q4-base:1.21 pkgsrc-2019Q3:1.21.0.12 pkgsrc-2019Q3-base:1.21 pkgsrc-2019Q2:1.21.0.10 pkgsrc-2019Q2-base:1.21 pkgsrc-2019Q1:1.21.0.8 pkgsrc-2019Q1-base:1.21 pkgsrc-2018Q4:1.21.0.6 pkgsrc-2018Q4-base:1.21 pkgsrc-2018Q3:1.21.0.4 pkgsrc-2018Q3-base:1.21 pkgsrc-2018Q2:1.21.0.2 pkgsrc-2018Q2-base:1.21 pkgsrc-2018Q1:1.20.0.12 pkgsrc-2018Q1-base:1.20 pkgsrc-2017Q4:1.20.0.10 pkgsrc-2017Q4-base:1.20 pkgsrc-2017Q3:1.20.0.8 pkgsrc-2017Q3-base:1.20 pkgsrc-2017Q2:1.20.0.4 pkgsrc-2017Q2-base:1.20 pkgsrc-2017Q1:1.20.0.2 pkgsrc-2017Q1-base:1.20 pkgsrc-2016Q4:1.19.0.12 pkgsrc-2016Q4-base:1.19 pkgsrc-2016Q3:1.19.0.10 pkgsrc-2016Q3-base:1.19 pkgsrc-2016Q2:1.19.0.8 pkgsrc-2016Q2-base:1.19 pkgsrc-2016Q1:1.19.0.6 pkgsrc-2016Q1-base:1.19 pkgsrc-2015Q4:1.19.0.4 pkgsrc-2015Q4-base:1.19 pkgsrc-2015Q3:1.19.0.2 pkgsrc-2015Q3-base:1.19 pkgsrc-2015Q2:1.18.0.2 pkgsrc-2015Q2-base:1.18 pkgsrc-2015Q1:1.17.0.4 pkgsrc-2015Q1-base:1.17 pkgsrc-2014Q4:1.17.0.2 pkgsrc-2014Q4-base:1.17 pkgsrc-2014Q3:1.16.0.6 pkgsrc-2014Q3-base:1.16 pkgsrc-2014Q2:1.16.0.4 pkgsrc-2014Q2-base:1.16 pkgsrc-2014Q1:1.16.0.2 pkgsrc-2014Q1-base:1.16 pkgsrc-2013Q4:1.15.0.18 pkgsrc-2013Q4-base:1.15 pkgsrc-2013Q3:1.15.0.16 pkgsrc-2013Q3-base:1.15 pkgsrc-2013Q2:1.15.0.14 pkgsrc-2013Q2-base:1.15 pkgsrc-2013Q1:1.15.0.12 pkgsrc-2013Q1-base:1.15 pkgsrc-2012Q4:1.15.0.10 pkgsrc-2012Q4-base:1.15 pkgsrc-2012Q3:1.15.0.8 pkgsrc-2012Q3-base:1.15 pkgsrc-2012Q2:1.15.0.6 pkgsrc-2012Q2-base:1.15 pkgsrc-2012Q1:1.15.0.4 pkgsrc-2012Q1-base:1.15 pkgsrc-2011Q4:1.15.0.2 pkgsrc-2011Q4-base:1.15 pkgsrc-2011Q3:1.14.0.2 pkgsrc-2011Q3-base:1.14 pkgsrc-2011Q2:1.11.0.30 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.28 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.26 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.24 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.22 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.20 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.18 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.16 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.14 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.12 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.11.0.10 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.8 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.6 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.4 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.2 pkgsrc-2008Q1:1.9.0.10 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.8 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.6 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.4 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.2 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.7.0.2 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.6.0.14 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.12 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.10 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.8 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.6 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.4 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.2 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.4 netbsd-1-5-PATCH001:1.2; locks; strict; comment @# @; 1.22 date 2023.07.09.02.00.53; author taca; state dead; branches; next 1.21; commitid d0GuvSGnQo0dm4wE; 1.21 date 2018.06.07.18.54.20; author ryoon; state Exp; branches; next 1.20; commitid XTAfUf74xgPGGnFA; 1.20 date 2017.01.24.03.34.28; author ryoon; state Exp; branches; next 1.19; commitid njDINFl1BLxBDaDz; 1.19 date 2015.07.25.03.11.18; author ryoon; state Exp; branches; next 1.18; commitid 09qRJHW6byNJ9Cuy; 1.18 date 2015.06.05.20.41.04; author youri; state Exp; branches; next 1.17; commitid 4xfbNSR1hW5gzhoy; 1.17 date 2014.11.07.11.30.47; author schmonz; state Exp; branches; next 1.16; commitid gd0jshWAj3eihfXx; 1.16 date 2014.03.12.00.24.35; author jym; state Exp; branches; next 1.15; commitid XkNMBbASU6hThlsx; 1.15 date 2011.11.10.21.01.39; author ryoon; state Exp; branches 1.15.18.1; next 1.14; 1.14 date 2011.08.31.08.26.16; author jym; state Exp; branches; next 1.13; 1.13 date 2011.08.24.17.56.50; author tron; state Exp; branches; next 1.12; 1.12 date 2011.07.11.14.20.24; author ryoon; state Exp; branches; next 1.11; 1.11 date 2008.05.29.00.44.30; author schmonz; state Exp; branches; next 1.10; 1.10 date 2008.05.27.11.51.32; author tnn; state dead; branches; next 1.9; 1.9 date 2007.01.23.21.53.58; author smb; state Exp; branches 1.9.10.1; next 1.8; 1.8 date 2007.01.14.00.07.15; author schmonz; state Exp; branches; next 1.7; 1.7 date 2006.10.16.20.14.26; author tv; state Exp; branches; next 1.6; 1.6 date 2005.01.03.12.17.44; author martti; state dead; branches; next 1.5; 1.5 date 2004.12.28.09.09.52; author martti; state Exp; branches; next 1.4; 1.4 date 2001.08.19.16.26.08; author martin; state dead; branches; next 1.3; 1.3 date 2001.08.10.14.41.19; author martin; state Exp; branches; next 1.2; 1.2 date 2001.01.22.13.30.36; author martin; state Exp; branches; next 1.1; 1.1 date 2000.12.19.07.03.22; author jlam; state Exp; branches; next ; 1.15.18.1 date 2014.03.12.09.41.09; author tron; state Exp; branches; next ; commitid BlK3OgVOuLcYnosx; 1.9.10.1 date 2008.05.27.13.29.03; author rtr; state dead; branches; next ; desc @@ 1.22 log @security/stunnel: update to 5.69 Now support OpenSSL 3.0 and stop pkglint's warning. Version 5.69, 2023.03.04, urgency: MEDIUM * New features - Improved logging performance with the "output" option. - Improved file read performance on the WIN32 platform. - DH and kDHEPSK ciphersuites removed from FIPS defaults. - Set the LimitNOFILE ulimit in stunnel.service to allow for up to 10,000 concurrent clients. * Bugfixes - Fixed the "CApath" option on the WIN32 platform by applying https://github.com/openssl/openssl/pull/20312. - Fixed stunnel.spec used for building rpm packages. - Fixed tests on some OSes and architectures by merging Debian 07-tests-errmsg.patch (thx to Peter Pentchev). Version 5.68, 2023.02.07, urgency: HIGH * Security bugfixes - OpenSSL DLLs updated to version 3.0.8. * New features - Added the new 'CAengine' service-level option to load a trusted CA certificate from an engine. - Added requesting client certificates in server mode with 'CApath' besides 'CAfile'. - Improved file read performance. - Improved logging performance. * Bugfixes - Fixed EWOULDBLOCK errors in protocol negotiation. - Fixed handling TLS errors in protocol negotiation. - Prevented following fatal TLS alerts with TCP resets. - Improved OpenSSL initialization on WIN32. - Improved testing suite stability. Version 5.67, 2022.11.01, urgency: HIGH * Security bugfixes - OpenSSL DLLs updated to version 3.0.7. * New features - Provided a logging callback to custom engines. * Bugfixes - Fixed "make cert" with OpenSSL older than 3.0. - Fixed the code and the documentation to use conscious language for SNI servers (thx to Clemens Lang). Version 5.66, 2022.09.11, urgency: MEDIUM * New features - OpenSSL 3.0 FIPS Provider support for Windows. * Bugfixes - Fixed building on machines without pkg-config. - Added the missing "environ" declaration for BSD-based operating systems. - Fixed the passphrase dialog with OpenSSL 3.0. Version 5.65, 2022.07.17, urgency: HIGH * Security bugfixes - OpenSSL DLLs updated to version 3.0.5. * Bugfixes - Fixed handling globally enabled FIPS. - Fixed openssl.cnf processing in WIN32 GUI. - Fixed a number of compiler warnings. - Fixed tests on older versions of OpenSSL. Version 5.64, 2022.05.06, urgency: MEDIUM * Security bugfixes - OpenSSL DLLs updated to version 3.0.3. * New features - Updated the pkcs11 engine for Windows. * Bugfixes - Removed the SERVICE_INTERACTIVE_PROCESS flag in "stunnel -install". Version 5.63, 2022.03.15, urgency: HIGH * Security bugfixes - OpenSSL DLLs updated to version 3.0.2. * New features - Updated stunnel.spec to support bash completion. * Bugfixes - Fixed a PRNG initialization crash (thx to Gleydson Soares). Version 5.62, 2022.01.17, urgency: MEDIUM * New features - Added a bash completion script. * Bugfixes - Fixed a transfer() loop bug. Version 5.61, 2021.12.22, urgency: LOW * New features sponsored by the University of Maryland - Added new "protocol = capwin" and "protocol = capwinctrl" configuration file options. * New features for the Windows platform - Added client mode allowing authenticated users to view logs, reconfigure and terminate running stunnel services. - Added support for multiple GUI and service instances distinguised by the location of stunnel.conf. - Improved log window scrolling. - Added a new 'Pause auto-scroll' GUI checkbox. - Double click on the icon tray replaced with single click. - OpenSSL DLLs updated to version 3.0.1. * Other new features - Rewritten the testing framework in python (thx to Peter Pentchev for inspiration and initial framework). - Added support for missing SSL_set_options() values. - Updated stunnel.spec to support RHEL8. * Bugfixes - Fixed OpenSSL 3.0 build. - Fixed reloading configuration with "systemctl reload stunnel.service". - Fixed incorrect messages logged for OpenSSL errors. - Fixed printing IPv6 socket option defaults on FreeBSD. @ text @$NetBSD: patch-ac,v 1.21 2018/06/07 18:54:20 ryoon Exp $ We'll take care of PKG_SYSCONFSUBDIR ourselves, thanks. --- src/Makefile.in.orig 2018-05-23 12:54:04.000000000 +0000 +++ src/Makefile.in @@@@ -383,7 +383,7 @@@@ CLEANFILES = stunnel3 # Additional preprocesor definitions stunnel_CPPFLAGS = -I$(SYSROOT)/usr/kerberos/include \ -I$(SSLDIR)/include -DLIBDIR='"$(pkglibdir)"' \ - -DCONFDIR='"$(sysconfdir)/stunnel"' + -DCONFDIR='"$(sysconfdir)"' # TLS library stunnel_LDFLAGS = -L$(SSLDIR)/lib64 -L$(SSLDIR)/lib -lssl -lcrypto @ 1.21 log @Update to 5.46 Changelog: Version 5.46, 2018.05.28, urgency: MEDIUM * New features - The default cipher list was updated to a safer value: "HIGH:!aNULL:!SSLv2:!DH:!kDHEPSK". * Bugfixes - Default accept address restored to INADDR_ANY. Version 5.45, 2018.05.21, urgency: MEDIUM * New feature sponsored by https://loadbalancer.org/ - Implemented delayed deallocation of service sections after configuration file reload. * Other new features - OpenSSL DLLs updated to version 1.0.2o. - Deprecated the sslVersion option. - The "socket" option is now also available in service sections. - Implemented try-restart in the SysV init script (thx to Peter Pentchev). - TLS 1.3 compliant session handling for OpenSSL 1.1.1. - Default "failover" value changed from "rr" to "prio". - New "make check" tests. * Bugfixes - A service no longer refuses to start if binding fails for some (but not all) addresses:ports. - Fixed compression handling with OpenSSL 1.1.0 and later. - _beginthread() replaced with safer _beginthreadex(). - Fixed exception handling in libwrap. - Fixed exec+connect services. - Fixed automatic resolver delaying. - Fixed a Gentoo cross-compilation bug (thx to Joe Harvell). - A number of "make check" framework fixes. - Fixed false postive memory leak logs. - Build fixes for OpenSSL versions down to 0.9.7. - Fixed (again) round-robin failover in the FORK threading model. Version 5.44, 2017.11.26, urgency: MEDIUM * New features - Signed Win32 executables, libraries, and installer. * Bugfixes - Default accept address restored to INADDR_ANY. - Fixed a race condition in "make check". - Fixed removing the pid file after configuration reload. Version 5.43, 2017.11.05, urgency: LOW * New features - OpenSSL DLLs updated to version 1.0.2m. - Android build updated to OpenSSL 1.1.0g. - Allow for multiple "accept" ports per section. - Self-test framework (make check). - Added config load before OpenSSL init (thx to Dmitrii Pichulin). - OpenSSL 1.1.0 support for Travis CI. - OpenSSL 1.1.1-dev compilation fixes. * Bugfixes - Fixed a memory fault on Solaris. - Fixed round-robin failover in the FORK threading model. - Fixed handling SSL_ERROR_ZERO_RETURN in SSL_shutdown(). - Minor fixes of the logging subsystem. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.20 2017/01/24 03:34:28 ryoon Exp $ @ 1.20 log @Update to 5.39 Changelog: Version 5.39, 2017.01.01, urgency: LOW * New features - PKCS#11 engine (pkcs11.dll) added to the Win32 build. - Per-destination TLS session cache added for the client mode. - The new "logId" parameter "process" added to log PID values. - Added support for the new SSL_set_options() values. - Updated the manual page. - Obsolete references to "SSL" replaced with "TLS". * Bugfixes - Fixed "logId" parameter to also work in inetd mode. - "delay = yes" properly enforces "failover = prio". - Fixed fd_set allocation size on Win64. - Fixed reloading invalid configuration file on Win32. - Fixed resolving addresses with unconfigured network interfaces. Version 5.38, 2016.11.26, urgency: MEDIUM * New features - "sni=" can be used to prevent sending the SNI extension. - The AI_ADDRCONFIG resolver flag is used when available. - Merged Debian 06-lfs.patch (thx Peter Pentchev). * Bugfixes - Fixed a memory allocation bug causing crashes with OpenSSL 1.1.0. - Fixed error handling for mixed IPv4/IPv6 destinations. - Merged Debian 08-typos.patch (thx Peter Pentchev). Version 5.37, 2016.11.06, urgency: MEDIUM * Bugfixes - OpenSSL DLLs updated to version 1.0.2j (stops crashes). - The default SNI target (not handled by any slave service) is handled by the master service rather than rejected. - Removed thread synchronization in the FORK threading model. Version 5.36, 2016.09.22, urgency: HIGH * Security bugfixes - OpenSSL DLLs updated to version 1.0.2i. https://www.openssl.org/news/secadv_20160922.txt * New features - Added support for OpenSSL 1.1.0 built with "no-deprecated". - Removed direct zlib dependency. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.19 2015/07/25 03:11:18 ryoon Exp $ d5 1 a5 1 --- src/Makefile.in.orig 2017-01-01 22:17:59.000000000 +0000 d7 1 a7 2 @@@@ -375,7 +375,7 @@@@ CLEANFILES = stunnel3 d9 4 a12 3 stunnel_CPPFLAGS = -I/usr/kerberos/include -I$(SSLDIR)/include \ - -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)/stunnel"' + -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)"' @ 1.19 log @Update to 5.20 Changelog: Version 5.20, 2015.07.09, urgency: HIGH * Security bugfixes - OpenSSL DLLs updated to version 1.0.2d. https://www.openssl.org/news/secadv_20150709.txt * New features - poll(2) re-enabled on MacOS X 10.5 and later. - Xcode SDK is automatically used on MacOS X if no other locally installed OpenSSL directory is found. - The SSL library detection algorithm was made a bit smarter. - Warnings about insecure authentication were modified to include the name of the affected service section. - A warning was added to stunnel.init if no pid file was specified in the configuration file (thx to Peter Pentchev). - Optional debugging symbols are included in the Win32 installer. - Documentation updates (closes Debian bug #781669). * Bugfixes - Signal pipe reinitialization added to prevent turning the main accepting thread into a busy wait loop when an external condition breaks the signal pipe. This bug was found to surface on Win32, but other platforms may also be affected. - Fixed removing the disabled taskbar icon. - Generated temporary DH parameters are used for configuration reload instead of the static defaults. - LSB compatibility fixes added to the stunnel.init script (thx to Peter Pentchev). - Fixed the manual page headers (thx to Gleydson Soares). Version 5.19, 2015.06.16, urgency: MEDIUM: * New features - OpenSSL DLLs updated to version 1.0.2c. - Added a runtime check whether COMP_zlib() method is implemented in order to improve compatibility with the Debian OpenSSL build. * Bugfixes - Improved socket error handling. - Cron thread priority on Win32 platform changed to THREAD_PRIORITY_LOWEST to improve portability. - Makefile bugfixes for stunnel 5.18 regressions. - Fixed some typos in docs and scripts (thx to Peter Pentchev). - Fixed a log level check condition (thx to Peter Pentchev). Version 5.18, 2015.06.12, urgency: MEDIUM: * New features - OpenSSL DLLs updated to version 1.0.2b. https://www.openssl.org/news/secadv_20150611.txt - Added "include" configuration file option to include all configuration file parts located in a specified directory. - Log file is reopened every 24 hours. With "log = overwrite" this feature can be used to prevent filling up disk space. - Temporary DH parameters are refreshed every 24 hours, unless static DH parameters were provided in the certificate file. - Unique initial DH parameters are distributed with each release. - Warnings are logged on potentially insecure authentication. - Improved compatibility with the current OpenSSL 1.1.0-dev tree: removed RLE compression support, etc. - Updated stunnel.spec (thx to Bill Quayle). * Bugfixes - Fixed handling of dynamic connect targets. - Fixed handling of trailing whitespaces in the Content-Length header of the NTLM authentication. - Fixed --sysconfdir and --localstatedir handling (thx to Dagobert Michelsen). @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.18 2015/06/05 20:41:04 youri Exp $ d5 1 a5 1 --- src/Makefile.in.orig 2015-07-09 13:41:47.000000000 +0000 d7 1 a7 1 @@@@ -396,7 +396,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d14 1 a14 1 # SSL library @ 1.18 log @Update stunnel to 5.17. Thanks Ben Gergely for the patch! distfile was signed with: pub 4096R/DD3AAAA3 2015-02-06 Key fingerprint = AC91 5EA3 0645 D9D3 D4DA E4FE B104 8932 DD3A AAA3 uid [ unknown] MichaƂ Trojnara @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.17 2014/11/07 11:30:47 schmonz Exp $ d5 1 a5 1 --- src/Makefile.in.orig 2015-04-29 18:17:24.000000000 +0000 d7 1 a7 1 @@@@ -388,7 +388,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version @ 1.17 log @Update to 5.07. From the changelog: Version 5.07, 2014.11.01, urgency: MEDIUM: * New features - Several SMTP server protocol negotiation improvements. - Added UTF-8 byte order marks to stunnel.conf templates. - DH parameters are no longer generated by "make cert". The hardcoded DH parameters are sufficiently secure, and modern TLS implementations will use ECDH anyway. - Updated manual for the "options" configuration file option. - Added support for systemd 209 or later. - New --disable-systemd ./configure option. - setuid/setgid commented out in stunnel.conf-sample. * Bugfixes - Added support for UTF-8 byte order mark in stunnel.conf. - Compilation fix for OpenSSL with disabled SSLv2 or SSLv3. - Non-blocking mode set on inetd and systemd descriptors. - shfolder.h replaced with shlobj.h for compatibility with modern Microsoft compilers. Version 5.06, 2014.10.15, urgency: HIGH: * Security bugfixes - OpenSSL DLLs updated to version 1.0.1j. https://www.openssl.org/news/secadv_20141015.txt - The insecure SSLv2 protocol is now disabled by default. It can be enabled with "options = -NO_SSLv2". - The insecure SSLv3 protocol is now disabled by default. It can be enabled with "options = -NO_SSLv3". - Default sslVersion changed to "all" (also in FIPS mode) to autonegotiate the highest supported TLS version. * New features - Added missing SSL options to match OpenSSL 1.0.1j. - New "-options" commandline option to display the list of supported SSL options. * Bugfixes - Fixed FORK threading build regression bug. - Fixed missing periodic Win32 GUI log updates. Version 5.05, 2014.10.10, urgency: MEDIUM: * New features - Asynchronous communication with the GUI thread for faster logging on Win32. - systemd socket activation (thx to Mark Theunissen). - The parameter of "options" can now be prefixed with "-" to clear an SSL option, for example: "options = -LEGACY_SERVER_CONNECT". - Improved "transparent = destination" manual page (thx to Vadim Penzin). * Bugfixes - Fixed POLLIN|POLLHUP condition handling error resulting in prematurely closed (truncated) connection. - Fixed a null pointer dereference regression bug in the "transparent = destination" functionality (thx to Vadim Penzin). This bug was introduced in stunnel 5.00. - Fixed startup thread synchronization with Win32 GUI. - Fixed erroneously closed stdin/stdout/stderr if specified as the -fd commandline option parameter. - A number of minor Win32 GUI bugfixes and improvements. - Merged most of the Windows CE patches (thx to Pierre Delaage). - Fixed incorrect CreateService() error message on Win32. - Implemented a workaround for defective Cygwin file descriptor passing breaking the libwrap support: http://wiki.osdev.org/Cygwin_Issues#Passing_file_descriptors Version 5.04, 2014.09.21, urgency: LOW: * New features - Support for local mode ("exec" option) on Win32. - Support for UTF-8 config file and log file. - Win32 UTF-16 build (thx to Pierre Delaage for support). - Support for Unicode file names on Win32. - A more explicit service description provided for the Windows SCM (thx to Pierre Delaage). - TCP/IP dependency added for NT service in order to prevent initialization failure at boot time. - FIPS canister updated to version 2.0.8 in the Win32 binary build. * Bugfixes - load_icon_default() modified to return copies of default icons instead of the original resources to prevent the resources from being destroyed. - Partially merged Windows CE patches (thx to Pierre Delaage). - Fixed typos in stunnel.init.in and vc.mak. - Fixed incorrect memory allocation statistics update in str_realloc(). - Missing REMOTE_PORT environmental variable is provided to processes spawned with "exec" on Unix platforms. - Taskbar icon is no longer disabled for NT service. - Fixed taskbar icon initialization when commandline options are specified. - Reportedly more compatible values used for the dwDesiredAccess parameter of the CreateFile() function (thx to Pierre Delaage). - A number of minor Win32 GUI bugfixes and improvements. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.16 2014/03/12 00:24:35 jym Exp $ d5 1 a5 1 --- src/Makefile.in.orig 2014-10-23 15:09:25.000000000 +0000 d7 1 a7 1 @@@@ -310,7 +310,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d14 2 a15 2 # Win32 executable EXTRA_DIST = make.bat makece.bat makew32.bat mingw.mak evc.mak vc.mak \ @ 1.16 log @Update stunnel to 5.00. Of utmost importance: it fixes CVE 2014-0016. Thanks to jgw (Jeff W) _AT_ sdf.org for working on the same patch independently. In before the freeze! Changelog follows. Security bugfixes Added PRNG state update in fork threading (CVE-2014-0016). New global configuration file defaults Default "fips" option value is now "no", as FIPS mode is only helpful for compliance, and never for actual security. Default "pid" is now "", i.e. not to create a pid file at startup. New service-level configuration file defaults Default "ciphers" updated to "HIGH:MEDIUM:+3DES:+DH:!aNULL:!SSLv2" due to AlFBPPS attack and bad performance of DH ciphersuites. Default "libwrap" setting is now "no" to improve performance. New features OpenSSL DLLs updated to version 1.0.1f. zlib DLL updated to version 1.2.8. autoconf scripts upgraded to version 2.69. TLS 1.1 and TLS 1.2 are now allowed in the FIPS mode. New service-level option "redirect" to redirect SSL client connections on authentication failures instead of rejecting them. New global "engineDefault" configuration file option to control which OpenSSL tasks are delegated to the current engine. Available tasks: ALL, RSA, DSA, ECDH, ECDSA, DH, RAND, CIPHERS, DIGESTS, PKEY, PKEY_CRYPTO, PKEY_ASN1. New service-level configuration file option "engineId" to select the engine by identifier, e.g. "engineId = capi". New global configuration file option "log" to control whether to append (the default), or to overwrite log file while (re)opening. Different taskbar icon colors to indicate the service state. New global configuration file options "iconIdle", "iconActive", and "iconError" to select status icon on GUI taskbar. Removed the limit of 63 stunnel.conf sections on Win32 platform. Installation of a sample certificate was moved to a separate "cert" target in order to allow unattended (e.g. scripted) installations. Reduced length of the logged thread identifier. It is still based on the OS thread ID, and thus not unique over long periods of time. Improved readability of error messages printed when stunnel refuses to start due to a critical error. Bugfixes LD_PRELOAD Solaris compatibility bug fixed (thx to Norm Jacobs). CRYPTO_NUM_LOCKS replaced with CRYPTO_num_locks() to improve binary compatibility with diverse builds of OpenSSL (thx to Norm Jacobs). Corrected round-robin failover behavior under heavy load. Numerous fixes in the engine support code. On Win32 platform .rnd file moved from c:\ to the stunnel folder. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 --- src/Makefile.in.orig 2014-01-07 20:19:44.000000000 +0000 @ 1.15 log @Update to 4.46 Changelog: Version 4.46, 2011.11.04, urgency: LOW: * New features - Added Unix socket support (e.g. "connect = /var/run/stunnel/socket"). - Added "verify = 4" mode to ignore CA chain and only verify peer certificate. - Removed the limit of 16 IP addresses for a single 'connect' option. - Removed the limit of 256 stunnel.conf sections in PTHREAD threading model. It is still not possible have more than 63 sections on WIN32 platform. http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx * Optimizations - Reduced per-connection memory usage. - Performed a major refactoring of internal data structures. Extensive internal testing was performed, but some regression bugs are expected. * Bugfixes - Fixed WIN32 compilation with Mingw32. - Fixed non-blocking API emulation layer in UCONTEXT threading model. - Fixed signal handling in UCONTEXT threading model. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.14 2011/08/31 08:26:16 jym Exp $ d3 1 a3 3 Change pid file location. --- src/Makefile.in.orig 2011-11-04 20:24:15.000000000 +0000 d5 1 a5 1 @@@@ -271,7 +271,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d9 2 a10 3 - -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)/stunnel"' \ + -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)"' \ -DPIDFILE='"$(localstatedir)/run/stunnel/stunnel.pid"' d13 1 @ 1.15.18.1 log @Pullup ticket #4341 - requested by jym security/stunnel: security update Revisions pulled up: - security/stunnel/Makefile 1.86-1.87,1.89 via patch - security/stunnel/distinfo 1.38-1.39 - security/stunnel/patches/patch-ac 1.16 --- Module Name: pkgsrc Committed By: tron Date: Sun Jan 26 15:51:54 UTC 2014 Modified Files: pkgsrc/security/stunnel: Makefile Log Message: Fix permissions so that "etc/stunnel" belongs to the actual "root" user and not to the user that build the package. Bump package revision because of this fix. --- Module Name: pkgsrc Committed By: tron Date: Sun Jan 26 16:59:13 UTC 2014 Modified Files: pkgsrc/security/stunnel: Makefile distinfo Log Message: Update "stunnel" package to version 4.56. Changes since 4.55: - Fixed a regression bug introduced in version 4.55 causing random crashes on several platforms, including Windows 7. - Fixed incorrect "stunnel -exit" process synchronisation. - Fixed FIPS detection with new versions of the OpenSSL library. - Failure to open the log file at startup is no longer ignored. --- Module Name: pkgsrc Committed By: jym Date: Wed Mar 12 00:24:35 UTC 2014 Modified Files: pkgsrc/security/stunnel: Makefile distinfo pkgsrc/security/stunnel/patches: patch-ac Log Message: Update stunnel to 5.00. Of utmost importance: it fixes CVE 2014-0016. Thanks to jgw (Jeff W) _AT_ sdf.org for working on the same patch independently. In before the freeze! Changelog follows. Security bugfixes Added PRNG state update in fork threading (CVE-2014-0016). New global configuration file defaults Default "fips" option value is now "no", as FIPS mode is only helpful for compliance, and never for actual security. Default "pid" is now "", i.e. not to create a pid file at startup. New service-level configuration file defaults Default "ciphers" updated to "HIGH:MEDIUM:+3DES:+DH:!aNULL:!SSLv2" due to AlFBPPS attack and bad performance of DH ciphersuites. Default "libwrap" setting is now "no" to improve performance. New features OpenSSL DLLs updated to version 1.0.1f. zlib DLL updated to version 1.2.8. autoconf scripts upgraded to version 2.69. TLS 1.1 and TLS 1.2 are now allowed in the FIPS mode. New service-level option "redirect" to redirect SSL client connections on authentication failures instead of rejecting them. New global "engineDefault" configuration file option to control which OpenSSL tasks are delegated to the current engine. Available tasks: ALL, RSA, DSA, ECDH, ECDSA, DH, RAND, CIPHERS, DIGESTS, PKEY, PKEY_CRYPTO, PKEY_ASN1. New service-level configuration file option "engineId" to select the engine by identifier, e.g. "engineId = capi". New global configuration file option "log" to control whether to append (the default), or to overwrite log file while (re)opening. Different taskbar icon colors to indicate the service state. New global configuration file options "iconIdle", "iconActive", and "iconError" to select status icon on GUI taskbar. Removed the limit of 63 stunnel.conf sections on Win32 platform. Installation of a sample certificate was moved to a separate "cert" target in order to allow unattended (e.g. scripted) installations. Reduced length of the logged thread identifier. It is still based on the OS thread ID, and thus not unique over long periods of time. Improved readability of error messages printed when stunnel refuses to start due to a critical error. Bugfixes LD_PRELOAD Solaris compatibility bug fixed (thx to Norm Jacobs). CRYPTO_NUM_LOCKS replaced with CRYPTO_num_locks() to improve binary compatibility with diverse builds of OpenSSL (thx to Norm Jacobs). Corrected round-robin failover behavior under heavy load. Numerous fixes in the engine support code. On Win32 platform .rnd file moved from c:\ to the stunnel folder. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 --- src/Makefile.in.orig 2014-01-07 20:19:44.000000000 +0000 d7 1 a7 1 @@@@ -310,7 +310,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d11 3 a13 2 - -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)/stunnel"' + -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)"' a15 1 EXTRA_DIST = make.bat makece.bat makew32.bat mingw.mak evc.mak vc.mak \ @ 1.14 log @Remove stunnel/ component from SYSCONFDIR path. /stunnel/ is already set in PKG_SYSCONFDIR variable, so it is passed down to Makefile. Configuration final path ends up being etc/stunnel/stunnel/stunnel.conf, which is wrong. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.13 2011/08/24 17:56:50 tron Exp $ d5 3 a7 4 --- src/Makefile.in.orig 2011-08-17 12:15:27.000000000 +0100 +++ src/Makefile.in 2011-08-24 18:49:46.000000000 +0100 @@@@ -254,7 +254,7 @@@@ INCLUDES = -I/usr/kerberos/include d9 5 a13 3 # Additional compiler flags -AM_CPPFLAGS = -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)/stunnel"' -DPIDFILE='"$(localstatedir)/run/stunnel/stunnel.pid"' +AM_CPPFLAGS = -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)"' -DPIDFILE='"$(localstatedir)/run/stunnel.pid"' a15 1 EXTRA_DIST = stunnel.exe make.bat mingw.mak makece.bat evc.mak vc.mak makew32.bat nogui.c os2.mak @ 1.13 log @Update "stunnel" package to version 4.42. Changes since version 4.39: - New features - New verify level 0 to request and ignore peer certificate. This feature is useful with the new Windows GUI menu to save cached peer certificate chains, as SSL client certificates are not sent by default. - Manual page has been updated. - Removed support for changing Windows Service name with "service" option. - Hardcoded 2048-bit DH parameters are used as a fallback if DH parameters are not provided in stunnel.pem. - Default "ciphers" value updated to prefer ECDH: "ALL:!SSLv2:!aNULL:!EXP:!LOW:-MEDIUM:RC4:+HIGH". - Default ECDH curve updated to "prime256v1". - Removed support for temporary RSA keys (used in obsolete export ciphers). - Bugfixes - The -quiet commandline option was applied to *all* message boxes. - Silent install (/S option) no longer attempts to create stunnel.pem. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.12 2011/07/11 14:20:24 ryoon Exp $ d12 1 a12 1 +AM_CPPFLAGS = -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)/stunnel"' -DPIDFILE='"$(localstatedir)/run/stunnel.pid"' @ 1.12 log @Update to 4.39 Version 4.39, 2011.07.06, urgency: LOW: New features New Win32 installer module to build self-signed stunnel.pem. Added configuration file editing with Windows GUI. Added log file reopening file editing with Windows GUI. It might be useful to also implement log file rotation. Improved configuration file reload with Windows GUI. Version 4.38, 2011.06.28, urgency: MEDIUM: New features Server-side SNI implemented (RFC 3546 section 3.1) with a new service-level option "nsi". "socket" option also accepts "yes" and "no" for flags. Nagle's algorithm is now disabled by default for improved interactivity. Bugfixes A compilation fix was added for OpenSSL version < 1.0.0. Signal pipe set to non-blocking mode. This bug caused hangs of stunnel features based on signals, e.g. local mode, FORK threading, or configuration file reload on Unix. Win32 platform was not affected. Version 4.37, 2011.06.17, urgency: MEDIUM: New features Client-side SNI implemented (RFC 3546 section 3.1). Default "ciphers" changed from the OpenSSL default to a more secure and faster "RC4-MD5:HIGH:!aNULL:!SSLv2". A paranoid (and usually slower) setting would be "HIGH:!aNULL:!SSLv2". Recommended "options = NO_SSLv2" added to the sample stunnel.conf file. Default client method upgraded from SSLv3 to TLSv1. To connect servers without TLS support use "sslVersion = SSLv3" option. Improved --enable-fips and --disable-fips ./configure option handling. On startup stunnel now compares the compiled version of OpenSSL against the running version of OpenSSL. A warning is logged on mismatch. Bugfixes Non-blocking socket handling in local mode fixed (Debian bug #626856). UCONTEXT threading mode fixed. Removed the use of gcc Thread-Local Storage for improved portability. va_copy macro defined for platforms that do not have it. Fixed "local" option parsing on IPv4 systems. Solaris compilation fix (redefinition of "STR"). Version 4.36, 2011.05.03, urgency: LOW: New features Updated Win32 DLLs for OpenSSL 1.0.0d. Dynamic memory management for strings manipulation: no more static STRLEN limit, lower stack footprint. Strict public key comparison added for "verify = 3" certificate checking mode (thx to Philipp Hartwig). Backlog parameter of listen(2) changed from 5 to SOMAXCONN: improved behavior on heavy load. Example tools/stunnel.service file added for systemd service manager. Bugfixes Missing pthread_attr_destroy() added to fix memory leak (thx to Paul Allex and Peter Pentchev). Fixed the incorrect way of setting FD_CLOEXEC flag. Fixed --enable-libwrap option of ./configure script. /opt/local added to OpenSSL search path for MacPorts compatibility. Workaround implemented for signal handling on MacOS X. A trivial bug fixed in the stunnel.init script. Retry implemented on EAI_AGAIN error returned by resolver calls. Version 4.35, 2011.02.05, urgency: LOW: New features Updated Win32 DLLs for OpenSSL 1.0.0c. Transparent source (non-local bind) added for FreeBSD 8.x. Transparent destination ("transparent = destination") added for Linux. Bugfixes Fixed reload of FIPS-enabled stunnel. Compiler options are now auto-detected by ./configure script in order to support obsolete versions of gcc. Async-signal-unsafe s_log() removed from SIGTERM/SIGQUIT/SIGINT handler. CLOEXEC file descriptor leaks fixed on Linux >= 2.6.28 with glibc >= 2.10. Irreparable race condition leaks remain on other Unix platforms. This issue may have security implications on some deployments: http://udrepper.livejournal.com/20407.html Directory lib64 included in the OpenSSL library search path. Windows CE compilation fixes (thx to Pierre Delaage). Deprecated RSA_generate_key() replaced with RSA_generate_key_ex(). Domain name changes (courtesy of Bri Hatch) http://stunnel.mirt.net/ --> http://www.stunnel.org/ ftp://stunnel.mirt.net/ --> http://ftp.stunnel.org/ stunnel.mirt.net::stunnel --> rsync.stunnel.org::stunnel stunnel-users@@mirt.net --> stunnel-users@@stunnel.org stunnel-announce@@mirt.net --> stunnel-announce@@stunnel.org Version 4.34, 2010.09.19, urgency: LOW: New features Updated Win32 DLLs for OpenSSL 1.0.0a. Updated Win32 DLLs for zlib 1.2.5. Updated automake to version 1.11.1 Updated libtool to version 2.2.6b Added ECC support with a new service-level "curve" option. DH support is now enabled by default. Added support for OpenSSL builds with some algorithms disabled. ./configure modified to support cross-compilation. Sample stunnel.init updated based on Debian init script. Bugfixes Implemented fixes in user interface to enter engine PIN. Fixed a transfer() loop issue on socket errors. Fixed missing WIN32 taskbar icon while displaying a global option error. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.11 2008/05/29 00:44:30 schmonz Exp $ d3 5 a7 3 --- src/Makefile.in.orig 2011-05-02 22:14:27.000000000 +0000 +++ src/Makefile.in @@@@ -254,7 +254,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d12 1 a12 1 +AM_CPPFLAGS = -DLIBDIR='"$(pkglibdir)"' -DCONFDIR='"$(sysconfdir)"' -DPIDFILE='"$(localstatedir)/run/stunnel.pid"' d15 1 a15 1 EXTRA_DIST = stunnel.exe make.bat mingw.mak makece.bat evc.mak vc.mak makew32.bat version.rc nogui.c os2.mak @ 1.11 log @Restore PKG_SYSCONFDIR support, lost in the last update. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 2007/01/23 21:53:58 smb Exp $ d3 1 a3 1 --- src/Makefile.in.orig 2008-05-18 07:46:06.000000000 -0400 d5 1 a5 1 @@@@ -224,7 +224,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d13 1 a13 1 EXTRA_DIST = stunnel.exe make.bat mingw.mak makece.bat evc.mak vc.mak nogui.c os2.mak @ 1.10 log @Update to stunnel-4.24. 4.24: fix security problem (properly reject revoked certs) 4.23: WinNT bugfix 4.22: - A new global option to control logging to syslog. Simultaneous logging to a file and the syslog is now possible. - A new service level option to control stack size. - Restored chroot() to be executed after decoding numerical userid and groupid values in drop_privileges(). - A few bugs fixed the in the new libwrap support code. - TLSv1 method used by default in FIPS mode instead of SSLv3 client and SSLv23 server methods. 4.21: - Initial FIPS 140-2 support (see INSTALL.FIPS for details). - Experimental fast support for non-MT-safe libwrap is provided with pre-spawned processes. - Stunnel binary moved from /usr/local/sbin to /usr/local/bin in order to meet FHS and LSB requirements. - Added code to disallow compiling stunnel with pthreads when OpenSSL is compiled without threads support. - Minor manual update. - TODO file updated. - Dynamic locking callbacks added (needed by some engines to work). - AC_ARG_ENABLE fixed in configure.am to accept yes/no arguments. - On some systems libwrap requires yp_get_default_domain from libnsl, additional checking for libnsl was added to the ./configure script. - Sending a list of trusted CAs for the client to choose the right certificate restored. - Some compatibility issues with NTLM authentication fixed. @ text @d3 1 a3 1 --- src/Makefile.in.orig 2006-11-11 09:58:22.000000000 -0500 d5 1 a5 1 @@@@ -221,7 +221,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d9 2 a10 2 -AM_CPPFLAGS = -DLIBDIR='"$(libdir)"' -DCONFDIR='"$(sysconfdir)/stunnel"' -DPIDFILE='"$(prefix)/var/run/stunnel/stunnel.pid"' +AM_CPPFLAGS = -DLIBDIR='"$(libdir)"' -DCONFDIR='"$(sysconfdir)"' -DPIDFILE='"/var/run/stunnel.pid"' @ 1.9 log @Change default pid file from /var/run/stunnel/stunnel.pid to /var/run/stunnel.pid @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.8 2007/01/14 00:07:15 schmonz Exp $ @ 1.9.10.1 log @pullup ticket #2400 - requested by tnn stunnel: update package due to security issue revisions pulled up: - pkgsrc/security/stunnel/MESSAGE 1.1 - pkgsrc/security/stunnel/Makefile 1.62 - pkgsrc/security/stunnel/PLIST 1.10 - pkgsrc/security/stunnel/distinfo 1.24 - pkgsrc/security/stunnel/files/stunnel.sh 1.2 - pkgsrc/security/stunnel/patches/patch-aa 1.20 - pkgsrc/security/stunnel/patches/patch-ac r0 Module Name: pkgsrc Committed By: tnn Date: Tue May 27 11:51:32 UTC 2008 Modified Files: pkgsrc/security/stunnel: Makefile PLIST distinfo pkgsrc/security/stunnel/files: stunnel.sh pkgsrc/security/stunnel/patches: patch-aa Added Files: pkgsrc/security/stunnel: MESSAGE Removed Files: pkgsrc/security/stunnel/patches: patch-ac Log Message: Update to stunnel-4.24. 4.24: fix security problem (properly reject revoked certs) 4.23: WinNT bugfix 4.22: - A new global option to control logging to syslog. Simultaneous logging to a file and the syslog is now possible. - A new service level option to control stack size. - Restored chroot() to be executed after decoding numerical userid and groupid values in drop_privileges(). - A few bugs fixed the in the new libwrap support code. - TLSv1 method used by default in FIPS mode instead of SSLv3 client and SSLv23 server methods. 4.21: - Initial FIPS 140-2 support (see INSTALL.FIPS for details). - Experimental fast support for non-MT-safe libwrap is provided with pre-spawned processes. - Stunnel binary moved from /usr/local/sbin to /usr/local/bin in order to meet FHS and LSB requirements. - Added code to disallow compiling stunnel with pthreads when OpenSSL is compiled without threads support. - Minor manual update. - TODO file updated. - Dynamic locking callbacks added (needed by some engines to work). - AC_ARG_ENABLE fixed in configure.am to accept yes/no arguments. - On some systems libwrap requires yp_get_default_domain from libnsl, additional checking for libnsl was added to the ./configure script. - Sending a list of trusted CAs for the client to choose the right certificate restored. - Some compatibility issues with NTLM authentication fixed. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 2007/01/23 21:53:58 smb Exp $ @ 1.8 log @Update to 4.20. From the changelog: Version 4.20, 2006.11.30, urgency: MEDIUM: * Release notes - The new transfer() function has been well tested. I recommend upgrading any previous version with this one. * Bugfixes - Fixed support for encrypted passphases (broken in 4.19). - Reduced amount of debug logs. - A minor man page update. Version 4.19, 2006.11.11, urgency: LOW/EXPERIMENTAL: * Release notes - There are a lot of new features in this version. I recommend to test it well before upgrading your mission-critical systems. * New features - New service-level option to specify OCSP server flag: OCSPflag = - "protocolCredentials" option changed to "protocolUsername" and "protocolPassword" - NTLM support to be enabled with the new service-level option: protocolAuthentication = NTLM - imap protocol negotiation support added. - Passphrase cache was added so the user does not need to reenter the same passphrase for each defined service any more. - New service-level option to retry connect+exec section: retry = yes|no - Local IP and port is logged for each established connection. - Win32 DLLs for OpenSSL 0.9.8d. * Bugfixes - Serious problem with SSL_WANT_* retries fixed. The new code requires extensive testing! Version 4.18, 2006.09.26, urgency: MEDIUM: * Bugfixes - GPF on entering private key pass phrase on Win32 fixed. - Updated OpenSSL Win32 DLLs. - Minor configure script update. Version 4.17, 2006.09.10, urgency: MEDIUM: * New features - Win32 DLLs for OpenSSL 0.9.8c. * Bugfixes - Problem with detecting getaddrinfo() in ./configure fixed. - Compilation problem due to misplaced #endif in ssl.c fixed. - Duplicate 220 in smtp_server() function in protocol.c fixed. - Minor os2.mak update. - Minor update of safestring()/safename() macros. Version 4.16, 2006.08.31, urgency: MEDIUM: * New features sponsored by Hewlett-Packard - A new global option to control engine: engineCtrl = [:] - A new service-level option to select engine to read private key: engineNum = - OCSP support: ocsp = * New features - A new option to select version of SSL protocol: sslVersion = all|SSLv2|SSLv3|TLSv1 - Visual Studio vc.mak by David Gillingham . - OS2 support by Paul Smedley (http://smedley.info) * Bugfixes - An ordinary user can install stunnel again. - Compilation problem with --enable-dh fixed. - Some minor compilation warnings fixed. - Service-level CRL cert store implemented. - GPF on protocol negotiations fixed. - Problem detecting addrinfo() on Tru64 fixed. - Default group is now detected by configure script. - Check for maximum number of defined services added. - OpenSSL_add_all_algorithms() added to SSL initialization. - configure script sections reordered to detect pthread library funcions. - RFC 2487 autdoetection improved. High resolution s_poll_wait() not currently supported by UCONTEXT threading. - More precise description of cert directory file names (thx to Muhammad Muquit). * Other changes - Maximum number of services increased from 64 to 256 when poll() is used. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2006/10/16 20:14:26 tv Exp $ d10 1 a10 1 +AM_CPPFLAGS = -DLIBDIR='"$(libdir)"' -DCONFDIR='"$(sysconfdir)"' -DPIDFILE='"/var/run/stunnel/stunnel.pid"' @ 1.7 log @nb1: Put conf and pid files back where they belong after the 4.15 update. (PKG_SYSCONFDIR already includes "stunnel" by default, so avoid the package adding another and making $PREFIX/etc/stunnel/stunnel/stunnel.conf; the pidfile does not normally belong under $PREFIX as $PREFIX/var/run is not normally cleaned/checked by OS-supplied processes.) @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/Makefile.in.orig 2006-03-06 15:52:41.000000000 -0500 d5 1 a5 1 @@@@ -222,7 +222,7 @@@@ libstunnel_la_LDFLAGS = -avoid-version d13 1 a13 1 EXTRA_DIST = stunnel.exe make.bat mingw.mak makece.bat evc.mak vc.mak nogui.c @ 1.6 log @Updated stunnel to 4.07 Version 4.07, 2005.01.03, urgency: MEDIUM: * Bugfixes - Problem with infinite poll() timeout negative, but not equal to -1 fixed. - Problem with a file descriptor ready to be read just after a non-blocking connect call fixed. - Compile error with EAI_NODATA not defined or equal to EAI_NONAME fixed. - IP address and TCP port textual representation length (IPLEN) increased to 128 bytes. - OpenSSL engine support is only used if engine.h header file exists. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2004/12/28 09:09:52 martti Exp $ d3 11 a13 19 *** src/network.c 2004-10-14 17:03:49.000000000 +0200 --- src/network.c 2004-12-27 21:21:16.000000000 +0100 *************** *** 125,131 **** int retval; do { /* skip "Interrupted system call" errors */ ! retval=poll(fds->ufds, fds->nfds, 1000*timeout); /* no timeout -> main loop */ if(timeout<0 && retval>0 && s_poll_canread(fds, signal_pipe[0])) signal_pipe_empty(); --- 125,131 ---- int retval; do { /* skip "Interrupted system call" errors */ ! retval=poll(fds->ufds, fds->nfds, timeout<0 ? -1 : 1000*timeout); /* no timeout -> main loop */ if(timeout<0 && retval>0 && s_poll_canread(fds, signal_pipe[0])) signal_pipe_empty(); @ 1.5 log @Updated stunnel to 4.06 Version 4.06, 2004.12.26, urgency: LOW: * New feature sponsored by SURFnet http://www.surfnet.nl/ - IPv6 support (to be enabled with ./configure --enable-ipv6). * New features - poll() support - no more FD_SETSIZE limit! - Multiple connect=host:port options are allowed in a single service section. Remote hosts are connected using round-robin algorithm. This feature is not compatible with delayed resolver. - New 'compression' option to enable compression. To use zlib algorithm you have to enable it when building OpenSSL library. - New 'engine' option to select a hardware engine. - New 'TIMEOUTconnect' option with 10 seconds default added. - stunnel3 perl script to emulate version 3.x command line options. - French manual updated by Bernard Choppy . - A watchdog to detect transfer() infinite loops added. - Configuration file comment character changed from '#' to ';'. '#' will still be recognized to keep compatibility. - MT-safe getaddrinfo() and getnameinfo() are used where available to get better performance on resolver calls. - Automake upgraded from 1.4-p4 to 1.7.9. * Bugfixes - log() changed to s_log() to avoid conflicts on some systems. - Common CRIT_INET critical section introduced instead of separate CRIT_NTOA and CRIT_RESOLVER to avoid potential problems with libwrap (TCP Wrappers) library. - CreateThread() finally replaced with _beginthread() on Win32. - make install creates $(localstatedir)/stunnel. $(localstatedir)/stunnel/dev/zero is also created on Solaris. - Race condition with client session cache fixed. - Other minor bugfixes. * Release notes - Default is *not* to use IPv6 '::' for accept and '::1' for connect. For example to accept pop3s on IPv6 you could use: 'accept = :::995'. I hope the new syntax is clear enough. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update of stunnel to version 3.20, from Martti Kuparinen in PR pkg/13728. Changelog for version 3.20, 2001.08.15, urgency: LOW: * setsockopt() optlen set according to the optval for Solaris. * Minor NetBSD compatibility fixes by Martti Kuparinen. * Minor MSVC6 compatibility fixes by Patrick Mayweg. * SSL close_notify timeout reduced to 10 seconds of inactivity. * Socket close instead of reset on close_notify timeout. * Some source arrangement and minor bugfixes. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2001/08/10 14:41:19 martin Exp $ d3 19 a21 13 --- pty.c.orig Fri Aug 10 10:48:25 2001 +++ pty.c Fri Aug 10 16:32:18 2001 @@@@ -26,6 +26,10 @@@@ #include #endif /* HAVE_UTIL_H */ +#ifdef HAVE_SYS_IOCTL_H +#include +#endif + /* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */ #if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) #undef HAVE_DEV_PTMX @ 1.3 log @Update stunnel to version 3.19. Based on PR pkg/13679 by Martti Kuparinen. Changelog for version 3.19, 2001.08.10, urgency: MEDIUM: * Critical section added around non MT-safe TCP Wrappers code. * Problem with "select: Interrupted system call" error fixed. * errno replaced with get_last_socket_error() for Win32. * Some FreeBSD/NetBSD patches to ./configure from Martti Kuparinen. * Local mode process pid logged. * Default FQDN (localhost) removed from stunnel.cnf * ./configure changed to recognize POSIX threads library on OSF. * New -O option to set socket options. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2001/01/22 13:30:36 martin Exp $ @ 1.2 log @Update pkg to stunnel-3.11. Fixes key-length and zombies problems. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- pty.c.orig Wed Dec 13 23:32:14 2000 +++ pty.c Mon Jan 22 14:07:18 2001 @@@@ -38,6 +38,10 @@@@ @ 1.1 log @Update stunnel to 3.9. For NetBSD, if in-tree OpenSSL exists, then the default certificate directory is now /etc/openssl/certs (matches OpenSSL's default), but if stunnel uses the pkgsrc OpenSSL, then the default is ${PREFIX}/certs. Changes from version 3.8 include: * Updated temporary key generation: - stunnel is now honoring requested key-lengths correctly, - temporary key is changed every hour. * transfer() no longer hangs on some platforms. Special thanks to Peter Wagemans for the patch. * Potential security problem with syslog() call fixed. * use daemon() function instead of daemonize, if available * added -S flag, allowing you to choose which default verify sources to use * relocated service name output logging until after log_open. (no longer outputs log info to inetd socket, causing bad SSL) * -V flag now outputs the default values used by stunnel * Added rigerous PRNG seeding * PID changes (and related security-fix) * Man page fixes * Client SSL Session-IDs now used * -N flag to specify tcpwrapper service name * UPGRADE NOTE: this version seriously changes several previous stunnel default behaviours. There are no longer any default cert file/dirs compilied into stunnel, you must use the --with-cert-dir and --with-cert-file configure arguments to set these manually, if desired. Stunnel does not use the underlying ssl library defaults by default unless configured with --enable-ssllib-cs. Note that these can always be enabled at run time with the -A,-a, and -S flags. Additionally, unless --with-pem-dir is specified at compile time, stunnel will default to looking for stunnel.pem in the current directory. @ text @d3 5 a7 4 --- pty.c.orig Wed Dec 13 17:32:14 2000 +++ pty.c @@@@ -35,8 +35,12 @@@@ #endif a8 5 #ifdef HAVE_UTIL_H -#include +#include /* openpty */ #endif /* HAVE_UTIL_H */ + d10 1 a10 1 +#include /* ioctl */ d12 1 a12 1 d15 1 @