Felix Fietkau
41728acc77
unetmsg: fix reconnecting outgoing socket
...
Due to a typo, the rx channel was deleted after disconnect instead of tx.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-05-09 10:12:03 +02:00
Felix Fietkau
06f44f69b6
unetmsg: add subscriber update callback to notify about publish events
...
When services start publishing on a topic, this can be used to allow
subscribers to query them.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-05-05 13:57:08 +02:00
Felix Fietkau
6fcaf3d589
unetmsg: fix issuing requests without previously subscribing
...
Perform ACL check if not subscribed. Helps with one-shot requests.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-05-05 13:57:08 +02:00
Felix Fietkau
f8ed36f0d7
unetmsg: allow communication between hosts if no service is defined
...
Simplifies unet setup
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-04-11 13:02:31 +02:00
Felix Fietkau
77f8a70f65
unetmsg: add unet pub/sub message broker based on ubus
...
This service automatically establishes connections to any hosts that are members
of the same unet network, and allows publish/subscribe exchanges via ubus channels.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-03-17 13:17:52 +01:00