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
|
f0ca732bd9
|
Version 1.7.4.5
|
2023-06-13 16:19:52 +02:00 |
|
Gerhard Rieger
|
33896a3f38
|
Removed trailing white space from *.h and *.c files
|
2023-06-12 23:01:54 +02:00 |
|
Gerhard Rieger
|
920d77847d
|
Do not try to remove abstract UNIX socket entries after use
|
2023-06-12 21:29:45 +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
|
77ef274f76
|
test.sh: Improved template; prepared namesFAIL, -d (DEBUG)
|
2023-06-12 21:07:12 +02:00 |
|
Gerhard Rieger
|
2a04219dee
|
Procan: try to find out VSOCK CID only when running as root
|
2023-06-12 21:02:31 +02:00 |
|
Gerhard Rieger
|
c3719e7603
|
Longer Socat examples are now splitted into two or three lines; improved CSS
|
2023-06-12 21:02:21 +02:00 |
|
Gerhard Rieger
|
7cbe0b645b
|
Improved docu of options with bool type; fcntl() traces flags in hex
|
2023-06-12 20:56:16 +02:00 |
|
Gerhard Rieger
|
9c1ccf412c
|
Added examples for DCCP client and server
|
2023-06-12 20:53:31 +02:00 |
|
Gerhard Rieger
|
2bd2a04151
|
socat-tun.html: not TCP but UDP
|
2023-06-12 20:51:16 +02:00 |
|
Gerhard Rieger
|
5033ec1ffd
|
Test if EXEC only passes stdio
|
2023-06-12 20:48:39 +02:00 |
|
Gerhard Rieger
|
0cf1275349
|
test.sh: Check if ports are free before using them for tests
|
2023-06-12 20:47:21 +02:00 |
|
Gerhard Rieger
|
a9a2931258
|
test.sh: Some timing adaptations
|
2023-06-12 20:27:55 +02:00 |
|
Gerhard Rieger
|
b289d66ea8
|
test.sh: help; option --expect-fail to ignore specified failures
|
2023-06-12 20:27:41 +02:00 |
|
Gerhard Rieger
|
ffe940041c
|
Guard OPENSSL_INIT_new() for LibreSSL
|
2023-06-12 19:24:16 +02:00 |
|
Gerhard Rieger
|
4565c8e6ac
|
Socat lock files generated with -L and -W now have mode 644
|
2023-06-12 19:23:28 +02:00 |
|
Gerhard Rieger
|
3678757fed
|
Do not take IP address as SNI parameter
|
2023-06-12 19:23:09 +02:00 |
|
Gerhard Rieger
|
d355da98bc
|
Fixed restore of STDIO tty on Solaris
|
2023-06-12 14:34:31 +02:00 |
|
Gerhard Rieger
|
5fdd033e7d
|
Replaced // comments for C89/C90 standard compliance
|
2023-06-12 12:28:48 +02:00 |
|
Gerhard Rieger
|
b3dde9a009
|
Option stderr leaked a temporary FD into child process
|
2023-06-12 12:25:54 +02:00 |
|
Gerhard Rieger
|
80f4aa8bcd
|
Apply FD_CLOEXEC to FDs of message queuing socketpair
|
2023-06-12 12:23:37 +02:00 |
|
Gerhard Rieger
|
8539e6e887
|
Fixed an internal FD leak in the EXEC,SYSTEM addresses
|
2023-06-12 12:21:09 +02:00 |
|
Gerhard Rieger
|
10a741eb60
|
Corrected VSOCK CID query; minor VSOCK features
|
2023-06-12 08:37:49 +02:00 |
|
Gerhard Rieger
|
b05b360320
|
Filan: Fixed diag_set() call in filan_main.c
|
2023-06-12 08:06:14 +02:00 |
|
Gerhard Rieger
|
783d688463
|
configure.at is now C99 able
|
2023-06-12 08:05:03 +02:00 |
|
Gerhard Rieger
|
75922a9189
|
Filan: Fixed TCP/UDP displaying; fixed a few syntax error messages
|
2023-06-12 08:04:43 +02:00 |
|
Gerhard Rieger
|
486bb2c65c
|
Fixed FD leak on accept-timeout with retry
|
2023-06-11 22:47:37 +02:00 |
|
Gerhard Rieger
|
67027cee59
|
Fixed a bug in dalan that could lead to SIGSEGV
|
2023-06-11 22:47:22 +02:00 |
|
Gerhard Rieger
|
9368c5576d
|
The previous correction of ip-add-source-membership build broke this option
|
2023-06-11 22:27:39 +02:00 |
|
Gerhard Rieger
|
d95d62dbfb
|
recvmsg() fails after connect error: log as Info not Warn
|
2023-06-11 22:27:27 +02:00 |
|
Gerhard Rieger
|
30ace16174
|
Test of EXEC,SYSTEM with socktype=<SOCK_DGRAM>
|
2023-06-11 22:27:12 +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
|
a8b2cb68d5
|
Version 1.7.4.4
|
2022-10-30 15:58:30 +01:00 |
|
Gerhard Rieger
|
db80b7752a
|
Corrected printf format for type socklen_t in two places; minor corrs in test.sh
|
2022-10-30 15:50:44 +01:00 |
|
Gerhard Rieger
|
2882ac6976
|
VSOCK: short alias names, env var with peer info
|
2022-10-30 11:25:19 +01:00 |
|
Gerhard Rieger
|
cb03d2f075
|
Missing Yodl packages does not break build process
|
2022-10-29 22:51:27 +02:00 |
|
Gerhard Rieger
|
d1d8f8f5e0
|
Updated doc/socat-openssltunnel.html: 2048 bits, commonname
|
2022-10-29 22:49:42 +02:00 |
|
Gerhard Rieger
|
3fe7f7285d
|
Fixed hard coded path in docu examples
|
2022-10-29 22:48:22 +02:00 |
|
Gerhard Rieger
|
c0c4037a8d
|
Typo in doc/socat-tun.html, link in README
|
2022-10-29 22:47:25 +02:00 |
|
Gerhard Rieger
|
4388f4b774
|
Solaris derivatives no longer need librt for clock_gettime()
|
2022-10-29 22:41:54 +02:00 |
|
Gerhard Rieger
|
2702fef723
|
Filan recognizes and prints Solaris doors and event ports
|
2022-10-29 22:38:49 +02:00 |
|
Gerhard Rieger
|
c4281baabb
|
Filan for Solaris: /proc/<pid>/path/
|
2022-10-29 22:35:10 +02:00 |
|
Gerhard Rieger
|
e52675faed
|
Fixed ancillary messages on Solaris
|
2022-10-29 22:33:37 +02:00 |
|
Gerhard Rieger
|
6340127060
|
Fixed PTYs on Solaris
|
2022-10-29 22:32:14 +02:00 |
|
Gerhard Rieger
|
e0c669028d
|
Filan prints symlink target
|
2022-10-29 21:07:09 +02:00 |
|
Gerhard Rieger
|
c62f93a168
|
error.c: signal handler messages socket pair is disabled in Filan
|
2022-10-29 21:02:01 +02:00 |
|
Gerhard Rieger
|
9be423ceea
|
Improved handling of very long host or program names, or no strftime
|
2022-10-29 21:00:06 +02:00 |
|
Gerhard Rieger
|
5edcb9b308
|
ctype(3) functions need there arguments to be unsigned char
|
2022-10-29 20:59:03 +02:00 |
|
Gerhard Rieger
|
893d031cc2
|
Tightened syntax checks to discover bad numerical arguments
|
2022-10-29 20:56:24 +02:00 |
|
Gerhard Rieger
|
88cdeed092
|
Fixed bad parser error message on "socat /tmp/x\"x/x -"
|
2022-10-29 20:55:12 +02:00 |
|
Gerhard Rieger
|
75cb44bc90
|
Correction of getprotobynumber_r() variant detection (musl libc)
|
2022-10-29 20:52:19 +02:00 |
|
Gerhard Rieger
|
ee23bccee7
|
Enable option ip-add-source-membership only when both IP_ADD_SOURCE_MEMBERSHIP and struct ip_mreq_source are available
|
2022-10-29 20:38:08 +02:00 |
|
Gerhard Rieger
|
d8ee49007e
|
Combined Bind() calls in xiobind(); fixed UDP-SENDTO lowport bug
|
2022-10-29 20:27:53 +02:00 |
|
Gerhard Rieger
|
56a56e127c
|
test.sh checks for SCTP in kernel
|
2022-10-29 20:24:09 +02:00 |
|
Gerhard Rieger
|
cf81901fe5
|
The rawer option no longer clears CREAD
|
2022-10-29 19:22:18 +02:00 |
|
Gerhard Rieger
|
0b1af3703d
|
Fixed Socats behaviour on failing UNIX domain accesses ea.
|
2022-10-29 17:32:31 +02:00 |
|
Gerhard Rieger
|
ed4780553f
|
Fix TCP address with options connect-timeout and retry
|
2022-10-29 17:10:39 +02:00 |
|
Gerhard Rieger
|
45d87df2fd
|
UDP-RECVFROM with fork sometimes terminated - handle EINTR on recvmsg()
|
2022-10-29 15:32:52 +02:00 |
|
Gerhard Rieger
|
9502d092a2
|
Fixed stack overflow in error.c:msg2()
|
2022-10-29 15:15:50 +02:00 |
|
Gerhard Rieger
|
15e38be2f5
|
Fixed SIGSEGV of OpenSSL on exit()
|
2022-10-29 15:12:44 +02:00 |
|
Gerhard Rieger
|
09969852e9
|
Added tests of failure handling on invalid FS access
|
2022-10-29 15:07:52 +02:00 |
|
Gerhard Rieger
|
26f1f8a2eb
|
Adapted test.sh for musl libc
|
2022-10-29 12:05:41 +02:00 |
|
Gerhard Rieger
|
e6c03a4c94
|
Fixed some testing (test.sh) issues
|
2022-10-19 20:56:27 +02:00 |
|
Gerhard Rieger
|
d1c14650b6
|
Version 1.7.4.3
|
2022-01-08 23:41:48 +01:00 |
|
Gerhard Rieger
|
08666f631f
|
The socktype option was documented as type option
|
2022-01-08 21:41:25 +01:00 |
|
Gerhard Rieger
|
d6e5de4f93
|
Allow build from sub dir
|
2022-01-08 21:34:46 +01:00 |
|
Gerhard Rieger
|
39a8a26fae
|
Socats build date and time may now be set externally with SOURCE_DATE_EPOCH
|
2022-01-06 17:22:34 +01:00 |
|
Gerhard Rieger
|
22a738d2d0
|
The variable for the no-sni option was not initialized
|
2022-01-06 17:17:10 +01:00 |
|
Gerhard Rieger
|
abdf738d1f
|
Socat might have crashed on peer cert without subject
|
2022-01-06 17:14:27 +01:00 |
|
Gerhard Rieger
|
c3081fbba9
|
test.sh: many corrections, esp.for AIX, SunOS
|
2022-01-06 17:13:27 +01:00 |
|
Gerhard Rieger
|
e1a2e37480
|
AIX: Fixed runtime issues
|
2022-01-06 14:14:56 +01:00 |
|
Gerhard Rieger
|
967e2b24b5
|
AIX: Fixed configure and compile issues
|
2022-01-06 14:14:44 +01:00 |
|
Gerhard Rieger
|
ffa09eac00
|
Check which getprotobynumber_r() variant to use
|
2022-01-06 14:14:21 +01:00 |
|
Gerhard Rieger
|
33a5019b18
|
Failed to compile on OmniOS due to TCP_INFO
|
2022-01-06 14:14:10 +01:00 |
|
Gerhard Rieger
|
47674f924a
|
Version 1.7.4.2
|
2021-10-31 19:06:39 +01:00 |
|
Gerhard Rieger
|
de80e962a6
|
Setgui(), Setuid() calls in xio-progcall.c were useless
|
2021-10-31 18:41:25 +01:00 |
|
Gerhard Rieger
|
25cef1c540
|
Corrected gettimeofday() handling
|
2021-10-31 13:04:12 +01:00 |
|
Gerhard Rieger
|
4cebaf45e4
|
Some minor non functional corrections
|
2021-10-31 11:55:01 +01:00 |
|
Gerhard Rieger
|
29207daf38
|
Added missing closing parenthesis in socat.yo
|
2021-10-31 11:54:42 +01:00 |
|
Gerhard Rieger
|
d54f810b63
|
Added doc of OpenSSL options min-proto-version etc.
|
2021-10-31 11:53:51 +01:00 |
|
Gerhard Rieger
|
d84c22be7a
|
Corrected handling of IP_RECVERR
|
2021-10-31 11:50:19 +01:00 |
|
Gerhard Rieger
|
bc32acb5fe
|
Print a message when readbytes option causes EOF
|
2021-10-31 11:48:41 +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
|
a390dfc547
|
ABSTRACT-LISTEN with option user calls fchown()
|
2021-10-31 11:39:47 +01:00 |
|
Gerhard Rieger
|
ea5beb8e75
|
Catch service resolution failure
|
2021-10-31 11:35:52 +01:00 |
|
Gerhard Rieger
|
3efbf71430
|
Corrected a typo in configure.ac that broke option --enable-openssl-base
|
2021-10-31 11:32:27 +01:00 |
|
Gerhard Rieger
|
1477334905
|
OpenSSL server could be crashed by client cert with IPv6 address in SubjectAltname
|
2021-10-31 11:30:14 +01:00 |
|
Gerhard Rieger
|
e9c055b750
|
Print VSOCK warning only with VSOCK-LISTEN
|
2021-10-31 10:44:58 +01:00 |
|
Gerhard Rieger
|
e78e911cbb
|
Solve a problem with overlapping socket and openssl parameters
|
2021-10-31 10:28:41 +01:00 |
|
Gerhard Rieger
|
072377c68c
|
Fixed a few minor coding issues
|
2021-10-31 10:26:40 +01:00 |
|
Gerhard Rieger
|
ff51262e78
|
Fixed in test.sh a few issues reported by shellcheck
|
2021-10-31 10:21:28 +01:00 |
|
Gerhard Rieger
|
dc7afeb0f5
|
Prevent the TIMESTAMP tests from sporadically failing due do seconds overflow
|
2021-10-31 10:18:50 +01:00 |
|
Gerhard Rieger
|
196d74752d
|
Version 1.7.4.1
|
2021-01-10 13:45:27 +01:00 |
|
Gerhard Rieger
|
6b9736472c
|
OpenSSL file transfer failed
|
2021-01-10 13:44:58 +01:00 |
|
Gerhard Rieger
|
4124e733c6
|
Fixed compilation failure on 32bit FreeBSD and other due to int64_t being long long
|
2021-01-10 13:34:46 +01:00 |
|
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 |
|