[Feature request] Detect modified channel-message replays with progressively increasing trailing spaces
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- C
- スター
- 3.9k
- フォーク
- 1.5k
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 61
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
meshcore-dev/MeshCore のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
meshcore-dev/MeshCore#4015 ·
メンテナーはふだん 2 日以内に返信
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new name対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
meshcore-dev/MeshCore#3891 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
meshcore-dev/MeshCore#3826 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
meshcore-dev/MeshCore#3825 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
meshcore-dev/MeshCore#3781 ·
メンテナーはふだん 2 日以内に返信
meshcore-dev/MeshCore の issue をすべて見る
似ている issue
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
389ds/389-ds-base#8251 ·
メンテナーはふだん 1 日以内に返信
-
bug data-types
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/clickhouse-cpp#645 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ROCm/hrx-system#3628 ·
メンテナーはふだん 1 日以内に返信