Commit graph

56 commits

Author SHA1 Message Date
Gerhard Rieger
8b2e0593f3 Added configure option --with-default-ipv 2023-10-26 22:16:21 +02:00
Gerhard Rieger
c2196d6f15 Output statistics per option and SIGUSR1 2023-10-26 18:42:41 +02:00
Gerhard Rieger
2af6089436 Socat option -r,-R path specifications allow use of variables 2023-10-26 16:57:39 +02:00
Gerhard Rieger
d36f78d854 Formatted help output; address keywords in help now uppercase 2023-10-26 14:56:50 +02:00
Gerhard Rieger
3e282ee7a0 Internal: renamed xioopts_t to xioparms_t 2023-09-30 11:46:47 +02:00
Gerhard Rieger
eeabf31e04 Option -S for controlling signals' logging 2023-09-30 11:45:53 +02:00
Gerhard Rieger
02483ff39e Replaced SIGUSR1 with socketpair for synchronization between parent and child processes on RECVFROM type addresses 2023-09-30 11:34:43 +02:00
Gerhard Rieger
a0e17a813a Process last data of failed child process 2023-09-30 11:33:22 +02:00
Gerhard Rieger
557f299b82 Print warning messages per default; new options -d0..-d4 2023-09-30 09:42:11 +02:00
Gerhard Rieger
dc777a00bb Added the --experimental option 2023-09-30 09:26:13 +02:00
Gerhard Rieger
33896a3f38 Removed trailing white space from *.h and *.c files 2023-06-12 23:01:54 +02:00
Gerhard Rieger
2dadc1010f -r, -R now with CLOEXEC, and warn on write problems 2023-06-12 21:27:51 +02:00
Gerhard Rieger
eeeebe6cb2 Fixed unwanted recvfrom() with signal handler logs 2023-06-12 21:22:26 +02:00
Gerhard Rieger
5fdd033e7d Replaced // comments for C89/C90 standard compliance 2023-06-12 12:28:48 +02:00
Gerhard Rieger
41b5da75ac New env var SOCAT_TRANSFER_WAIT: sleep before transfer loop 2023-06-11 22:23:15 +02:00
Gerhard Rieger
893d031cc2 Tightened syntax checks to discover bad numerical arguments 2022-10-29 20:56:24 +02:00
Gerhard Rieger
967e2b24b5 AIX: Fixed configure and compile issues 2022-01-06 14:14:44 +01:00
Gerhard Rieger
25cef1c540 Corrected gettimeofday() handling 2021-10-31 13:04:12 +01:00
Gerhard Rieger
39e24c2b06 The call "socat -r - PIPE" traced to file ./- instead of issuing a syntax error 2021-10-31 11:47:53 +01:00
Gerhard Rieger
2fe44bbd78 Fixed -r, -R to named pipe "No such device or address" error 2021-10-31 11:46:38 +01:00
Gerhard Rieger
1a1cbb1598 Option -R did not only dump right-to-left, but also left-to-right traffic 2021-10-31 11:45:05 +01:00
Gerhard Rieger
45ad4018b0 More corrections to recent changes and from systematic tests 2021-01-03 16:56:50 +01:00
Gerhard Rieger
1502f0cdcb Added VSOCK stream addresses 2020-12-31 15:34:56 +01:00
Gerhard Rieger
e765898d38 New options -r, -R for raw data dumps 2020-12-31 13:23:54 +01:00
Gerhard Rieger
55518fa690 Align buffer for read() with flag O_DIRECT 2020-12-29 05:17:53 +01:00
Gerhard Rieger
f34e8a4dc1 Mitigated race condition of SYSTEM,EXEC child processes 2020-12-28 11:10:03 +01:00
Gerhard Rieger
8e6b341f59 Fixed possible integer overflow with option -b 2020-10-30 09:13:21 +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
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
d7473dbac6 Corrected mention of SSL-LISTEN and SSL-CONNECT in doc; more minor corrections 2017-01-08 11:50:11 +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
3ee5ac5275 Debian Bug 764251: Set the build timestamp to a deterministic time 2015-01-23 18:41:04 +01:00
Gerhard Rieger
ca872c9a9f Fixed memory leaks 2015-01-23 18:38:37 +01:00
Gerhard Rieger
2f40a439cb Check OpenSSL peers commonName+subjectAltName; new option openssl-commonname 2015-01-12 23:34:47 +01:00
Gerhard Rieger
466cb7921c Option ignoreeof on the right address hung 2015-01-12 22:19:01 +01:00
Gerhard Rieger
2af0495cc6 Made code async-signal-safe 2015-01-12 21:46:16 +01:00
Gerhard Rieger
aae035c5b9 option -x prints info about packet 2010-12-08 10:58:25 +01:00
Gerhard Rieger
50be6b25cf version 1.7.0.1 2009-04-01 16:50:51 +02: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
674166acbd socat.c: adapted xiopoll() messages for struct timeval 2008-10-14 22:15:18 +02:00
Gerhard Rieger
b0d29f8dc7 MacOSX port: xiopoll() uses Select(), except when too many fds 2008-09-29 21:18:58 +02:00
Gerhard Rieger
8287a65d1a MacOSX port: issue error when poll gives POLLNVAL 2008-09-26 08:13:19 +02:00
Gerhard Rieger
3684e5daa0 added genericsocket to -V 2008-09-24 16:15:11 +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
2ffe5a324e merged features ancillary, envvar 2008-09-22 22:17:55 +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
0e1eb7e4b4 in ignoreeof mode socat also blocked data transfer in the other direction 2008-09-19 09:03:59 +02:00