Commit graph

266 commits

Author SHA1 Message Date
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