Changelog-cs: Repeater, room server, sensor: INA226 v přívodu baterie umí počítat náboj z baterie a do ní (`sensor set ina.coulomb 1`)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changelog-cs: Repeater: požadavek na statistiky teď vrací i senzory uzlu (vlhkost, tlak, externí teplotu, ...)
Changelog-topic: stats-bundle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changelog-cs: Repeater: kontrolní součet konfigurace v požadavku na statistiky teď pokrývá i regiony
Changelog-topic: stats-bundle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changelog-cs: Repeater: jeden požadavek vrátí stav, telemetrii, čítače filtrů a kontrolní součty konfigurace
Changelog-topic: stats-bundle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changelog: Repeater: new `filter flow` forward-deny rules (channel, dest/src, login flood, advert, relay in path) with throttle, expiry and a rules CRC; `filter hash` and `filter path` remain as aliases
Changelog-cs: Repeater: nová pravidla `filter flow` pro blokaci přeposílání (kanál, cíl/zdroj, login flood, advert, repeater v cestě) s throttle, expirací a CRC pravidel; `filter hash` a `filter path` zůstávají jako aliasy
Changelog-topic: filter-flow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Mark guest and read-only logins with a RAM-only flag instead of an ACL
permission bit, so saved permission bytes keep their meaning. Inserts
evict unsaved entries before saved ones. Sensors refuse GPS movement
deltas from shared-password subscribers and give promoted admins the
default alert flags. The admin, guest and read-only passwords must all
differ, and set ro.password with no value clears it.
ro.password grants the read-only role at login. These logins are never
saved, cannot evict saved ACL entries, and on a sensor get no location.
Sensors also honor guest.password now (blank disables guest login).
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>
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.
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.