tth
9802093d38
tests: cover CLI prefix stripping, set-pin gate, paged reply bounds, and ACL write failures
...
Changelog: -
2026-12-02 00:36:05 +01:00
tth
aa7b181944
Repeater, room server, sensor: fix CLI reply buffer overflow, OTA bounds checks, and ACL slot rotation
2026-12-02 00:12:33 +01:00
tth and Claude Opus 5.5
d5cbb5ef00
Merge upstream/dev (1 commit: sec patch) [upstream-sync]
...
Changelog: Repeater, room server, sensor: an admin's CLI reply captured over the air can no longer be sent back to the node as a command (upstream security fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-30 11:53:23 +01:00
Scott Powell
e4f89eb919
* sec patch
2026-11-29 16:06:00 +11:00
upstream-sync-bot
086175d80f
Merge upstream/dev (2 commits) [upstream-sync]
2026-11-27 17:05:12 +00:00
Pablo Ramón Guevara
d6045b5732
fix bug where a login from a new identity silently removes an admin
2026-11-26 18:33:12 +01:00
upstream-sync-bot
f189855457
Merge upstream/dev (2 commits) [upstream-sync]
2026-11-22 05:05:36 +00:00
Scott Powell
7df63ae26e
* copied sensor telemetry push
2026-11-21 20:59:42 +11:00
tth and Claude Opus 5.5
0d16dd541c
Repeater, room server, sensor: passwords can no longer be guessed over the air at full speed, and a replayed login no longer floods a reply
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-18 13:03:59 +01:00
tth and Claude Opus 5.5
4dbffda57b
Repeater, room server, sensor: guests no longer cause a flash write per request
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-18 12:57:53 +01:00
tth and Claude Opus 5.5
ea2d4a0bfa
ClientACL: the replay floor survives a reboot -- a captured admin command no longer works after every boot
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-18 10:18:04 +01:00
tth and Claude Opus 5.5
54e21e3da1
Merge main into ota-admin: tools split, WITH_RX_POWERSAVING
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 16:12:20 +01:00
tth
514ee38dd5
FwUpdate binary: cap the missing-units reply at 150 B (companion frame limit); ota_mesh_push --text
2026-11-13 01:06:06 +01:00
tth
5ac3d61825
FwUpdate: binary firmware chunks over the mesh (REQ_TYPE_FW_OTA 0xF0)
2026-11-13 00:55:06 +01:00
tth and Claude Opus 5.5
27e6a5d6fd
radio: RX duty cycle (RXPS) from EasySkyMesh PowerSaving v18, opt-in
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 14:57:16 +01:00
tth and Claude Opus 5.5
2ba62d779e
sensors: INA shunt set at runtime -- sensor set ina.shunt <mOhm>, kept in prefs
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 13:58:39 +01:00
tth and Claude Opus 5.5
5f8d3a4c9e
Merge upstream/dev (80 commits) [upstream-sync]
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 09:22:19 +01:00
Florent
74f1f5a156
Revert "Merge pull request #3784 from Maxwell456/feature/repeater-history"
...
This reverts commit f678f6ac15 , reversing
changes made to b8ae75d258 .
2026-11-11 07:49:41 -04:00
Valentin Metz
224658694f
Fix stack-buffer overflow in CLI reply buffers
...
The remote-CLI reply buffers in onPeerDataRecv() (repeater, room server,
sensor) and BaseChatMesh were sized temp[166] for a 5-byte datagram
header plus 161 bytes of reply. But MyMesh::handleCommand() first
reflects a 3-byte correlation prefix (e.g. 'aa|') into the reply, after
which CommonCLI commands may write up to 160 chars + NUL into the
remaining 158 bytes -- overflowing the buffer by 2 bytes (e.g. a full
'regions' listing via exportTo(reply, 160)).
Triggering this remotely crashes the node (observed as an unresponsive
repeater after a prefixed 'regions' query); the 2 out-of-bounds bytes
are a printable region-name character and a NUL.
Size the buffers for the full worst case instead:
5 header + 3 prefix + 160 reply + 1 NUL = 169.
Verified with a host ASan harness reproducing the exact layout:
prefixed 'regions' with a 25-region listing overflowed temp[166]
(BufStream::write, RegionMap.cpp) and now passes clean with temp[169];
unprefixed (serial) path unaffected.
2026-11-11 05:30:54 +01:00
Maxwell
25c1867bbd
Add min/max/avg history queries to repeaters
...
Move TimeSeriesData from simple_sensor into src/helpers and drive it with
monotonic uptime, so RTC changes cannot stall recording or break queries.
Keep the old RTCClock* overloads as deprecated for custom sensor sketches.
Record 24h of battery, noise floor, TX/RX airtime % and MCU temperature on
repeaters and answer the existing 0x04 min/max/avg request using the same
format as sensor nodes. No packets are sent by this feature.
REPEATER_HISTORY_SLOTS=0 removes it; default off on STM32/RP2040.
Add native tests for TimeSeriesData and document the request and channels.
2026-11-08 16:34:54 +02:00
tth and Claude Opus 5.5
997b049dad
simple_repeater: dfu, radio silence watchdog and boot diagnostics from NodeMaintenance
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-04 00:38:43 +01:00
tth and Claude Opus 5.5
79251bc3b8
simple_repeater: radio silence watchdog -- re-arm RX, then reboot a deaf receiver ( #6 )
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-03 20:03:01 +01:00
tth and Claude Opus 5.5
30e713162f
simple_repeater: RADIO_DIAG on the masts (radiostat/radiokick)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 19:41:29 +01:00
tth and Claude Opus 5.5
b6c704888d
simple_repeater: filter hash throttle + opt-in message age limit (tth #3 )
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 17:40:09 +01:00
tth and Claude Opus 5.5
ac624c30a8
public builds: Czech mesh defaults (meshcore.cz wiki)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 14:15:14 +01:00
tth and Claude Opus 5.5
9fc1dcd7d5
simple_repeater: per-origin advert window + fairness dry-run (tth #2 , #1 )
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 09:40:20 +01:00
tth
8fe477055f
Merge remote-tracking branch 'origin/dev'
2026-10-28 20:29:38 +01:00
Blake Latchford and Claude Opus 5.5
26e438904e
Saturate duplicate packet stats instead of wrapping
...
Tested on a Heltec V4 repeater with the counter seeded at 65530.
Fixes #3255
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-25 21:45:10 -04:00
tth and Claude Opus 5.5
ec4e7ff45d
nrf52: hardfault recorder v aplikaci a v .noinit ( #5 )
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-18 22:59:02 +02:00
tth and Claude Opus 5.5
ba19ed4de6
simple_repeater: filter hash -- runtime deny-forward podle hashe kanálu
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-14 20:34:19 +02:00
tth and Claude Opus 5.5
3be3d1aea6
Merge remote-tracking branch 'origin/dev'
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-06 16:28:45 +02:00
Scott Powell
f19733e478
* don't respond to DISCOVER requests if node has adverts turned off. (isHiddenNode())
2026-10-04 15:02:00 +11:00
tth and Claude Fable 5
d0f9676474
fix(repeater): drobnosti z review antispamu (žádný high/med, jen LOW)
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-09-06 00:07:52 +02:00
tth and Claude Fable 5
deecd93d80
feat(repeater): fairness grid viditelnost + runtime cap/refill tuning
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-09-05 23:39:04 +02:00
tth and Claude Fable 5
39ca7e9323
feat(repeater): antispam — FairnessLimiter (port #1502 ) + kanálový deny list
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-09-05 21:35:36 +02:00
tth and Claude Opus 5
9c2673fb46
Merge remote-tracking branch 'origin/dev' into main
...
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-02 02:19:04 +02:00
Scott Powell
5a162ff4c6
* new DynamicConfigSerializer
...
* board/variant KeyValueStore now can write to 'custom' object in Json prefs
2026-08-24 17:12:56 +10:00
Scott Powell
47b0b7b3b8
* T096, and Station G3: refactoring the 'FEM' prefs to variant-specific code
...
* CommonCLI: 'FEM' commands removed
* introduced static no-op attachDynamicPrefs() for all boards
2026-08-24 01:50:22 +10:00
Scott Powell
2c0ace2519
* new TXT_TYPE_CLI_COMMAND (3)
2026-08-23 22:04:05 +10:00
tth and Claude Opus 5
4c347aa78c
fix(mesh): sendZeroHop mazal šířku path hashe, uzel se hlásil jako 1bajtový
...
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-22 15:04:52 +02:00
tth and Claude Opus 5
8cd0d9d6f8
feat(repeater): report the TX-failure counters in the RF status reply
...
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-19 19:42:20 +02:00
Rastislav Vysoky
2db4b40617
repeater: set loop.detect to minimal as default for new installs
2026-08-18 14:56:58 +02:00
tth and Claude Opus 5
4fc34e5f0c
Merge upstream v1.17.1 (origin/main)
...
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-08-15 14:13:50 +02:00
ripplebiz
b09cb27a1f
Merge pull request #3106 from ViezeVingertjes/fix/scoped-reply-routing
...
Fix replies dropped when flood.max.unscoped is low
2026-08-13 15:00:37 +10:00
tth and Claude Opus 5
a1472757dc
Merge upstream v1.17.0 (origin/main) into the analyzer/BLE fork
...
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-09 22:44:07 +02:00
Scott Powell
efc527a30a
Merge branch 'dev'
...
# Conflicts:
# docs/payloads.md
2026-08-09 14:36:53 -04:00
agessaman
23066573e5
fix(station-g3): expose FEM gain preferences
2026-08-06 15:29:14 -07:00
ripplebiz
84e3a67bd7
Merge pull request #3115 from oltaco/meshnology_w12
...
Add support for Meshnology W12 and LR2021 Wrapper
2026-08-05 15:04:00 +10:00
taco
9d4f93806d
LR2021: auto-LDRO for side detectors
2026-08-05 14:23:32 +10:00
taco
696a82d7c2
LR2021 multi-SF support (side detectors)
2026-08-05 14:23:32 +10:00