Commit graph

322 commits

Author SHA1 Message Date
Gerhard Rieger
12f7833a8f Socat printed the "socket ... is at EOF" message multiple times 2020-01-04 10:28:59 +01:00
Gerhard Rieger
3be18bdc1f IP-SENDTO:*:6 now passes getaddrinfo() without "ai_socktype not supported" 2020-01-01 14:50:29 +01:00
Gerhard Rieger
cbeb06b19b Fixed regression: SSL_CTX_clear_mode() not available in older OpenSSL versions 2020-01-01 14:14:12 +01:00
Gerhard Rieger
72a137c287 Socat failed to compile when no poll() system call was found 2020-01-01 14:02:06 +01:00
Gerhard Rieger
5ebf36038f Under certain circumstances, options of the first address were applied to the second address 2019-12-30 10:27:46 +01:00
Gerhard Rieger
420835bf2a Header of xiotermios_speed() declared parameter unsigned int instead of speed_t 2019-09-08 18:19:57 +02:00
Gerhard Rieger
e1bc39a53f version 1.7.3.3 2019-04-05 22:24:19 +02:00
Gerhard Rieger
b3325144f8 Fixed new IPv6 range code for platforms without s6_addr32 component 2019-03-13 12:44:35 +01:00
Gerhard Rieger
ba27f6c3ba Renamed configure.in to configure.ac 2019-03-12 22:00:46 +01:00
Gerhard Rieger
bc3723e970 OpenSSL: clear SSL_MODE_AUTO_RETRY 2019-03-12 21:09:18 +01:00
Gerhard Rieger
7a621dd3a2 More corrections to test.sh: language; netstat; reuseaddr; usleep; force IPv4; timeout 2019-03-12 21:04:51 +01:00
Gerhard Rieger
8b31a82b92 RES_AAONLY, RES_PRIMARY are deprecated 2019-03-03 15:57:08 +01:00
Gerhard Rieger
ad2484f49f Fixed a couple of typos 2019-03-03 15:08:41 +01:00
Gerhard Rieger
710c54a254 Permit -dd; print a useful error message when single character options appear to be merged 2019-03-03 15:08:02 +01:00
Gerhard Rieger
fbd72c295d Shell scripts are now headed with: env /usr/bin/env bash 2019-03-03 13:59:49 +01:00
Gerhard Rieger
14f3e4fed8 Disable option openssl-method 2019-03-03 13:20:12 +01:00
Gerhard Rieger
181228cf53 Use ss,ip when available instead of netstat,ifconfig 2019-03-03 12:04:50 +01:00
Gerhard Rieger
42864922e7 Socat only checked the first character of the host name to decide if it is an IPv4 address 2019-03-03 11:06:02 +01:00
Gerhard Rieger
479d9cbbda With TCP6-LISTEN etc. the range option failed 2019-03-03 11:03:33 +01:00
Gerhard Rieger
a2f8e99371 Simplified handling of missing termios defines 2019-03-03 10:15:55 +01:00
Gerhard Rieger
ea42d022c6 Substituted ISPEED_OFFSET mechanism for cfsetispeed() calls 2019-03-03 10:12:44 +01:00
Gerhard Rieger
1301cacad3 Termios options TAB0,TAB1,TAB2,TAB3, and XTABS did not have an effect 2019-03-03 10:11:10 +01:00
Gerhard Rieger
ebbe704423 Apply termios settings in a single system call (for ispeed,ospeed) 2019-03-03 10:10:56 +01:00
Gerhard Rieger
b5be579187 Option ipv6-join-group is in PH_PASTSOCKET 2019-03-03 10:01:32 +01:00
Gerhard Rieger
e1a5931827 Parent process might have been killed by signal to child 2019-03-03 09:32:22 +01:00
Gerhard Rieger
9f5abda361 The async-signal-safe fix used internally FD 3 and FD 4 which could conflict with options fdin,fdout 2019-02-24 23:18:38 +01:00
Gerhard Rieger
a3c688210f Removed dependency on gethostbyname() 2019-02-24 23:17:17 +01:00
Gerhard Rieger
2bd582713d OpenSSL tests failed on actual Linux distributions 2019-02-24 22:53:34 +01:00
Gerhard Rieger
81d83e10d3 test.sh: Show a warning when phase-1 (insecure phase) of a security test fails 2019-02-24 22:46:14 +01:00
Gerhard Rieger
aaf90d6efb The autoconf mechanism for determining SHIFT_OFFSET did not work when cross compiling 2019-02-24 22:37:08 +01:00
Gerhard Rieger
4ca048da49 configure option --enable-msglevel did not work with numbers 2019-02-24 22:35:45 +01:00
Gerhard Rieger
e7488fb0b5 filan dependencies on vsnprintf_r.o snprinterr.o; FILAN_OBJS 2019-02-24 22:34:18 +01:00
Gerhard Rieger
739e973ca8 Added DragonFly config to, removed testcert.conf from git repo 2019-02-24 22:25:52 +01:00
Gerhard Rieger
cef0e039a8 version 1.7.3.2 2017-01-23 12:53:12 +01:00
Gerhard Rieger
682a12e00e Fixed an issue in options processing on TUN and DNS flags 2017-01-22 18:48:53 +01:00
Gerhard Rieger
b43c30b6b9 Data extraction from ancillary messages might have failed on big-endian 2017-01-22 18:48:07 +01:00
Gerhard Rieger
31192e3498 Fixed type of the bool element in options 2017-01-22 10:48:48 +01:00
Gerhard Rieger
9b2275bcdd Corrected byte order on read of IPV6_TCLASS value from ancillary message 2017-01-21 13:42:09 +01:00
Gerhard Rieger
a2086478e6 Ignore rc of child process when killed due to EOF 2017-01-21 13:39:58 +01:00
Gerhard Rieger
19ebd413bb Corrections to test.sh that reveal a mistake with IPV6_TCLASS 2017-01-21 10:59:43 +01:00
Gerhard Rieger
53f528335c The internal vsnprintf_r function looped or crashed on size parameter with hexadecimal output 2017-01-15 14:35:06 +01:00
Gerhard Rieger
0fdd9ceb58 Fixed bug in printing readline log message caused by a misleading indentation 2017-01-15 12:29:26 +01:00
Gerhard Rieger
72b05700e4 Corrections in docu and test.sh 2017-01-15 12:23:07 +01:00
Gerhard Rieger
90401a96f2 Options shut-down and shut-close did not work. 2017-01-08 15:41:31 +01:00
Gerhard Rieger
a985cf4bd0 Fixed a couple of English spelling and grammar mistakes. 2017-01-08 15:40:48 +01:00
Gerhard Rieger
d7473dbac6 Corrected mention of SSL-LISTEN and SSL-CONNECT in doc; more minor corrections 2017-01-08 11:50:11 +01:00
Gerhard Rieger
a9f36eb7b7 Added option alias name dhparams 2017-01-08 11:38:18 +01:00
Gerhard Rieger
9f41543aad Options so-rcvtimeo and so-sndtimeo do not work with poll() 2017-01-08 11:12:57 +01:00
Gerhard Rieger
40f6fa29e1 Corrected source of socat man page to correctly show man references 2017-01-07 20:54:29 +01:00
Gerhard Rieger
8e09093afd UDP-LISTEN did not honor the max-children option 2017-01-07 10:46:01 +01:00
Gerhard Rieger
522cf716f8 LibreSSL support: check for OPENSSL_NO_COMP 2017-01-06 19:11:00 +01:00
Gerhard Rieger
d6b0e1425e Socat did not use option ipv6-join-group 2017-01-06 18:21:20 +01:00
Gerhard Rieger
e25ba90e21 AddressSanitizer reported a few buffer overflows (false positives) 2017-01-06 17:56:30 +01:00
Gerhard Rieger
40d9352599 A few corrections in test.sh 2017-01-06 17:27:01 +01:00
Gerhard Rieger
26dbed0f28 AIX-7 uses an extended O_ACCMODE 2017-01-04 18:57:13 +01:00
Gerhard Rieger
7da1766048 Use RAND_status to determine PRNG state 2016-12-26 18:57:13 +01:00
Gerhard Rieger
d5b87cea87 Modification for BoringSSL 2016-12-12 20:53:08 +01:00
Gerhard Rieger
008229cb9f Changes to make socat compile with OpenSSL 1.1 2016-12-12 18:58:59 +01:00
Gerhard Rieger
0061ca1334 Check in configure for SSLv3_*_METHOD 2016-12-10 21:51:27 +01:00
Gerhard Rieger
de80846643 For NuttX OS: Made struct ip subject to configure 2016-12-10 21:08:37 +01:00
Gerhard Rieger
35590e3cdb Socat exited with status 0 even when a program invoked with SYSTEM or EXEC failed 2016-12-10 20:18:33 +01:00
Gerhard Rieger
35a7817e48 Option so-reuseport did not work 2016-12-10 16:25:40 +01:00
Gerhard Rieger
2ea6da3839 Option so-reuseport did not work 2016-12-10 16:23:46 +01:00
Gerhard Rieger
6f48016ed8 Some minor corrections with includes etc. 2016-12-10 16:21:46 +01:00
Gerhard Rieger
d2f748f0bb Socat failed to compile on platforms without DTLSv1_client_method etc. 2016-12-09 23:16:00 +01:00
Gerhard Rieger
f8618f61de Socat hung when configured with --disable-sycls 2016-12-09 23:13:35 +01:00
Gerhard Rieger
29b4bd40d7 Building with --disable-sycls failed due to missing sslcls.h defines 2016-12-09 22:55:05 +01:00
Gerhard Rieger
31a2106a39 Corrected declarations of diag_immediate_msg etc. 2016-12-09 22:38:30 +01:00
Gerhard Rieger
d8a5d49c2d Include <stddef.h> for ptrdiff_t 2016-12-09 22:36:04 +01:00
Gerhard Rieger
1de74d4ca9 Failing name resolution could lead to SIGSEGV 2016-12-09 22:14:01 +01:00
Gerhard Rieger
6b596b8852 SIGSEGV and other signals could lead to a 100% CPU loop 2016-12-09 21:59:05 +01:00
Gerhard Rieger
d34493c18d Added contributors to copyright notices 2016-12-09 21:46:02 +01:00
Gerhard Rieger
0c633dba21 proxy.sh resolves hostnames 2016-12-09 21:38:49 +01:00
Gerhard Rieger
36f2afce7c test.sh: stderr; option -v (verbose); FDOUT_ERROR description 2016-12-09 21:37:24 +01:00
Gerhard Rieger
38ce0b9b46 socks4echo.sh and socks4a-echo.sh hung with new bash with read -n 2016-12-09 21:01:27 +01:00
Gerhard Rieger
0638d245f8 tmp - Debian OpenSSL1.1 patch 2016-12-05 12:05:02 +01:00
Gerhard Rieger
aed0fcd79e version 1.7.3.1 2016-01-29 11:29:36 +01:00
Gerhard Rieger
226c555edb socat security advisory 8: stack overflow in nestlex() 2016-01-29 11:29:28 +01:00
Gerhard Rieger
eab3c89f2d socat security advisory 7, MSVR-1499: created new 2048bit DH modulus 2016-01-29 11:29:11 +01:00
Gerhard Rieger
8fda559e8d version 1.7.3.0 2015-01-24 18:40:49 +01:00
Gerhard Rieger
053c4565b3 Added OpenSSL server side EDHCE cipher support 2015-01-23 21:35:55 +01:00
Gerhard Rieger
f0c3b1f387 Port to Openindiana 2015-01-23 21:31:08 +01:00
Gerhard Rieger
81c4892599 Function cfmakeraw() is simulated when missing 2015-01-23 21:30:38 +01:00
Gerhard Rieger
3f63c9889f minor corrections to docu and test.sh 2015-01-23 18:46:54 +01:00
Gerhard Rieger
f749f5c3e4 Red Hat issue: socat 1.7.2.4 build failure missing linux/errqueue.h 2015-01-23 18:46:04 +01:00
Gerhard Rieger
59658d8267 Include netinet/if_ether.h on Illumos 2015-01-23 18:41:04 +01:00
Gerhard Rieger
05c0b2873e Support for NetBSD 5.1 2015-01-23 18:41:04 +01:00
Gerhard Rieger
fb0246084a Prevent multiple definition of bool,Min(),Max() (MacOS X) 2015-01-23 18:41:04 +01:00
Gerhard Rieger
4228399da0 Actual spec file 2015-01-23 18:41:04 +01:00
Gerhard Rieger
3ee5ac5275 Debian Bug 764251: Set the build timestamp to a deterministic time 2015-01-23 18:41:04 +01:00
Gerhard Rieger
6f6d7ccb86 Revert gcc check to reenable cross compiling 2015-01-23 18:41:04 +01:00
Gerhard Rieger
522bb45479 Added option rawer for pty 2015-01-23 18:40:54 +01:00
Gerhard Rieger
8c8f817780 Print error on useless fdout,fdin options 2015-01-23 18:38:48 +01:00
Gerhard Rieger
2b99929bfc Corrected help text for filan -L 2015-01-23 18:38:42 +01:00
Gerhard Rieger
ca872c9a9f Fixed memory leaks 2015-01-23 18:38:37 +01:00
Gerhard Rieger
281d1bd651 FIPS requires 1024 bit DH prime 2015-01-23 18:38:28 +01:00
Gerhard Rieger
d430147bc6 Added TLS methods support 2015-01-23 18:38:06 +01:00
Gerhard Rieger
899bc6845d Red Hat issue 1019972: needs to specify OpenSSL cipher suites 2015-01-12 23:43:23 +01:00
Gerhard Rieger
d4c44ff649 Red Hat issue 1019964: socat now uses the system certificate store 2015-01-12 23:39:57 +01:00
Gerhard Rieger
9e863458c6 Generate testcert.conf and testcert6.conf in test.sh 2015-01-12 23:36:01 +01:00