pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/socat



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Oct 27 15:35:09 UTC 2024

Modified Files:
        pkgsrc/net/socat: Makefile distinfo
Removed Files:
        pkgsrc/net/socat/patches: patch-config.h.in patch-configure
            patch-sysincludes.h

Log Message:
socat: Update to 1.8.0.1

pkgsrc changes:
 - Remove all patches: they were all present upstream

Changes:
1.8.0.1:
Corrections:
 When no IP version was preferred by environment, option -4/-6, or
 address option pf, Socat version 1.8.0.0 address TCP-LISTEN did not
 accept TCP4 connections under BSD family operating systems, but only
 TCP6. To regain previous behaviour, preferring IP version 4 is now the
 default. This also fixes some other issues with bind and range options.
 Thanks to Mike Andrews for reporting this issue.
 Tests: LISTEN_4 LISTEN_6  V1800_*_RANGE  V1800_*_BIND

 Added Socat option -0 to allow version 1.8.0.0 behaviour (no preferred
 IP version).

 UDP-SENDTO, UDPLITE-SENDTO, and IP-SENDTO addresses now select an IPv4
 address in case the server name resolves to both IPv4 and IPv6
 addresses.
 Tests: V1800_*_SENDTO_RESOLV_6_4

 Guard applyopts_termios_value() with WITH_TERMIOS.
 Thanks to Kush Upadhyay from Amazon Bottlerocket team for providing the
 patch.

 In some situations xioclose() was called nested what could cause hanging
 of OpenSSL in pthread_rwlock_wrlock()

 socat 1.8.0.0 with addresses of type RECVFROM and option fork, where
 the second address failed to connect/open in the child process, entered
 a fork loop that was only stopped by FD exhaustion caused by FD leak.
 Test: RECVFROM_FORK_LOOP

 socat 1.8.0.0 had an FD leak with addresses of type RECVFROM with fork.
 Test: RECVFROM_FORK_LEAK

 With version 1.8.0.0, options ipv6-join-group and ipv6-join-source-group
 did not work.
 Thanks to Linus Luessing for reporting this bug.

 IP-SENDTO and option pf (protocol-family) with protocol name (vs.numeric
 argument) failed with message:
 E retropts_int(): trailing garbage in numerical arg of option "protocol-family"
 Test: IP_SENDTO_PF

 Fixed a possible buffer overrun with long log lines. In fact it does
 not write beyond end of buffer but lets pass excessive data to the
 write() function.
 Thanks to Heinrich Schuchardt from Canonical for reporting and sending
 a patch.

 Reworked domain name resolution, centralized IPv4/IPv6 sorting.

 Print warning about not checking CRLs in OpenSSL only in the first
 child process.

Features:
 Total inactivity timeout option -T 0 now means 0.0 seconds; up to
 version 1.8.0.0 it meant no total inactivity timeout.

 Changed socat-chain.sh, socat-mux.sh, and socat-broker.sh to work with
 older Socat versions.

 socat-mux.sh and socat-broker.sh, when run as root, now internally use
 low (512..1023) UDP ports to increase security.

 Added option ai-all (sets AI_ALL flag of getaddrinfo() resolver)

 Socks5 now also allows syntax without socks port, and supports option
 socksport.

Porting:
 Changes for building and testing on NetBSD

 New Linux distributions dislike egrep, fgrep

 When NETDB_INTERNAL is not available it should be set to -1.
 Thanks to Baruch Siach for sending a patch.

 On OpenSolaris/Illumos, isastream() is declared only in stropts.h, not
 in sys/stropts.h
 Thanks to Andy Fiddaman for sending a patch.

 On latest Illumos, compilation failed due to new unexpected SO_PROTOCOL
 implementation.
 Thanks to Andy Fiddaman for sending a patch.

Building:
 Makefile.in: procan.o build requires srcdir prefix for explicit source
 file.
 Thanks to Hongxu Jia and Andrew Schoolman for providing patches.

 Makefile.in: the CC define for procan.o build failed when CC had more
 than one word.
 Thanks to Hongxu Jia for providing an inital patch.

Testing:
 Added the optional DEVTESTS feature for developer tests with controlled
 name resolution to both IPv4 and IPV6 addresses: configure Socat with
 --enable-devtests, this provides internal resolution of domain
 dest-unreach.net with host names: localhost-4, localhost-6,
 localhost-4-6, and localhost-6-4

 test.sh: lots of corrections and improvements

 test.sh: many hardcoded sleep values were replaced by much shorter
 values tuned to performance of the platform.

 test.sh -D for output of platform/system specific defines (variables)

 test.sh: fixed ss determination; more DEFS

Documentation:
 Fixed a lot of typos.
 Thanks to Solomon Victorino for sending the patch.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/net/socat/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/net/socat/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/socat/patches/patch-config.h.in \
    pkgsrc/net/socat/patches/patch-sysincludes.h
cvs rdiff -u -r1.4 -r0 pkgsrc/net/socat/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/socat/Makefile
diff -u pkgsrc/net/socat/Makefile:1.54 pkgsrc/net/socat/Makefile:1.55
--- pkgsrc/net/socat/Makefile:1.54      Sun Apr 21 11:36:51 2024
+++ pkgsrc/net/socat/Makefile   Sun Oct 27 15:35:08 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2024/04/21 11:36:51 nia Exp $
+# $NetBSD: Makefile,v 1.55 2024/10/27 15:35:08 leot Exp $
 
-DISTNAME=      socat-1.8.0.0
+DISTNAME=      socat-1.8.0.1
 CATEGORIES=    net
 MASTER_SITES=  http://www.dest-unreach.org/socat/download/
 

Index: pkgsrc/net/socat/distinfo
diff -u pkgsrc/net/socat/distinfo:1.37 pkgsrc/net/socat/distinfo:1.38
--- pkgsrc/net/socat/distinfo:1.37      Fri Nov 24 13:14:12 2023
+++ pkgsrc/net/socat/distinfo   Sun Oct 27 15:35:08 2024
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.37 2023/11/24 13:14:12 ryoon Exp $
+$NetBSD: distinfo,v 1.38 2024/10/27 15:35:08 leot Exp $
 
-BLAKE2s (socat-1.8.0.0.tar.gz) = 64f0e4acc4932abf0106f9661a186541fd0bc56248a40fb04b042f900c23005b
-SHA512 (socat-1.8.0.0.tar.gz) = edf459a9f1907a14025e13b3101ad29787f9a72795cffcd00017ce98847562884db29a95b9ae478a6a50868137548b142947c43fb18e975eb5853a763c42902c
-Size (socat-1.8.0.0.tar.gz) = 712469 bytes
-SHA1 (patch-config.h.in) = e0cb8c4075ca96863e458f1c2384dc7a6b69e928
-SHA1 (patch-configure) = ba75b5f192c1359220bea019fa50603b2b5c7c3a
-SHA1 (patch-sysincludes.h) = d48307ade6bc82bea946920e7336bc5329714c08
+BLAKE2s (socat-1.8.0.1.tar.gz) = bad807327629b9babd170bd55447f4971164fa3ffa111c05fb21531acce0283a
+SHA512 (socat-1.8.0.1.tar.gz) = 2a327b4c2e00fc6afda503548d5bc285d4f120892c75ec6633201825e39e3003a8b8d827053364dc444b72ff728a82381769941c023d8b0a66d955417162b735
+Size (socat-1.8.0.1.tar.gz) = 723747 bytes



Home | Main Index | Thread Index | Old Index