zirias@
Developer
Quite some time ago, I wrote a tool for my own needs (see thread title) and called it remusock. While programming it, I asked a few questions here (so some might have seen it already) and learned a lot about basic socket programming in pure POSIX, challenges with "async" models when the POSIX APIs don't provide it (and how to emulate it with a thread pool), as well as about a strange bug in Linux
Now, I was finally fed up with having to start the tool manually on every reboot and created a FreeBSD port including an init script. I didn't submit this port to FreeBSD because I'm very unsure whether anyone else could actually use this tool… partially posting this thread to find out more
The tool really only does the one thing described in the thread title. You could probably come up with something somewhat similar using net/socat. But then, I tried to do that one job as good and reliable as possible. So,
So, is there anyone who thinks they could need such a tool so far?
I also have in mind to maybe add encryption (TLS) and authentication (maybe using PAM?) some day, although I don't need this myself (I'm only using it over a trusted VPN). With these features added, would it be more interesting for someone?
Now, I was finally fed up with having to start the tool manually on every reboot and created a FreeBSD port including an init script. I didn't submit this port to FreeBSD because I'm very unsure whether anyone else could actually use this tool… partially posting this thread to find out more
The tool really only does the one thing described in the thread title. You could probably come up with something somewhat similar using net/socat. But then, I tried to do that one job as good and reliable as possible. So,
remusock
will automatically re-establish lost TCP connections, allows the TCP connection to work in whichever direction you prefer, allows multiple TCP clients if it's using the same direction as the unix socket connection, and of course multiplexes several unix socket connections over a single TCP connection. Still, it's very "special purpose".So, is there anyone who thinks they could need such a tool so far?
I also have in mind to maybe add encryption (TLS) and authentication (maybe using PAM?) some day, although I don't need this myself (I'm only using it over a trusted VPN). With these features added, would it be more interesting for someone?