Commit graph

519 commits

Author SHA1 Message Date
Gerhard Rieger
0a115feadc Version 1.7.4.0 2021-01-03 22:46:40 +01:00
Gerhard Rieger
b7a277472b With OPENSSL_API_COMPAT=0x10000000L the files openssl/dh.h, openssl/bn.h must be included 2021-01-03 07:43:00 +01:00
Gerhard Rieger
9209312c3c Added printf formats for uint16_t etc 2021-01-03 07:42:23 +01:00
Gerhard Rieger
dabcc7f3d5 Preferred backend for TUN is UDP, not TCP 2021-01-01 18:27:18 +01:00
Gerhard Rieger
cc3cd744d9 Address UDP-RECV does not support option fork 2021-01-01 18:27:04 +01:00
Gerhard Rieger
82f5321204 SSL_read,SSL_write errors sometimes stated SSL_connect 2021-01-01 18:24:50 +01:00
Gerhard Rieger
cb4400bf94 Help text showed two parameters for UDP4-RECVFROM address, but only <port> is allowed 2021-01-01 18:21:54 +01:00
Gerhard Rieger
1502f0cdcb Added VSOCK stream addresses 2020-12-31 15:34:56 +01:00
Gerhard Rieger
1c7ddfef73 Option proxy-authorization-file 2020-12-31 15:26:14 +01:00
Gerhard Rieger
50bdb453dd UDP-DATAGRAM no longer checks peerport by default 2020-12-31 15:22:40 +01:00
Gerhard Rieger
583e14d7fa New option ip-add-source-membership 2020-12-31 15:14:37 +01:00
Gerhard Rieger
13ac417410 Option accept-timeout (listen-timeout) 2020-12-31 15:00:13 +01:00
Gerhard Rieger
aa2b9c00b2 Added SNI support to OPENSSL-CONNECT, with options no-sni, snihost 2020-12-31 14:49:43 +01:00
Gerhard Rieger
d109e3131b Added option ip-transparent (socket option IP_TRANSPARENT) 2020-12-31 13:29:42 +01:00
Gerhard Rieger
e765898d38 New options -r, -R for raw data dumps 2020-12-31 13:23:54 +01:00
Gerhard Rieger
6128ea36ac OpenSSL client checks SubjectAltName IP addresses 2020-12-31 12:19:17 +01:00
Gerhard Rieger
6635e159c4 Fixed filan -s, added -S 2020-12-31 11:57:11 +01:00
Gerhard Rieger
d1b809b4ab DTLS over UDP 2020-12-30 20:59:04 +01:00
Gerhard Rieger
ff8de6c5cd Prevent error loop on RECVFROM addresses with fork 2020-12-29 16:50:47 +01:00
Gerhard Rieger
10680c8aad New option setsockopt-listen using dalan 2020-12-29 16:48:05 +01:00
Gerhard Rieger
411b658939 Increased maximum option length from 511 to 2047 bytes 2020-12-29 05:31:28 +01:00
Gerhard Rieger
0dccf48d69 GOPEN handles UNIX seqpacket sockets 2020-12-29 05:30:52 +01:00
Gerhard Rieger
d9d320cb47 Corrected UNIX client NAMED options to work on bind address 2020-12-29 05:22:41 +01:00
Gerhard Rieger
5570bf4d62 Fixed hang on race condition with UDP-RECV and fork 2020-12-29 05:18:57 +01:00
Gerhard Rieger
55518fa690 Align buffer for read() with flag O_DIRECT 2020-12-29 05:17:53 +01:00
Gerhard Rieger
de2f2c471b OpenSSL options min-version, max-version 2020-12-28 12:38:52 +01:00
Gerhard Rieger
beed38655f ext2-* options are renamed to fs-* 2020-12-28 12:37:49 +01:00
Gerhard Rieger
f34e8a4dc1 Mitigated race condition of SYSTEM,EXEC child processes 2020-12-28 11:10:03 +01:00
Gerhard Rieger
2e0b0a0eff SCTP service name resolution falls back to socktype and protocol 0 2020-12-28 00:43:29 +01:00
Gerhard Rieger
bb764784f3 Added configure option --enable-openssl-base 2020-12-28 00:41:47 +01:00
Gerhard Rieger
1190e8018e Substitute strndup() when it is missing 2020-12-28 00:41:41 +01:00
Gerhard Rieger
3ef518fde0 Unsetenv was not conditional in xio-openssl.c 2020-12-27 20:52:41 +01:00
Gerhard Rieger
d4cce300a4 Removed unused usleep() call from sycls.c 2020-12-27 20:50:39 +01:00
Gerhard Rieger
ecac86a280 Solved more testing issues 2020-12-09 20:54:42 +01:00
Gerhard Rieger
a850582908 Removed deny_severity,allow_severity defs from filan.c and procan.c to make gcc version 10 happy 2020-11-14 17:33:58 +01:00
Gerhard Rieger
b62ff0c005 Socat address parser read over end of string when there was unbalanced quoting 2020-10-30 09:13:51 +01:00
Gerhard Rieger
8e6b341f59 Fixed possible integer overflow with option -b 2020-10-30 09:13:21 +01:00
Gerhard Rieger
0c65370ae5 test.sh: Archlinux: No which; changes on ip,ss commands 2020-10-30 08:22:08 +01:00
Gerhard Rieger
152de04f7c test.sh: Ubuntu 20.04 requires 2048 bit certificates 2020-10-29 13:50:51 +01:00
Gerhard Rieger
f8985bc1ab test.sh: Fixed renogotiation tests for newer OpenSSL 2020-10-29 13:38:45 +01:00
Gerhard Rieger
f2d17f0949 test.sh: Adapted some OpenSSL tests to modified OpenSSL behaviour 2020-10-29 13:33:34 +01:00
Gerhard Rieger
c6c8ff784c test.sh: OpenSSL s_server now neglect TCPs half close feature 2020-10-29 13:16:14 +01:00
Gerhard Rieger
c4d7718bca test.sh: listCANT and some minor corrections 2020-10-29 13:10:34 +01:00
Gerhard Rieger
4bb7936bec Converted CHANGES from ISO-8859-1 to UTF-8 2020-02-23 12:37:19 +01:00
Gerhard Rieger
82cf4ae7e8 version 1.7.3.4 2020-01-05 20:26:17 +01:00
Gerhard Rieger
9de26f1d05 minor corrections, not affecting binaries 2020-01-05 16:00:17 +01:00
Gerhard Rieger
e310bb1cfd Fixed regression: use of ^^ or ,, in test.sh 2020-01-04 10:32:58 +01:00
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
Gerhard Rieger
2f40a439cb Check OpenSSL peers commonName+subjectAltName; new option openssl-commonname 2015-01-12 23:34:47 +01:00
Gerhard Rieger
05afec429d OpenSSL peer certificate subject,issuer details are passed to env 2015-01-12 23:11:26 +01:00
Gerhard Rieger
cf3f6403bc Corrected some configure --disable 2015-01-12 22:30:28 +01:00
Gerhard Rieger
59a11f2efb Include <poll.h> instead of <sys/poll.h> 2015-01-12 22:22:38 +01:00
Gerhard Rieger
ad524a56b7 Passive addresses like TCP-LISTEN with empty port bound to random 2015-01-12 22:21:36 +01:00
Gerhard Rieger
0ab324b173 Address SYSTEM, when terminating, shutted down its parent addresses 2015-01-12 22:20:35 +01:00
Gerhard Rieger
466cb7921c Option ignoreeof on the right address hung 2015-01-12 22:19:01 +01:00
Gerhard Rieger
0219d6ac27 Fixed return value of nestlex() 2015-01-12 21:57:51 +01:00
Gerhard Rieger
98028900e0 Fixed bind with abstract unix domain sockets (Linux) 2015-01-12 21:54:26 +01:00
Gerhard Rieger
2af0495cc6 Made code async-signal-safe 2015-01-12 21:46:16 +01:00
Gerhard Rieger
e4c6f3d934 version 1.7.2.4 2014-03-09 22:08:59 +01:00
Gerhard Rieger
80c7fa0bca struct cmsghdr.cmsg is system dependend; more print format corrections 2014-03-09 22:08:19 +01:00
Gerhard Rieger
93cfe88290 autoconf now prefers configure.ac over configure.in 2014-03-09 15:50:19 +01:00
Gerhard Rieger
8371aa3dc0 linux/errqueue.h may require linux/types.h 2014-03-09 15:47:56 +01:00
Gerhard Rieger
9585312903 The check for fips.h requires stddef.h 2014-03-02 20:14:04 +01:00
Gerhard Rieger
bc38f04072 Android build script with pty code 2014-03-02 20:11:06 +01:00
Gerhard Rieger
133c180fb1 long long supported for time_t, socklen_t and a few other libc types 2014-03-02 20:03:55 +01:00
Gerhard Rieger
fbb521e45e Red Hat issue 1020203: configure checks fail with some compilers 2014-03-02 20:00:25 +01:00
Gerhard Rieger
cf39583b25 Red Hat issue 1021948: snprintf API change 2014-03-02 18:35:54 +01:00
Gerhard Rieger
52e8a5ec2b Red Hat issue 1021429: getgroupent fails with large number of groups 2014-03-02 18:34:58 +01:00
Gerhard Rieger
ab74be65e5 some file system bases addresses failed to apply file options 2014-03-02 18:15:52 +01:00
Gerhard Rieger
a793c8047e fixed some typos and minor issues, including Red Hat issue 1021967 2014-03-02 17:43:23 +01:00
Gerhard Rieger
dfdeaa4836 Red Hat issue 1022070: missing length check in xiolog_ancillary_socket() 2014-03-02 17:36:20 +01:00
Gerhard Rieger
04ad6d5275 Red Hat issue 1022063: out-of-range shifts on net mask bits 2014-03-02 17:35:34 +01:00
Gerhard Rieger
2e17542be7 Red Hat issue 1022062: strcpy misuse in xiosetsockaddrenv_ip4() 2014-03-02 17:30:43 +01:00
Gerhard Rieger
520e84aba7 Red Hat issue 1022048: strncpy hardening 2014-03-02 17:29:53 +01:00
Gerhard Rieger
82231ad799 Red Hat issue 1021972: fixed a missing NUL termination in return string of sysutils.c:sockaddr_info() for the AF_UNIX case 2014-03-02 17:24:57 +01:00
Gerhard Rieger
a214cbca6f Red Hat issue 1021958: fixed a bug with faulty buffer/data length calculation in xio-ascii.c:_xiodump() 2014-03-02 17:24:32 +01:00
Gerhard Rieger
bf17d38dab On big endian platforms with type long >32bit the range option applied a bad base address 2014-03-02 16:57:11 +01:00
Gerhard Rieger
0fad8877fd Changed some variable definitions to make gcc -O2 aliasing checker happy 2014-03-02 16:56:12 +01:00
Gerhard Rieger
257834e501 OPENSSL-CONNECT with bind option failed on some systems with Invalid argument 2014-03-02 16:53:30 +01:00
Gerhard Rieger
1898116eca Increased field width for ulimit values from 16 to 24 digits 2014-03-02 16:51:50 +01:00
Gerhard Rieger
5e63eff878 In xioshutdown() a wrong branch was chosen after RECVFROM type addresses 2014-03-02 16:49:24 +01:00
Gerhard Rieger
b732d00d30 configure checked for --disable-rawsocket but printed --disable-genericsocket 2014-03-02 16:46:00 +01:00
Gerhard Rieger
91b00e8c44 LISTEN based addresses applied some address options to the listening FD instead of the connected FD 2014-03-02 16:42:08 +01:00
Gerhard Rieger
4d013105ea make failed after configure with non gcc compiler due to missing include 2014-03-02 16:38:42 +01:00
Gerhard Rieger
b6deb56a14 libwrap only logs to syslog; actual COPYING file 2014-03-02 16:37:11 +01:00
Gerhard Rieger
0978ada95e improved test.sh script 2014-02-26 18:19:37 +01:00
Gerhard Rieger
77a9c7ae10 performed changes for Fedora release 19 2014-02-09 17:55:06 +01:00
Gerhard Rieger
7a348bdfd5 version 1.7.2.3 - CVE-2014-0019: fixed PROXY-CONNECT address overflow 2014-01-25 17:44:55 +01:00
Gerhard Rieger
022f0a46e6 version 1.7.2.2 - fixed FD leak in accept() loop 2013-03-25 20:42:58 +01:00
Gerhard Rieger
464d23a34f version 1.7.2.1 - fixed READLINE buffer overflow 2012-04-24 07:30:01 +02:00
Gerhard Rieger
42ef3f4645 version 1.7.2.0 2011-12-05 22:28:49 +01:00
Gerhard Rieger
4c9898446d Ubuntu Oneiric: OpenSSL w/o SSLv2, bsd/libutil.h, unused vars 2011-12-04 15:14:34 +01:00
Gerhard Rieger
abb25c1427 improved dev_t print format definition 2011-11-27 11:37:32 +01:00
Gerhard Rieger
eccce7542e corrected check for net/if.h 2011-11-27 11:03:56 +01:00
Gerhard Rieger
1c302dc23c dropopts must not free() 2011-11-27 10:49:28 +01:00
Gerhard Rieger
3ef7b3e366 port to Dragonfly 2011-11-26 14:56:19 +01:00
Gerhard Rieger
490a01d245 typos in docu and source 2011-11-26 14:49:51 +01:00
Gerhard Rieger
7e3386f228 OpenSSL option compress allows to disable compression 2011-11-26 14:27:02 +01:00
Gerhard Rieger
9e0c4e1df5 allow tun/tap specification without IP address 2011-11-26 14:25:27 +01:00
Gerhard Rieger
02f3b29ab6 new option max-children that limits the number of concurrent child processes 2011-11-26 14:24:09 +01:00
Gerhard Rieger
6cefd1941e UDP-LISTEN need not sleep 2011-11-26 14:09:02 +01:00
Gerhard Rieger
b579f27765 minor corrections to docu and test.sh resulting from local compilation on Openmoko SHR 2011-11-22 13:57:46 +01:00
Gerhard Rieger
d2fab02571 corrections for OpenEmbedded, especially termios SHIFT values andISPEED/OSPEED 2011-11-22 13:47:58 +01:00
Gerhard Rieger
98abed1abd fixed compiler warnings on Mac OS X 64bit 2011-11-22 13:37:23 +01:00
Gerhard Rieger
b4b7ffc732 check if define __APPLE_USE_RFC_2292 helps to enable IPV6_* 2011-11-22 13:20:02 +01:00
Gerhard Rieger
baa16a52a6 check for defines IPV6_* 2011-11-22 13:11:51 +01:00
Gerhard Rieger
0cf1e34018 port to RHEL6 - fips.h 2011-11-22 12:48:22 +01:00
Gerhard Rieger
7a3ed71270 port to Cygwin - struct pktinfo.ipi_spec_dst 2011-11-22 11:24:35 +01:00
Gerhard Rieger
26801266f2 port to Android 2011-11-22 10:58:15 +01:00
Gerhard Rieger
0b472d59d2 OPENSSL-LISTEN failed with "no shared cipher" when using cipher aNULL 2011-11-22 10:42:38 +01:00
Gerhard Rieger
49c0505298 fixed sporadic data loss on pid reuse 2011-11-19 10:43:50 +01:00
Gerhard Rieger
976d6f0b75 fixed bug that could freeze socat during signal handling 2011-11-10 09:09:04 +01:00
Gerhard Rieger
6a8f6c0734 handle partial write()'s without data loss 2011-10-09 09:18:31 +02:00
Gerhard Rieger
3881c794a7 unnamed unix domain socket could generate invalid log output or lead to a process crash 2011-10-08 11:10:58 +02:00
Gerhard Rieger
b8d16ecd51 issue error when PTY called with parameters 2011-03-10 07:55:03 +01:00
Gerhard Rieger
aae035c5b9 option -x prints info about packet 2010-12-08 10:58:25 +01:00
Gerhard Rieger
06179edeb6 address option ioctl-intp failed with "unimplemented type 26" 2010-10-05 09:11:47 +02:00
Gerhard Rieger
290b62c817 TCP-CONNECT with option nonblock reported successful connect even when it was still pending 2010-10-05 07:35:02 +02:00
Gerhard Rieger
e0d548df71 UNIX-CONNECT did not support half-close 2010-10-04 00:18:13 +02:00
Gerhard Rieger
2e385902c0 UDP-LISTEN would alway set SO_REUSEADDR even without fork option and when user set it to 0 2010-10-03 16:38:04 +02:00
Gerhard Rieger
cb913fbc0c when UNIX-LISTEN was applied to an existing file it failed as expected but removed the file 2010-10-03 16:28:06 +02:00
Gerhard Rieger
4c3d1ca49d fixed a bug where socat might crash when connecting to a unix domain socket using address GOPEN 2010-10-03 15:46:10 +02:00
Gerhard Rieger
a5fc4686a7 version 1.7.1.3 2010-10-03 11:37:29 +02:00
Gerhard Rieger
6340d5d2c8 fixed a stack overflow vulnerability with long command line args 2010-10-03 11:36:50 +02:00
Gerhard Rieger
07db31f7ac version 1.7.1.2 2010-01-10 15:20:37 +01:00
Gerhard Rieger
53f2b93b76 merged: minor corrections in docu 2010-01-09 16:08:24 +01:00
Gerhard Rieger
3b9393ac9a merged: added struct sockaddr_ll to union sockaddr_union to avoid "strict aliasing" 2010-01-09 16:04:46 +01:00
Gerhard Rieger
f633abfe52 merged: Debian bug 531078: socat execs children with SIGCHLD ignored - fixed 2010-01-09 16:02:44 +01:00
Gerhard Rieger
8658c7f953 merged: info message during socks connect showed bad port number on little endian systems 2010-01-09 16:00:41 +01:00
Gerhard Rieger
625e1a61c3 merged: openssl addresses failed with "nonblocking operation did not complete" when the peer performed a renegotiation 2010-01-09 15:51:28 +01:00
Gerhard Rieger
3f6e8ac318 merged: user-late and group-late, when applied to a pty, affected the system device /dev/ptmx 2010-01-09 15:43:10 +01:00
Gerhard Rieger
7c0339d82f merged: on some 64bit systems a compiler warning "cast from pointer to integer of different size" was issued on some option definitions 2010-01-09 15:23:02 +01:00
Gerhard Rieger
9161a4eb2b Solaris 8 and Sun Studio support 2010-01-09 13:42:57 +01:00
Gerhard Rieger
1db7a7b1f7 openssl addresses failed with "nonblocking operation did not complete" when the peer performed a renegotiation 2010-01-09 13:35:24 +01:00
Gerhard Rieger
1868e43317 on some 64bit systems a compiler warning "cast from pointer to integer of different size" was issued on some option definitions 2010-01-09 13:32:23 +01:00
Gerhard Rieger
80286cdeb5 user-late and group-late, when applied to a pty, affected the system device /dev/ptmx 2010-01-09 10:10:48 +01:00
Gerhard Rieger
6cc97b32a8 failed to build with gcc -Wall (esp. on Redhat like systems) 2010-01-08 07:26:33 +01:00
Gerhard Rieger
a8a8626c2f added struct sockaddr_ll to union sockaddr_union to avoid "strict aliasing" 2010-01-04 12:59:56 +01:00
Gerhard Rieger
7a185eebbd minor corrections in docu 2010-01-03 23:00:44 +01:00
Gerhard Rieger
5bfd245d13 info message during socks connect showed bad port number on little endian systems 2009-12-31 10:16:15 +01:00
Gerhard Rieger
1cf3a1c4c9 Debian bug 531078: socat execs children with SIGCHLD ignored - fixed 2009-12-30 21:12:31 +01:00
Gerhard Rieger
30a3ec3baa version 1.7.1.1 2009-05-08 16:02:00 +02:00
Gerhard Rieger
2a34236fce merged docu corrections and improvements 2009-05-06 20:02:56 +02:00
Gerhard Rieger
c5201ee1f5 so-bindtodevice in doc, minor corrections in doc 2009-05-06 08:34:02 +02:00
Gerhard Rieger
448fa74706 merged: compile problem caused by size_t/socklen_t mismatch; an invalid close() operation was performed 2009-05-06 08:28:53 +02:00
Gerhard Rieger
e0c0e66748 merged: ftruncate64 cut its argument to 32 bits on systems with 32 bit long type 2009-05-06 08:24:31 +02:00
Gerhard Rieger
cfffd8495c merged corrected "fixed possible SIGSEGV" fix 2009-05-06 08:21:09 +02:00
Gerhard Rieger
a479ab8df5 socat crashed on systems without setenv() 2009-05-06 06:28:33 +02:00
Gerhard Rieger
4576b50e47 ftruncate64 cut its argument to 32 bits on systems with 32 bit long type 2009-05-05 22:42:50 +02:00
Gerhard Rieger
67a1060b49 corrected the "fixed possible SIGSEGV" fix 2009-05-05 22:34:05 +02:00
Gerhard Rieger
7c2039ada8 version 1.7.1.0 2009-04-02 21:30:50 +02:00