chirpstack-packet-multiplexer icon indicating copy to clipboard operation
chirpstack-packet-multiplexer copied to clipboard

Allow all gateways for certain backends

Open remydejongjr opened this issue 1 year ago • 3 comments

Is there easy way to allow all gateways to passthrough to certain hosts/backends ?

remydejongjr avatar Apr 17 '24 13:04 remydejongjr

At this moment, there is not. If I remember correctly, it starts the UDP sockets on start of the multiplexer service thus in the current architecture it needs to know the Gateway IDs from the start.

brocaar avatar Apr 18 '24 08:04 brocaar

Hi @brocaar, Thank you for your quick response sorry to hear that its currently not possible any idea if this will be implemented in the future ?

remydejongjr avatar Apr 18 '24 09:04 remydejongjr

I think this requirement would change the architecture of this tool / require a rewrite. E.g. rather than creating the multiplexed gateway socket on start, it would require to create the socket once data from the gateway is received as the Gateway IDs are only known once the actual gateway sends data to the multiplexer. Probably it should also cleanup the sockets of inactive gateways.

Rewriting this tool to match this requirement is not a mega project (it is quite a simple tool), but this is not something that I have on my backlog right now.

brocaar avatar Apr 18 '24 11:04 brocaar