Skip to content

Corruption in some packets due to payload being partially overwritten by path bytes #260

@warrenjmcdonald

Description

@warrenjmcdonald

A high amount of packet corruption was being detected from several pyMC repeaters using E22P 915 modules. An investigation was started to determine where the corruption was happening which revealed a corruption pattern that seems deterministic.

In advertisements and group text messages, which were chosen for practical evidence collection, it is evident that the path bytes are being written over a portion of the payload up till the last 2 bytes. The corruption is seen in both letsmesh and error messages when these packet are attempted to be ingested into Corescope.

The hashes are different and the signatures are invalid. Sometimes the corruption is happening on retransmit and some nearby observers pass the packets intact to letsmesh. Sometimes the observers on pyMC-repeater send the corrupt packets to MQTT.

It is unclear what preconditions trigger the corruption.

Some example advert packets from letsmesh.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions