Commit graph

61 commits

Author SHA1 Message Date
Gerhard Rieger
ec0e1ca20c Reworked domain name resolution, centralized IPv4/IPv6 sorting 2024-08-24 14:21:35 +02:00
Gerhard Rieger
127280088c SENDTO addresses now prefer IPv4 over IPv6 name resolution 2024-08-24 14:21:19 +02:00
Gerhard Rieger
bd727963a0 IP-SENDTO with pf=ip4 failed with "trailing garbage" 2024-08-21 09:17:16 +02:00
Gerhard Rieger
602a54420e Added the optional DEVTESTS feature for developer tests with controlled name resolution to both IPv4 and IPV6 addresses 2024-08-20 12:02:25 +02:00
Gerhard Rieger
0cfe39a413 Fixed IP-SENDTO with option pf with protocol name 2024-08-05 08:57:39 +02:00
Gerhard Rieger
93e6685766 Added option ai-all 2024-08-05 08:50:40 +02:00
Gerhard Rieger
9fe8206b52 Options ipv6-join-group and ipv6-join-source-group failed 2024-08-05 08:50:06 +02:00
Gerhard Rieger
efc654f85a Missing NETDB_INTERNAL now falls back to -1 2024-07-28 12:58:48 +02:00
Gerhard Rieger
2ab4b232fc Again ported to NetBSD 2024-07-28 12:58:16 +02:00
Gerhard Rieger
2cfc39e9e5 UDP-Lite (UDPlite) support 2023-11-11 17:18:06 +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
254958a34d Added option res-nsaddr 2023-11-06 07:56:23 +01:00
Gerhard Rieger
282db9feda Added options res-retrans, res-retry 2023-11-06 06:19:18 +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
c82e3df210 Options res-* now apply to whole open phase 2023-11-05 19:39:01 +01:00
Gerhard Rieger
b14e65c42a New option ai-v4mapped 2023-11-05 16:29:58 +01:00
Gerhard Rieger
277f0d755d Preferred IP version sorts getaddrionf() results 2023-11-05 13:59:14 +01:00
Gerhard Rieger
2d282f5608 Added AI_PASSIVE handling and option ai-passive 2023-11-05 13:58:07 +01:00
Gerhard Rieger
4e00a345b4 Mechanism for ai-* options; new option ai-addrconfig 2023-11-05 13:56:58 +01:00
Gerhard Rieger
8b2e0593f3 Added configure option --with-default-ipv 2023-10-26 22:16:21 +02: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
b5640dd707 New option retrieve-vlan (experimental) 2023-10-26 19:13:08 +02:00
Gerhard Rieger
282596dc9d Moved multicast related code from xioopts.c to xio-ip.c and xio-ip6.c 2023-10-26 14:57:44 +02:00
Gerhard Rieger
3e282ee7a0 Internal: renamed xioopts_t to xioparms_t 2023-09-30 11:46:47 +02:00
Gerhard Rieger
33896a3f38 Removed trailing white space from *.h and *.c files 2023-06-12 23:01:54 +02:00
Gerhard Rieger
e52675faed Fixed ancillary messages on Solaris 2022-10-29 22:33:37 +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
d84c22be7a Corrected handling of IP_RECVERR 2021-10-31 11:50:19 +01:00
Gerhard Rieger
ea5beb8e75 Catch service resolution failure 2021-10-31 11:35:52 +01:00
Gerhard Rieger
45ad4018b0 More corrections to recent changes and from systematic tests 2021-01-03 16:56:50 +01:00
Gerhard Rieger
1502f0cdcb Added VSOCK stream addresses 2020-12-31 15:34:56 +01:00
Gerhard Rieger
583e14d7fa New option ip-add-source-membership 2020-12-31 15:14:37 +01:00
Gerhard Rieger
d109e3131b Added option ip-transparent (socket option IP_TRANSPARENT) 2020-12-31 13:29:42 +01:00
Gerhard Rieger
beed38655f ext2-* options are renamed to fs-* 2020-12-28 12:37:49 +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
3be18bdc1f IP-SENDTO:*:6 now passes getaddrinfo() without "ai_socktype not supported" 2020-01-01 14:50:29 +01:00
Gerhard Rieger
8b31a82b92 RES_AAONLY, RES_PRIMARY are deprecated 2019-03-03 15:57:08 +01:00
Gerhard Rieger
42864922e7 Socat only checked the first character of the host name to decide if it is an IPv4 address 2019-03-03 11:06:02 +01:00
Gerhard Rieger
b43c30b6b9 Data extraction from ancillary messages might have failed on big-endian 2017-01-22 18:48:07 +01:00
Gerhard Rieger
1de74d4ca9 Failing name resolution could lead to SIGSEGV 2016-12-09 22:14:01 +01:00
Gerhard Rieger
d34493c18d Added contributors to copyright notices 2016-12-09 21:46:02 +01:00
Gerhard Rieger
f749f5c3e4 Red Hat issue: socat 1.7.2.4 build failure missing linux/errqueue.h 2015-01-23 18:46:04 +01:00
Gerhard Rieger
ad524a56b7 Passive addresses like TCP-LISTEN with empty port bound to random 2015-01-12 22:21:36 +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
520e84aba7 Red Hat issue 1022048: strncpy hardening 2014-03-02 17:29:53 +01:00
Gerhard Rieger
98abed1abd fixed compiler warnings on Mac OS X 64bit 2011-11-22 13:37:23 +01:00
Gerhard Rieger
7a3ed71270 port to Cygwin - struct pktinfo.ipi_spec_dst 2011-11-22 11:24:35 +01: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
a6699a96b5 Cygwin port: struct in_pktinfo conditional 2008-09-26 12:30:04 +02:00