#unixsocket — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #unixsocket, aggregated by home.social.
-
Are there standardized responses for UNIX socket connections? For example, `OK\n` or `ERROR\n` for unknown commands? Or is it totally up to the implementation?
-
I love how simple UNIX sockets are! All you have to do is add a listener to a file handle and send random bytes as data to the socket file, e.g. via `echo "hello world" | socat - UNIX-CONNECT:/tmp/myproject1000/mysocket.sock`.
Playing around with it is so much fun :ablobcatrave:
-
I tried implementing a UNIX socket handler (L58) in Go :go: in the following file. Would you consider this OK, valid, or correct?
The `.sock` file is cleaned up on `ctx.Done()`. I kind of achieved my goal. I have to add a pre-cleanup in case of an ungraceful shutdown. However, in case of a canceled context, it works right now
-
🎉 Wow, another cryptic tool with a name resembling a tangled mass of letters: Spiped! 🚀 Because clearly, #SSH wasn't secure or confusing enough, now you can use this mystical pipe to send your data on a magical journey through a UNIX socket labyrinth. 🔐 Just remember, if you can pronounce it, you're already halfway to being a cryptographic wizard! 🧙♂️
https://www.tarsnap.com/spiped.html #cryptictools #Spiped #UNIXsocket #cryptography #HackerNews #ngated -
@deavmi #UnixSocket is more performant but you will need to use a proxy container. If you're interested how I made it work, check my github page.
https://github.com/madnuttah/unbound-docker/blob/main/doc/DETAILS.md#cachedb-redis
#redis, #pihole and #unbound. The holy trinity.
Oops, there's a code block off I see.
-
Nice article on Understanding Unix Domain Sockets in Golang by @douglasmakey
https://dev.to/douglasmakey/understanding-unix-domain-sockets-in-golang-32n8
#unix #linux #golang #SocketProgramming #GolangTutorials #golangtips #UnixSocket
-
Nice article on Understanding Unix Domain Sockets in Golang by @douglasmakey
https://dev.to/douglasmakey/understanding-unix-domain-sockets-in-golang-32n8
#unix #linux #golang #SocketProgramming #GolangTutorials #golangtips #UnixSocket
-
Nice article on Understanding Unix Domain Sockets in Golang by @douglasmakey
https://dev.to/douglasmakey/understanding-unix-domain-sockets-in-golang-32n8
#unix #linux #golang #SocketProgramming #GolangTutorials #golangtips #UnixSocket
-
Nice article on Understanding Unix Domain Sockets in Golang by @douglasmakey
https://dev.to/douglasmakey/understanding-unix-domain-sockets-in-golang-32n8
#unix #linux #golang #SocketProgramming #GolangTutorials #golangtips #UnixSocket
-
Nice article on Understanding Unix Domain Sockets in Golang by @douglasmakey
https://dev.to/douglasmakey/understanding-unix-domain-sockets-in-golang-32n8
#unix #linux #golang #SocketProgramming #GolangTutorials #golangtips #UnixSocket