Date: Mon, 24 Jul 2023 12:17:53 +0200 From: Parodper <parodper@gmail.com> To: freebsd-hackers@freebsd.org Subject: Creating socket with socat Message-ID: <8f477ccc-e5db-9e73-2bfa-d3706a400ab2@gmail.com>
next in thread | raw e-mail | index | archive | help
I'm trying to make a remote socket local by using socat. The idea would be Remote: socket -socat-> TLS Local: TLS -socat-> socket When I run: socat UNIX-LISTEN:remote.socket,unlink-early OPENSSL-CONNECT:remote.. on the local FreeBSD 13.2 machine, it appears to wait for connections, but when I try to do nc -U remote.socket it fails with: E setsockopt(7, 41, 27, {1}, 4): Invalid argument The remote, for their part, doesn't even register the connection.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f477ccc-e5db-9e73-2bfa-d3706a400ab2>