Commit graph

497 commits

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