[Feature request] Detect modified channel-message replays with progressively increasing trailing spaces
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
While passively recording received MeshCore channel messages in the Netherlands, I observed the same message content reappearing with progressively more ASCII spaces immediately before the sender-name separator : and at the end of the message body.
This appears across multiple displayed sender names. The earliest observed version may be a legitimate original; the names below must not be interpreted as identifying whoever generates the modified copies. Channel display names are not authenticated sender identities.
Is this a known behavior, bridge loop, or abuse pattern? Is there existing work on optional repeater-side detection/filtering that preserves the unmodified messages?
Environment and collection
- Receiving companion: LilyGo T-Echo,
v1.18.0-81dbae5(build 15-Oct-2026). - My local repeater reports the same firmware version. This does not establish that any particular received message traversed it.
- Messages collected over BLE with the Python
meshcorelibrary installed withmeshcore-cli 1.6.13. - The collector polls
get_msg()and writes the received payload without trimming or appending spaces. - Capture date: 2026-12-05. All times below are UTC.
- This is an observational report, not a controlled reproduction of the transmitter's behavior.
Example 1: increasing padding
Here · represents one ASCII space (0x20). All other spaces in these illustrative strings remain ordinary spaces.
| Received (UTC) | Text with added spaces made visible | Extra spaces before separator / at end | Path hash width | Hops |
|---|---|---|---|---|
| 13:53:26 | John: kliko |
0 / 0 | 1 byte | 10 |
| 14:02:53 | John·: kliko· |
1 / 1 | 2 bytes | 7 |
| 14:12:28 | John··: kliko·· |
2 / 2 | 2 bytes | 13 |
| 14:36:56 | John···: kliko··· |
3 / 3 | 2 bytes | 11 |
| 15:05:33 | John····: kliko···· |
4 / 4 | 2 bytes | 12 |
| 15:39:25 | John·····: kliko····· |
5 / 5 | 2 bytes | 8 |
The sender timestamp also changes: the first two versions carry 1796478796 and 1796479358, respectively. These are not simply the same application payload arriving over different routes.
Example 2: the same pattern under another displayed name
| Received (UTC) | Text with added spaces made visible |
|---|---|
| 14:23:49 | 🍎Appel🍎: Ja joh lekker spammen 🤡 |
| 14:34:06 | 🍎Appel🍎·: Ja joh lekker spammen 🤡· |
| 15:15:34 | 🍎Appel🍎··: Ja joh lekker spammen 🤡·· |
| 15:58:05 | 🍎Appel🍎···: Ja joh lekker spammen 🤡··· |
| 16:14:55 | 🍎Appel🍎····: Ja joh lekker spammen 🤡···· |
For an unambiguous representation, this is one actual stored record, with ASCII spaces escaped as JSON Unicode escapes:
{
"received_utc": "2026-12-05T16:14:55.218964+00:00",
"event": "channel_message",
"payload": {
"type": "CHAN",
"SNR": 12.25,
"channel_idx": 0,
"path_hash_mode": 1,
"path_len": 10,
"txt_type": 0,
"sender_timestamp": 1796487276,
"text": "🍎Appel🍎\u0020\u0020\u0020\u0020: Ja joh lekker spammen 🤡\u0020\u0020\u0020\u0020"
}
}
Initial observations
In the first 70 recorded messages (13:18:14–16:14:55 UTC):
- 51 had one or more trailing spaces in the displayed name before
:. All 51 had exactly the same number of trailing spaces at the end of the body. - All 51 used 2-byte path hashes (
path_hash_mode = 1). - Another 5 had a trailing space only in the body; 14 had neither kind of trailing space.
- After stripping trailing spaces from the displayed name and body, the 70 messages form 20 distinct (name, body) pairs.
- The phenomenon occurs on both locally configured channels Public (slot 0) and #nl (slot 6).
- Some initial versions use 1- or 3-byte paths, while their later padded variants use 2-byte paths.
- Hop counts and SNR overlap with the unpadded versions, so those fields alone do not identify a source.
- The capture has no full repeater paths or authenticated channel sender keys, so I cannot attribute the modified copies to a specific node.
This suggests a common mechanism re-originating modified copies, possibly bypassing exact-packet duplicate suppression. That explanation is a hypothesis; I cannot distinguish deliberate abuse from a faulty bridge or other software behavior using this capture alone.
Requested behavior / questions
Could an opt-in repeater policy detect this pattern or suppress repeated channel text after whitespace normalization, while preserving the original unpadded message?
A conservative starting point for discussion could be matching both trailing-name and trailing-body padding, ideally combined with a bounded recent-message cache scoped per channel. A blanket ban on the displayed names would risk blocking legitimate users whose messages are being copied. Trailing spaces alone can also be legitimate, so this should not become an unconditional protocol validity rule.
I understand content-aware matching requires the channel key and cannot generically inspect arbitrary encrypted/private channel traffic. This request is for explicitly configured channels, not a universal decryption capability.
Related: #4013 (general repeater packet/channel filtering request) and #2571 (earlier packet-filtering proposal).
Happy to provide additional selected capture excerpts or test a proposed diagnostic/filter.
- Lingua principale
- C
- Stelle
- 3.9k
- Fork
- 1.5k
- Merge medio
- 2g 19h
- PR unite (30g)
- 61
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di meshcore-dev/MeshCore
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
meshcore-dev/MeshCore#4015 ·
I maintainer di solito rispondono entro 2 giorni
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new nameForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
meshcore-dev/MeshCore#3891 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
meshcore-dev/MeshCore#3826 ·
I maintainer di solito rispondono entro 2 giorni
-
App Preset Australia: NTAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
meshcore-dev/MeshCore#3825 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
meshcore-dev/MeshCore#3781 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di meshcore-dev/MeshCore
Issue simili
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
389ds/389-ds-base#8251 ·
I maintainer di solito rispondono entro 1 giorno
-
bug data-types
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ClickHouse/clickhouse-cpp#645 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ROCm/hrx-system#3628 ·
I maintainer di solito rispondono entro 1 giorno