Commit graph

157 commits

Author SHA1 Message Date
Gerhard Rieger
7701095d45 SSLv2 only when available; fixed sa_family_t compile error; minor cleanup 2014-03-16 22:10:20 +01:00
Gerhard Rieger
09eac84915 typos in docu and source 2014-03-16 22:10:19 +01:00
Gerhard Rieger
019cce7611 improved dev_t print format definition 2014-03-16 22:10:01 +01:00
Gerhard Rieger
2b1eabd058 corrected check for net/if.h 2014-03-16 22:10:00 +01:00
Gerhard Rieger
800fd903b1 OpenSSL option compress allows to disable compression 2014-03-16 22:10:00 +01:00
Gerhard Rieger
dbb6ea3a52 allow tun/tap specification without IP address 2014-03-16 22:09:36 +01:00
Gerhard Rieger
46313470b8 new option max-children that limits the number of concurrent child processes 2014-03-16 22:09:15 +01:00
Gerhard Rieger
799a6ba377 corrections for OpenEmbedded, especially termios SHIFT values andISPEED/OSPEED 2014-03-16 22:08:54 +01:00
Gerhard Rieger
a65b1c7c72 fixed compiler warnings on Mac OS X 64bit 2014-03-16 22:08:36 +01:00
Gerhard Rieger
178442ab21 check if define __APPLE_USE_RFC_2292 helps to enable IPV6_* 2014-03-16 22:08:15 +01:00
Gerhard Rieger
53d969ffe3 check for defines IPV6_* 2014-03-16 22:07:51 +01:00
Gerhard Rieger
709427ab1f port to RHEL6 - fips.h 2014-03-16 22:07:51 +01:00
Gerhard Rieger
f536cb6616 port to Cygwin - struct pktinfo.ipi_spec_dst 2014-03-16 22:07:22 +01:00
Gerhard Rieger
93e12161a3 port to Android 2014-03-16 22:07:22 +01:00
Gerhard Rieger
5d052c84e1 dropopts must not free() 2014-03-16 22:06:57 +01:00
Gerhard Rieger
5a5f1ed1bc UDP-LISTEN need not sleep 2014-03-16 22:06:57 +01:00
Gerhard Rieger
6e790adc5b OPENSSL-LISTEN failed with "no shared cipher" when using cipher aNULL 2014-03-16 22:06:57 +01:00
Gerhard Rieger
f6b2e0b167 fixed sporadic data loss on pid reuse 2014-03-16 22:06:57 +01:00
Gerhard Rieger
5b4d970c06 fixed bug that could freeze socat during signal handling 2014-03-16 22:06:57 +01:00
Gerhard Rieger
62b43211eb handle partial write()'s without data loss 2014-03-16 22:06:57 +01:00
Gerhard Rieger
1c13486bd6 unnamed unix domain socket could generate invalid log output or lead to a process crash 2014-03-16 22:06:12 +01:00
Gerhard Rieger
ab25a5199b option -x prints info about packet 2014-03-16 22:06:12 +01:00
Gerhard Rieger
352820b21c address option ioctl-intp failed with "unimplemented type 26" 2014-03-16 22:06:12 +01:00
Gerhard Rieger
4efa3c5ebc TCP-CONNECT with option nonblock reported successful connect even when it was still pending 2014-03-16 22:06:11 +01:00
Gerhard Rieger
c02a062db4 UNIX-CONNECT did not support half-close 2014-03-16 22:06:11 +01:00
Gerhard Rieger
ea657bbf78 UDP-LISTEN would alway set SO_REUSEADDR even without fork option and when user set it to 0 2014-03-16 22:06:11 +01:00
Gerhard Rieger
ad200da8fd when UNIX-LISTEN was applied to an existing file it failed as expected but removed the file 2014-03-16 22:06:11 +01:00
Gerhard Rieger
51d9b5d76a fixed a bug where socat might crash when connecting to a unix domain socket using address GOPEN 2014-03-16 22:06:11 +01:00
Gerhard Rieger
364edd63df Solaris 8 and Sun Studio support 2014-03-16 22:06:11 +01:00
Gerhard Rieger
4b25958cb0 openssl addresses failed with "nonblocking operation did not complete" when the peer performed a renegotiation 2014-03-16 22:06:11 +01:00
Gerhard Rieger
86ebee79fa on some 64bit systems a compiler warning "cast from pointer to integer of different size" was issued on some option definitions 2014-03-16 22:06:11 +01:00
Gerhard Rieger
2040d8300c user-late and group-late, when applied to a pty, affected the system device /dev/ptmx 2014-03-16 22:05:36 +01:00
Gerhard Rieger
529b9ece6b failed to build with gcc -Wall (esp. on Redhat like systems) 2014-03-16 22:04:12 +01:00
Gerhard Rieger
c8e1ef5286 added struct sockaddr_ll to union sockaddr_union to avoid "strict aliasing" 2014-03-16 22:03:42 +01:00
Gerhard Rieger
13f830a533 minor corrections in docu 2014-03-16 22:03:42 +01:00
Gerhard Rieger
27eb0a30b6 info message during socks connect showed bad port number on little endian systems 2014-03-16 22:03:42 +01:00
Gerhard Rieger
0c8f8a7fc0 Debian bug 531078: socat execs children with SIGCHLD ignored - fixed 2014-03-16 22:03:42 +01:00
Gerhard Rieger
6dc9f3fff7 so-bindtodevice in doc, minor corrections in doc; added environment example to doc/socat-multicast.html 2014-03-16 22:03:42 +01:00
Gerhard Rieger
cedd67dad0 compile problem caused by size_t/socklen_t mismatch 2014-03-16 22:02:54 +01:00
Gerhard Rieger
a8f6d853de ftruncate64 cut its argument to 32 bits on systems with 32 bit long type 2014-03-16 22:02:32 +01:00
Gerhard Rieger
9b09003643 corrected the "fixed possible SIGSEGV" fix 2014-03-16 22:02:05 +01:00
Gerhard Rieger
bcadefeda7 version 2.0.0-b7 - CVE-2014-0019: fixed PROXY-CONNECT address overflow 2014-01-25 17:44:44 +01:00
Gerhard Rieger
c22863e4fb version 2.0.0-b6 - fixed FD leak in accept() loop 2013-05-26 20:24:04 +02:00
Gerhard Rieger
2d24bc3157 version 2.0.0-b5 - fixed READLINE buffer overflow 2012-04-24 07:35:42 +02:00
Gerhard Rieger
e3788fa8de version 2.0.0-b4 2010-10-04 21:07:36 +02:00
Gerhard Rieger
c576712ebd fixed a stack overflow vulnerability with long command line args 2010-10-04 21:04:45 +02:00
Gerhard Rieger
5df0e4a3d9 version 2.0.0-b3 2009-04-03 17:17:10 +02:00
Gerhard Rieger
b53a9afba7 stabilized test IP4MULTICAST_UNIDIR; added tests OPENSSL_SCTPx_FORK; minor improvements 2008-11-01 19:04:46 +01:00
Gerhard Rieger
2ade09e5ab merged actual branch 1 fixes 2008-10-31 07:43:26 +01:00
Gerhard Rieger
5999bbc1b8 under some circumstances shutdown was called multiple times for the same fd 2008-10-28 21:07:47 +01:00
Gerhard Rieger
634e02269f help displayed some option types wrong 2008-10-28 17:48:57 +01:00
Gerhard Rieger
8222b731a4 merged 1.7.0.0; fixed a few minor bugs 2008-10-22 02:33:23 +02:00
Gerhard Rieger
326cac28d6 merged 1.6.0.1 2008-10-17 22:49:55 +02:00
Gerhard Rieger
4645166fcd version 1.7.0.0 2008-10-15 22:54:47 +02:00
Gerhard Rieger
bc4fefdc50 AIX: cast for hstrerror() 2008-10-12 18:56:01 +02:00
Gerhard Rieger
2bc9b77bac new address options i-pop-all, i-push 2008-09-26 16:58:08 +02:00
Gerhard Rieger
674b0e608d merged socat did not compile on Solaris when configured with --disable-termios 2008-09-24 09:05:39 +02:00
Gerhard Rieger
b7dc45661e socat socat did not compile on Solaris when configured with --disable-termios 2008-09-24 08:31:00 +02:00
Gerhard Rieger
784e378ede merged feature raw network interface 2008-09-23 00:09:19 +02:00
Gerhard Rieger
91057b0b68 merged feature sctp streams 2008-09-22 23:21:26 +02:00
Gerhard Rieger
d78b080ef0 merged features ioctl, setsockopt, generic-socket 2008-09-22 22:52:03 +02:00
Gerhard Rieger
86c596bd51 merged feature protocol-type 2008-09-22 22:33:04 +02:00
Gerhard Rieger
2ffe5a324e merged features ancillary, envvar 2008-09-22 22:17:55 +02:00
Gerhard Rieger
bd3810642b Merge /home/gerhard/Develop/socat-escape into socat-1.7.0.0 2008-09-22 22:05:08 +02:00
Gerhard Rieger
749b745c8a merged feature filan -s 2008-09-22 22:04:12 +02:00
Gerhard Rieger
9a097fc49d socat should now build under MacOS X 10.4 2008-09-21 18:08:26 +02:00
Gerhard Rieger
9d7c7f8244 Makefile now supports datarootdir 2008-09-21 18:05:53 +02:00
Gerhard Rieger
376b9d50c3 reworked so-type, so-prototype 2008-09-20 23:47:06 +02:00
Gerhard Rieger
b6c2d46008 cleanup xio-unix.c: merged classic with abstract functions; names, ... 2008-09-20 23:40:45 +02:00
Gerhard Rieger
de910892f2 new address "interface" for transparent network interface handling 2008-09-20 23:37:56 +02:00
Gerhard Rieger
c86345a615 new address option "escape" allows to break a socat instance 2008-09-20 23:01:10 +02:00
Gerhard Rieger
9809b977e2 filan -s prefixes output with FD number if more than one FD 2008-09-20 21:52:36 +02:00
Gerhard Rieger
13b73776e7 ported generic socket to *BSD; minor improvements 2008-09-20 17:17:27 +02:00
Gerhard Rieger
140443794b add generic setsockopt address options 2008-09-20 17:09:09 +02:00
Gerhard Rieger
2c2508fc62 added address options: ioctl-void, ioctl-int, ioctl-intp, ioctl-bin, ioctl-string
added option types: TYPE_INT_INT, TYPE_INT_BIN, TYPE_INT_STRING
added syscall wrapper: Ioctl_int()
added test: IOCTL_VOID
2008-09-20 17:08:29 +02:00
Gerhard Rieger
0e1eb7e4b4 in ignoreeof mode socat also blocked data transfer in the other direction 2008-09-19 09:03:59 +02:00
Gerhard Rieger
f8496421f9 some raw IP and UNIX datagram modes failed on BSD systems; test.sh: more stable timing, corrections for BSD 2008-09-14 18:33:28 +02:00
Gerhard Rieger
e142c3da6b dont leave UDP-LISTEN socket open after reject 2008-09-04 23:30:59 +02:00
Gerhard Rieger
a1c0e96592 replaced the select() calls by poll() 2008-07-24 21:51:38 +02:00
Gerhard Rieger
5251c21479 corrected alphabetical order of options (proxy-auth); bad conditional with token 2008-07-24 07:32:56 +02:00
Gerhard Rieger
780b4028fe improved test.sh script 2008-07-23 20:56:48 +02:00
Gerhard Rieger
ae368e7cb9 EXEC address with consecutive spaces created additional empty arguments 2008-07-17 21:49:52 +02:00
Gerhard Rieger
ad4bd0d9db EXEC and SYSTEM with stderr injected socat messages into the data stream 2008-06-07 10:14:56 +02:00
Gerhard Rieger
c4751d50ec corrected a few mistakes that caused compiler warnings on 64bit hosts 2008-05-22 20:12:24 +02:00
Gerhard Rieger
d086001911 RECVFROM addresses with FORK option hung after processing the first packet 2008-05-22 16:51:40 +02:00
Gerhard Rieger
fe1337fe5f fixed bug in ip*-recv with bind option 2008-05-22 10:02:04 +02:00
Gerhard Rieger
db717446a4 version 2.0.0-b1 2008-02-17 14:59:16 +01:00
Gerhard Rieger
d37e8acc5f version 1.6.0.1 2008-02-09 22:57:30 +01:00
Gerhard Rieger
66142aa77c configure --disable-pty also disabled option waitlock 2008-02-06 06:41:05 +01:00
Gerhard Rieger
35497aa4f9 fixed bugs with struct ip_mreq 2008-02-03 20:56:52 +01:00
Gerhard Rieger
2e7314d523 corrected option names to interval 2008-02-03 12:14:36 +01:00
Gerhard Rieger
edd6dae2de corrected option handling with stdio 2008-02-03 10:26:21 +01:00
Gerhard Rieger
3b3b004ff8 fixed a bug where sub processes would become zombies because the master process caught SIGCHLD but did not wait() 2008-02-01 23:38:16 +01:00
Gerhard Rieger
1f5165b765 fixed bugs where sub processes would become zombies because the master process did not catch SIGCHLD 2008-02-01 23:15:14 +01:00
Gerhard Rieger
8fbff188e1 replaced FOPEN_MAX with FD_SETSIZE 2008-02-01 22:26:01 +01:00
Gerhard Rieger
989790c57f procan prints C defines important for socat 2008-01-31 21:41:13 +01:00
Gerhard Rieger
706e3a6863 service name resolution failed due to byte order problem 2008-01-29 23:08:52 +01:00
Gerhard Rieger
26134dff53 exec:...,pty did not kill child process under some circumstances 2008-01-29 22:29:28 +01:00
Gerhard Rieger
79b6e800c6 corrected some print statements and variable names 2008-01-29 22:11:28 +01:00
Gerhard Rieger
15e4073572 added test OPENSSLEOF 2008-01-29 21:35:15 +01:00