Skip to content

[Feature Request]: Deprecate packets with missing/invalid HopStart #7369

@agt

Description

@agt

Platform

Cross-Platform

Description

As a concrete step towards deprecating older firmware (more generally discussed in #7131), this feature request proposes a change to handling of packets from <=2.2 nodes:

When processing a packet with HopStart unset (i.e. 0) or invalid (hopLimit > HopStart):

  1. Treat hopLimit as 0 and do not retransmit over LoRA or send via MQTT/UDP
  2. Do not cancel scheduled or upcoming CLIENT (re)transmissions on the basis of this packet

Nodes <2.3 leave the field uninitialized or zero when the packet is first created, and in many cases will clear a previously-set valid HopStart when forwarding.

Limiting propagation and flood-algorithm impact will not only help rein in older clients but also can blunt some of the damage unmaintained (and likely inappropriately designated) router roles cause.

If project members support the concept I’m willing to write & submit a PR.

Metadata

Metadata

Assignees

Labels

3.0Planned for next major releaseenhancementNew feature or requesthelp wantedWe'd welcome help on this issuerequires-docsDocumentation must be updatedtriagedReviewed by the team, has enough information and ready to work on now.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions