FlashMQ icon indicating copy to clipboard operation
FlashMQ copied to clipboard

Feature request: Unix-domain sockets

Open smurfix opened this issue 9 months ago • 1 comments

Please teach flashmq how to listen to Unix-domain sockets.

smurfix avatar Mar 15 '25 15:03 smurfix

While I understand unix sockets have advantages (which I've taken advantage of in the past in projects), I'm curious about your use case, and the client(s) you use for it.

halfgaar avatar Mar 15 '25 15:03 halfgaar

Done. It's in master.

It will be part of release 1.22.x. The plan is to release that relatively soon, but two new features do need some extra testing first.

Current commit (3b80e2794da201b519dfff3ad8c6f7ba76a79dc7) is pretty well tested and stable, so you could try running that.

halfgaar avatar May 27 '25 10:05 halfgaar

Thank you.

My usecase, which I've been remiss in supplying, is that access control to "private" MQTT sockets is easy with Unix sockets, just set the permissions, while IP sockets require either IP-level filtering (thus root) or passing credentials to the clients. Both of these take somewhat more effort.

smurfix avatar May 27 '25 11:05 smurfix