Skip to content

chore: merge dmc-dev into dmc-dev-packetlog (2026-12-01, #61) - #64

Merged
Elektr0Vodka merged 5 commits into
dmc-dev-packetlogfrom
chore/dmc-dev-packetlog-sync-1201-pr61
Dec 1, 2026
Merged

Elektr0Vodka merged 5 commits into
dmc-dev-packetlogfrom
chore/dmc-dev-packetlog-sync-1201-pr61

Conversation

@Elektr0Vodka

Copy link
Copy Markdown

Merges dmc-dev (ff92ab3).

What comes in

Conflicts

None. The filter code, its tests and packet_filter_reference.md are identical to dmc-dev. No workflow files change.

Tests

  • pio test -e native -e native_region_gating: 313/313 passed.
  • pio run succeeded for RAK_4631_repeater and Heltec_v3_repeater.

Not tested on hardware or over the air.

Elektr0Vodka and others added 5 commits December 1, 2026 18:44
Drop everything that targets a repository or domain that is not ours:
- github-pages: published the upstream docs with the docs.meshcore.io CNAME
- stale-bot: only ever ran on meshcore-dev/MeshCore
ci: keep dmc-dev workflows inside this repository
- Malformed scan: a group text the Public key cannot open (a private channel
  whose hash byte collides with Public's 0x11) decrypted to len 0 and was
  dropped as MALFORMED_SHORT, so about 1 in 256 private channels was blocked.
  Content is now judged only when the decrypt succeeds, as the companion
  filter already does.
- `filter malformed <other>` wrote no reply; over the mesh that left the reply
  buffer uninitialised. It now returns a syntax error.
- The group-text rate limit ran before the channel block list and the content
  rules, so traffic those drop used up the budget legitimate channels share.
  GRP_TXT is now rate-limited last.
- `filter hops`, `filter rate` and `filter hash` parsed into uint8_t /
  uint16_t, so out-of-range input wrapped (`filter hops 3 300` stored 44).
  Values are range-checked as long before narrowing.
- `filter channel add [hash]` accepted names that do not fit the 32-byte slot.
  load() derives the key from the stored name, so after a reboot the cut-off
  name no longer blocked the channel. Such names are refused.

Filter.h also redefined `struct ChannelDetails` from
src/helpers/ChannelDetails.h. Renamed to FilterChannel; same layout, so
existing /filter_prefs files load unchanged.

Tests: new test_filter_behaviour drives Filter through its interface.
@Elektr0Vodka
Elektr0Vodka merged commit c2ded4b into dmc-dev-packetlog Dec 1, 2026
1 check passed
@Elektr0Vodka
Elektr0Vodka deleted the chore/dmc-dev-packetlog-sync-1201-pr61 branch December 1, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant