mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
Enabled manual contact approval mode in meshcli session initialization. This requires explicit approval for new contacts attempting to connect, providing enhanced security and network access control. Changes: - Added 'set manual_add_contacts on' to _init_session_settings() - Updates session init log message to include manual_add_contacts status - Created comprehensive technical documentation (technotes/pending-contacts-api.md) Benefits: - DoS prevention - blocks flooding with fake contact requests - Network privacy - control who can see your node - Trust model - explicit approval for all new contacts - Spam filtering - reject unwanted connection attempts Technical notes document includes: - Problem statement and solution overview - API endpoint specifications and examples - Testing procedures and expected workflows - Future UI integration plans - Security considerations and recommendations - Meshcli command reference When manual approval is enabled, new contacts appear in pending list (accessible via GET /pending_contacts) and must be approved via POST /add_pending before they can communicate with the node. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>