Commit graph

172 commits

Author SHA1 Message Date
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
Gerhard Rieger
6e4db297ae merged typos branch 2009-04-02 17:13:45 +02:00
Gerhard Rieger
90633dd508 merged shutdown, shutnull branches 2009-04-02 17:09:59 +02:00
Gerhard Rieger
806bccbf94 new address options shut-null, null-eof 2009-04-02 17:02:29 +02:00
Gerhard Rieger
209ff84a07 minor corrections of docu and test.sh; o-append 2009-04-02 10:29:06 +02:00
Gerhard Rieger
a05e96f6a7 option names substuser-early and su-e 2009-04-02 09:28:58 +02:00
Gerhard Rieger
793763677a new address options shut-none, shut-down, and shut-close 2009-04-02 08:52:11 +02:00
Gerhard Rieger
50be6b25cf version 1.7.0.1 2009-04-01 16:50:51 +02:00
Gerhard Rieger
4a42088332 option end-close "did not apply" with some address types 2009-03-31 23:22:06 +02:00
Gerhard Rieger
a5591dcfd0 merged fix for possible SIGSEGV in listening addresses 2009-03-31 23:18:56 +02:00
Gerhard Rieger
e2402ad019 fixed possible SIGSEGV in listening addresses 2009-03-31 23:16:47 +02:00
Gerhard Rieger
e5f2863cd8 merged connect-timeout bug fix 2009-03-31 22:55:15 +02:00
Gerhard Rieger
13fce17ad8 half close of EXEC and SYSTEM addresses did not work with pipes and sometimes socketpair 2009-03-31 22:46:41 +02:00
Gerhard Rieger
e19d94bea4 fixed new bug with connect-timeout 2009-03-31 21:58:30 +02:00
Gerhard Rieger
7b61382c76 end-close "did not apply" to some addresses 2009-03-12 06:31:42 +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
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