Hi Mark,
I'm running two LXMF Propagation Nodes (LXMF 1.2.1, Reticulum 1.5.7/1.6.0)
Both nodes use:
- `autopeer = no`
- `from_static_only = yes`
- `static_peers` configured to include only the other PN
- Message size limit: **32 KB**
- Synchronisation limit: **64 KB**
I've noticed that short LXMF messages can be submitted successfully, but larger messages and image attachments fail when regular clients upload them to a propagation node.
For testing, I used:
- Short text messages – generally successful.
- Longer text messages (approximately 5 sentences, well below 32 KB) – failed.
- Small image attachments (approximately 10 KB, also below the configured limits) – failed.
I've reproduced the issue using different clients, including Columba and Ratspeak, against the two propagation nodes.
The server logs show:
Rejecting propagation resource from unidentified peer
And, when testing with Ratspeak:
Incoming link request ... accepted
Rejecting propagation resource from <9446b5fc8962f93640adfa8e260f236a> not in static peers list
I also verified that the rejected hash belongs to my regular Ratspeak client, not to another Propagation Node.
The client's identifiers are:
- RNS identity hash:
65e307219b1a20197a72086ca958148e - LXMF delivery destination:
607f5249256c52c8780d1e043046d914 - Calculated LXMF propagation destination:
9446b5fc8962f93640adfa8e260f236a
I calculated the propagation destination hash using RNS.Destination.hash_from_name_and_identity("lxmf.propagation", identity), and it matches the rejected hash exactly.
The client does not operate a Propagation Node. The hash is simply derived from its existing identity.
The RNS links are successfully established before the Resource uploads are rejected. Ratspeak subsequently reports Transport failed.
Looking at LXMRouter.py, the propagation_resource_advertised() callback appears to apply the from_static_only restriction to incoming Resources from regular LXMF clients, not just propagation peers.
Is this intentional behaviour?
My goal is to restrict PN-to-PN peering to explicitly configured static peers while still allowing regular LXMF clients to upload larger messages and attachments.
Is there a supported way to achieve this without disabling from_static_only?
Thanks