Commit graph

73 commits

Author SHA1 Message Date
Gerhard Rieger
3e282ee7a0 Internal: renamed xioopts_t to xioparms_t 2023-09-30 11:46:47 +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
c01722ac3e Rearranged option group bits to only require 32 bits on older systems 2023-09-30 10:16:01 +02:00
Gerhard Rieger
2cddaf22b1 Introduced groups_t instead of uint32_t 2023-09-30 09:42:54 +02:00
Gerhard Rieger
557f299b82 Print warning messages per default; new options -d0..-d4 2023-09-30 09:42:11 +02:00
Gerhard Rieger
33896a3f38 Removed trailing white space from *.h and *.c files 2023-06-12 23:01:54 +02:00
Gerhard Rieger
10a741eb60 Corrected VSOCK CID query; minor VSOCK features 2023-06-12 08:37:49 +02:00
Gerhard Rieger
486bb2c65c Fixed FD leak on accept-timeout with retry 2023-06-11 22:47:37 +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
2882ac6976 VSOCK: short alias names, env var with peer info 2022-10-30 11:25:19 +01:00
Gerhard Rieger
5edcb9b308 ctype(3) functions need there arguments to be unsigned char 2022-10-29 20:59:03 +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
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
e1a2e37480 AIX: Fixed runtime issues 2022-01-06 14:14:56 +01:00
Gerhard Rieger
d84c22be7a Corrected handling of IP_RECVERR 2021-10-31 11:50:19 +01:00
Gerhard Rieger
45ad4018b0 More corrections to recent changes and from systematic tests 2021-01-03 16:56:50 +01:00
Gerhard Rieger
6b83ddf5f2 Option name so-protocol is preferred to so-prototype 2021-01-01 12:37:02 +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
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
9f41543aad Options so-rcvtimeo and so-sndtimeo do not work with poll() 2017-01-08 11:12:57 +01:00
Gerhard Rieger
d6b0e1425e Socat did not use option ipv6-join-group 2017-01-06 18:21:20 +01:00
Gerhard Rieger
2ea6da3839 Option so-reuseport did not work 2016-12-10 16:23:46 +01:00
Gerhard Rieger
d34493c18d Added contributors to copyright notices 2016-12-09 21:46:02 +01:00
Gerhard Rieger
2f40a439cb Check OpenSSL peers commonName+subjectAltName; new option openssl-commonname 2015-01-12 23:34:47 +01:00
Gerhard Rieger
2af0495cc6 Made code async-signal-safe 2015-01-12 21:46:16 +01:00
Gerhard Rieger
80c7fa0bca struct cmsghdr.cmsg is system dependend; more print format corrections 2014-03-09 22:08:19 +01:00
Gerhard Rieger
fbb521e45e Red Hat issue 1020203: configure checks fail with some compilers 2014-03-02 20:00:25 +01:00
Gerhard Rieger
a793c8047e fixed some typos and minor issues, including Red Hat issue 1021967 2014-03-02 17:43:23 +01:00
Gerhard Rieger
dfdeaa4836 Red Hat issue 1022070: missing length check in xiolog_ancillary_socket() 2014-03-02 17:36:20 +01:00
Gerhard Rieger
520e84aba7 Red Hat issue 1022048: strncpy hardening 2014-03-02 17:29:53 +01:00
Gerhard Rieger
91b00e8c44 LISTEN based addresses applied some address options to the listening FD instead of the connected FD 2014-03-02 16:42:08 +01:00
Gerhard Rieger
4c9898446d Ubuntu Oneiric: OpenSSL w/o SSLv2, bsd/libutil.h, unused vars 2011-12-04 15:14:34 +01:00
Gerhard Rieger
490a01d245 typos in docu and source 2011-11-26 14:49:51 +01:00
Gerhard Rieger
98abed1abd fixed compiler warnings on Mac OS X 64bit 2011-11-22 13:37:23 +01: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
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
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
806bccbf94 new address options shut-null, null-eof 2009-04-02 17:02:29 +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
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
102e356db7 prepared code for generic xiocheckrange 2008-10-15 22:50:25 +02:00
Gerhard Rieger
180a28b608 xio-socket.c: adapted xiopoll() messages for struct timeval 2008-10-14 22:23:01 +02:00
Gerhard Rieger
b2d618438a made it compile and run on SuSE5.2 2008-10-12 12:01:00 +02:00
Gerhard Rieger
7a09331db7 Merge /home/gerhard/Develop/socat-hpux into socat-1.7.0.0 2008-10-05 12:58:43 +02:00
Gerhard Rieger
f82bad1dd8 HP-UX: make xiolog_ancillary_socket() cond. by HAVE_STRUCT_CMSGHDR 2008-10-05 12:56:49 +02:00