Commit graph

82 commits

Author SHA1 Message Date
Gerhard Rieger
4e00a345b4 Mechanism for ai-* options; new option ai-addrconfig 2023-11-05 13:56:58 +01:00
Gerhard Rieger
cb6e16b360 TCP based clients try all results of name resolution until a connection succeeded 2023-10-26 19:55:56 +02:00
Gerhard Rieger
2a9623d61c SO_REUSEADDR per default on TCP LISTEN; so-reuseaddr= 2023-10-26 19:45:01 +02:00
Gerhard Rieger
b5640dd707 New option retrieve-vlan (experimental) 2023-10-26 19:13:08 +02:00
Gerhard Rieger
11d1e9e11f Use PACKET_IGNORE_OUTGOING when available; a few corrections and renamings for raw sockets and ancillary messages 2023-10-26 19:12:38 +02:00
Gerhard Rieger
47af17dbf2 Interface flags now defined with INTERFACE, inherited by TUN 2023-10-26 19:08:26 +02:00
Gerhard Rieger
8c9b185890 New option children-shutup 2023-10-26 18:50:29 +02:00
Gerhard Rieger
9faf068949 New options so-rcvtimeo, so-sndtimeo 2023-10-26 16:48:37 +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
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