> On 14 Apr 2024, at 14:54, Luca Boccassi <bluca@xxxxxxxxxx> wrote: > >> I don't know much about the >> D-bus protocol, but if a small D-bus client is just opening a unix >> domain >> socket and writing a message to it then we could possibly support it >> using a standalone implementation, like we just did for systemd. > > Afraid not, D-Bus is a stateful protocol with client authentication and > so much more, it's not something you really want to reimplement > locally, using one of the available libraries is the only reasonable > approach. Which tells me all the reasons to not implement it inside/with OpenSSH, other than a side client handling things asynchronously…. some other challenges listed with d-bus in an attempt to do something beterer: https://dvdhrm.github.io/rethinking-the-dbus-message-bus/ > > There are de-facto two usable libraries for C projects, the first one > is GDBus, provided by the GLib library, and pretty much requires buying > into the whole GLib model of main loop and event processing. The second > one is sd-bus, which is smaller and can be used in other event/main > loops implementation and, I'm sure you'll be delighted to know, it's > from libsystemd ;-) > > https://www.freedesktop.org/wiki/Software/DBusBindings/ > > -- > Kind regards, > Luca Boccassi > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev@xxxxxxxxxxx > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev