Skip to content

[Feature Request]: Power-fault Flooding Protection (network congestion) #8763

Description

@dem1tris

Platform

Any

Description

After a power reboot, nodes immediately send telemetry, position, and nodeinfo packets. In case of power-faulty equipment, nodes can severely overload the network, and such issues are difficult to detect. The firmware must include flood protection in case of frequent reboots.

Solution (from must-have to nice-to-have):

  1. Persistent uptime calculation using two monotonic relative timestamps. The node maintains a persistent monotonic timestamp while it's alive. On reboot, the node backs up the latest persisted value and continues incrementing the current timestamp. On the next reboot, the node calculates the latest uptime using the "backed up" timestamp and the latest persisted "current" timestamp. If the latest uptime is less than the "radio cooldown" threshold, the node keeps silence on core portnums.
  2. Power-fault reports. Every too-short uptime is counted. For several such events within some interval, the node reports itself as power-faulty to the client app, or even to the mesh.
  3. Power-faulty neighbours protection. Mesh nodes receiving a power-fault report reduce NODEINFO packet retransmission and mark the faulty node in the app. Or just limit NODEINFO retransmission by the minimal interval (3 hours) for every node heard

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedWe'd welcome help on this issuetriagedReviewed by the team, has enough information and ready to work on now.

    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