Date: Mon, 24 Jul 2023 15:34:36 +0200 From: Felix Palmen <zirias@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: Creating socket with socat Message-ID: <dwtfqinm22xk6jcmnforlwl6vjksn2ncia66p6gyfvr6l2hpqt@3wfk7jmcvbty> In-Reply-To: <8f477ccc-e5db-9e73-2bfa-d3706a400ab2@gmail.com> References: <8f477ccc-e5db-9e73-2bfa-d3706a400ab2@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--i7eutj7kaeer62ke Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Parodper <parodper@gmail.com> [20230724 12:17]: > I'm trying to make a remote socket local by using socat. > [...] > E setsockopt(7, 41, 27, {1}, 4): Invalid argument I'm not entirely sure I fully understand the scenario and the error. But if your goal is to access some local unix domain socket on a remote machine, I have my own pet tool for exactly that purpose here: <https://github.com/Zirias/remusock> Maybe you find it useful. The FreeBSD port linked there isn't really polished, so far I didn't expect anyone would want to see that tool in the official ports tree :) Also, I hope I can release some update soon that would finally also support a config file instead of entirely relying on command line arguments. --=20 Felix Palmen <zirias@FreeBSD.org> {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --i7eutj7kaeer62ke Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZL59318UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MXGtAQCc0WoeAt3a6Gg47bnxwRfKbgmOv45/OFz6KS+75eGOLgD8COVz3qktUZy4 WW5DI3cYPRjqw6KcFt5uX3UGs62LggI= =Sfe5 -----END PGP SIGNATURE----- --i7eutj7kaeer62ke--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dwtfqinm22xk6jcmnforlwl6vjksn2ncia66p6gyfvr6l2hpqt>