Commit graph

51 commits

Author SHA1 Message Date
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
Gerhard Rieger
91af19a6b7 Cygwin port: IP_RECVOPTS conditional 2008-09-26 11:54:08 +02:00
Gerhard Rieger
084726e981 adapted conditionals to genericsocket, interface 2008-09-24 16:14:42 +02:00
Gerhard Rieger
d78b080ef0 merged features ioctl, setsockopt, generic-socket 2008-09-22 22:52:03 +02:00
Gerhard Rieger
86c596bd51 merged feature protocol-type 2008-09-22 22:33:04 +02:00
Gerhard Rieger
2ffe5a324e merged features ancillary, envvar 2008-09-22 22:17:55 +02:00
Gerhard Rieger
376b9d50c3 reworked so-type, so-prototype 2008-09-20 23:47:06 +02:00
Gerhard Rieger
13b73776e7 ported generic socket to *BSD; minor improvements 2008-09-20 17:17:27 +02:00
Gerhard Rieger
f8496421f9 some raw IP and UNIX datagram modes failed on BSD systems; test.sh: more stable timing, corrections for BSD 2008-09-14 18:33:28 +02:00
Gerhard Rieger
706e3a6863 service name resolution failed due to byte order problem 2008-01-29 23:08:52 +01:00
Gerhard Rieger
df493f126e replaced RCS ID's by source file names 2008-01-28 22:37:16 +01:00