Repository navigation
chore: merge dmc-dev into dmc-observer-dev (2026-12-01, #61) - #63
Merged
Elektr0Vodka merged 5 commits intoDec 1, 2026
Merged
Conversation
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.
fix(filter): five repeater filter bugs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges
dmc-dev(ff92ab3).What comes in
dmc-observer-devalready has its own version from ci: keep dmc-observer-dev workflows inside this repository #58Conflicts
None.
Filter.cppandtest_filter_behaviourare identical todmc-dev;Filter.hdiffers only by the observer's MQTT stats accessors. No workflow files change.Tests
pio test -e native -e native_region_gating -e native_jwt_helper -e native_ota_channel: 1091/1091 passed.pio runsucceeded forHeltec_v3_repeater_observer_mqttandheltec_v4_repeater_observer_mqtt.Not tested on hardware or over the air.