Commit graph

97 commits

Author SHA1 Message Date
Gerhard Rieger
0cfe39a413 Fixed IP-SENDTO with option pf with protocol name 2024-08-05 08:57:39 +02:00
Gerhard Rieger
4c0786dcdf Fixed FD leak of RECVFROM with fork 2024-08-05 08:49:35 +02:00
Gerhard Rieger
c9ff62744f Corrections for better 32bit systems support, and some minor fixes 2023-11-13 20:08:23 +01:00
Gerhard Rieger
47bb8fff64 A couple of minor corrections 2023-11-12 10:57:15 +01:00
Gerhard Rieger
2cfc39e9e5 UDP-Lite (UDPlite) support 2023-11-11 17:18:06 +01:00
Gerhard Rieger
d605ab57f5 Fixed the end-close option, it just did not work 2023-11-06 21:23:27 +01:00
Gerhard Rieger
b2914a0cf3 New option bind-tempname for parallel UNIX domain SENDTO clients 2023-11-06 20:40:49 +01:00
Gerhard Rieger
50b199dcd9 On bad parameter number print syntax; struct single pointers are now mostly called sfd 2023-11-05 22:19:10 +01:00
Gerhard Rieger
5eebca3a5b Internal: Reworked xioopts 2023-11-05 21:05:55 +01:00
Gerhard Rieger
1c1a91027a Lots of minor corrections 2023-11-05 20:57:35 +01:00
Gerhard Rieger
e1aadc577d xioopen() checks r/w mode of addresses 2023-11-05 20:48:20 +01:00
Gerhard Rieger
ebacb7c4e8 New address ACCEPT-FD 2023-11-05 19:40:50 +01:00
Gerhard Rieger
c311542e11 New address SOCKETPAIR for echoing datagrams 2023-11-05 19:40:37 +01:00
Gerhard Rieger
f152c55584 New option netns for network namespace setting 2023-11-05 19:40:22 +01:00
Gerhard Rieger
c82e3df210 Options res-* now apply to whole open phase 2023-11-05 19:39:01 +01:00
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