[Feature request] Detect modified channel-message replays with progressively increasing trailing spaces
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- C
- Estrellas
- 3.9k
- Forks
- 1.5k
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 61
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de meshcore-dev/MeshCore
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
meshcore-dev/MeshCore#4015 ·
Los mantenedores suelen responder en 2 días
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new namePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
meshcore-dev/MeshCore#3891 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
meshcore-dev/MeshCore#3826 ·
Los mantenedores suelen responder en 2 días
-
App Preset Australia: NTAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
meshcore-dev/MeshCore#3825 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
meshcore-dev/MeshCore#3781 ·
Los mantenedores suelen responder en 2 días
Todos los issues de meshcore-dev/MeshCore
Issues similares
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
389ds/389-ds-base#8251 ·
Los mantenedores suelen responder en 1 día
-
bug data-types
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ClickHouse/clickhouse-cpp#645 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ROCm/hrx-system#3628 ·
Los mantenedores suelen responder en 1 día