Can someone point me to the message deduplication code in V4 please - I want to look at how the system handles messages from different gateways if some parts of the payload for what appears to be the same valid message (same devId, fCnt) but with different content in the payload.
Thanks. My Rust isn’t brilliant - but from what I can see the tx_info and phy_payload have to match for an event to be considered a duplicate, is that right ?
So if a gateway was able to fake a packet for a device (accepting this means some breach in the keys) with the same fCnt as a valid packet, and both arrived in the dedup window they wouldn’t be considered as duplicates - and one would be delivered and the second dropped as being an invalid framecount ?
(My interest is is how we might detect this from outside Chirpstack)