ThingsIXFoundation / packet-handling

This repository contains the code that handles LoRa packets for the ThingsIX network
Apache License 2.0
2 stars 5 forks source link

Only send packets to routers with the same frequency-plan #56

Closed timcooijmans closed 1 year ago

timcooijmans commented 1 year ago

When the forwarder checks if it should forward a packet from a gateway to a router, it currently only checks if the DevAddr matches or Join is in the JoinFilter.

While we don't have such scenario currently, in the future it could be that a router operator uses the same NetID/DevAddr prefix in multiple regions and uses the FrequencyPlan to route packets, allowing for NetID/DevAddr-reuse.

To support such situation we should only forwarder packets to a router if the receiving gateway has the same frequency-plan (either asserted or by configured default)

timcooijmans commented 1 year ago

This has been fixed