Add per-profile TX routing and bridge filtering
Persist Companion TX preferences per contact and channel. Default repeater, room, and sensor replies to both active TX profiles, with a reply-only force option for an RX-only secondary profile. Track both reply copies before a temporary-radio handoff and account for OTA copies under queue backpressure. Add bridge/crossover filter modes and the third built-in wardriving filter, plus compact filter CLI syntax, documentation, and CI coverage. Fix quoted target names being interpreted as slot/key selectors, partial recovery of invalid saved reply settings, filter suspension during tempradio2, and unnecessary packet allocation while OTA traffic is throttled. Validation: 1,477 native tests, 52 Python integration tests, 29 filter UI tests, and five firmware builds covering ESP32, nRF52, and STM32 passed.
This commit is contained in:
1 parent
0e0aa8e014
commit
95aca52b4e
60 files changed
+3188
-362
No files matched your search
@@ -131,3 +131,29 @@ For every command's full details, see the [bridge CLI reference](cli_commands.md
|
||||
|
||||
For a broader comparison with a Linux-based bridge, see the
|
||||
[MeshCore Nexus bridging guide](https://meshcore.nexus/guides/lora-bridging#method-2-meshcore-esp-now-bridge).
|
||||
|
||||
## Keep wardriving traffic off the bridge
|
||||
|
||||
New generalized repeater filter tables include a third built-in rule that
|
||||
blocks authenticated `#wardriving` text and data in both bridge directions,
|
||||
at every hop count. The same row blocks crossover between radio profiles:
|
||||
|
||||
```text
|
||||
get flood.rule.3
|
||||
set flood.rule type=any channel=#wardriving hops=all mode=bridge,cross drop
|
||||
```
|
||||
|
||||
The same rule can be added with the shorter command:
|
||||
|
||||
```text
|
||||
set fr any c=#wardriving m=bc d
|
||||
```
|
||||
|
||||
Both forms use the same table. `m=b` means bridge only, `m=c` means crossover
|
||||
only, and `get fr.N` returns a short command for copying a numbered rule.
|
||||
|
||||
The unnumbered command adds the rule safely on existing devices whose saved
|
||||
tables predate this default. It works with either bridge packet source and
|
||||
both ESP-NOW formats. Nearby same-profile LoRa forwarding retains the separate
|
||||
four-hop default. Use `mode=bridge` for a bridge-only block, or `mode=cross` for
|
||||
a crossover-only block. See the [mode matrix and examples](flood_filtering.md#filter-bridge-and-radio-crossover-traffic).
|
||||
Reference in new issue
Block a user