Commit graph

542 commits

Author SHA1 Message Date
Gerhard Rieger
7b66b53f93 Added socks5 client feature for connect and listen (experimental) 2023-11-05 20:46:22 +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
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
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
fe4444a70b ECONNRESET,EPIPE on read() and shutdown() are now errors 2023-10-26 18:45:26 +02:00
Gerhard Rieger
1861303728 Socat now installs as socat1, with symlink socat 2023-10-26 18:44:10 +02:00
Gerhard Rieger
d10dd8a03e New option sitout-eio 2023-10-26 18:43:40 +02:00
Gerhard Rieger
c2196d6f15 Output statistics per option and SIGUSR1 2023-10-26 18:42:41 +02:00
Gerhard Rieger
2af6089436 Socat option -r,-R path specifications allow use of variables 2023-10-26 16:57:39 +02:00
Gerhard Rieger
9faf068949 New options so-rcvtimeo, so-sndtimeo 2023-10-26 16:48:37 +02:00
Gerhard Rieger
2db04378ae New options openssl-maxfraglen, openssl-maxsendfrag 2023-10-26 16:43:20 +02:00
Gerhard Rieger
454a499401 Added option http-version 2023-10-26 16:36:26 +02:00
Gerhard Rieger
9f632ec651 New option ipv6-join-source-group 2023-10-26 14:58:28 +02:00
Gerhard Rieger
003ca09721 Doc for option ipv6-join-group 2023-10-26 14:58: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
d36f78d854 Formatted help output; address keywords in help now uppercase 2023-10-26 14:56:50 +02:00
Gerhard Rieger
797d0f9695 Catch the case of empty SNI host to prevent OpenSSL error 2023-10-26 14:52:53 +02:00
Gerhard Rieger
43eb003245 Removed Config/ because not maintained since many years 2023-09-30 11:47:53 +02:00
Gerhard Rieger
522e82351f Removed obsolete xio.help and obsolete parts of test.sh 2023-09-30 11:47:13 +02:00
Gerhard Rieger
3e282ee7a0 Internal: renamed xioopts_t to xioparms_t 2023-09-30 11:46:47 +02:00
Gerhard Rieger
eeabf31e04 Option -S for controlling signals' logging 2023-09-30 11:45:53 +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
a0e17a813a Process last data of failed child process 2023-09-30 11:33:22 +02:00
Gerhard Rieger
4bab097ffc Warning that Socat does not check CRLs 2023-09-30 11:32:59 +02:00
Gerhard Rieger
779473f667 Replaced strncat with manual copying 2023-09-30 10:17:32 +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
dc777a00bb Added the --experimental option 2023-09-30 09:26:13 +02:00
Gerhard Rieger
f0ca732bd9 Version 1.7.4.5 2023-06-13 16:19:52 +02:00
Gerhard Rieger
33896a3f38 Removed trailing white space from *.h and *.c files 2023-06-12 23:01:54 +02:00
Gerhard Rieger
920d77847d Do not try to remove abstract UNIX socket entries after use 2023-06-12 21:29:45 +02:00
Gerhard Rieger
2dadc1010f -r, -R now with CLOEXEC, and warn on write problems 2023-06-12 21:27:51 +02:00
Gerhard Rieger
eeeebe6cb2 Fixed unwanted recvfrom() with signal handler logs 2023-06-12 21:22:26 +02:00
Gerhard Rieger
77ef274f76 test.sh: Improved template; prepared namesFAIL, -d (DEBUG) 2023-06-12 21:07:12 +02:00
Gerhard Rieger
2a04219dee Procan: try to find out VSOCK CID only when running as root 2023-06-12 21:02:31 +02:00
Gerhard Rieger
c3719e7603 Longer Socat examples are now splitted into two or three lines; improved CSS 2023-06-12 21:02:21 +02:00
Gerhard Rieger
7cbe0b645b Improved docu of options with bool type; fcntl() traces flags in hex 2023-06-12 20:56:16 +02:00