zapret-kvn/xray_fluent/masking/__init__.py
loop-uh 63075db2d1 Masking (Маскировка): WireGuard junk/I1, Xray mux/xmux/fragment, TLS fragment
Owner request 2026-11-15, plan approved 2026-11-16. Off by default.

- New pure package xray_fluent/masking (model, codec shared byte for
  byte with Android, global + per-server merge by node id, per-core
  rules citing the pinned cores, presets, choices, tester decisions).
- application/masking_runtime.py: masked copies of the selected node,
  the pool nodes and the Xray pool outbounds for both sing-box planners;
  stored nodes are never edited; "[masking]" log line at each start.
- AppSettings.masking; the transition signature includes masking only
  while it is on (no extra reconnect for users who never enable it).
- Settings -> «Маскировка» (presets per section, «Свои значения» JSON
  editor with core validation); node list «Ещё» -> «Маскировка».
- Tests: 36 new; every test file passes run one per process.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:10:05 -05:00

6 lines
337 B
Python

"""Masking ("Маскировка"): settings model, global + per-server merge, validation that cites the
native cores, and pure emitters into the JSON fields each native core already reads.
The Windows twin of the Android `:masking` module: same JSON format (codec), same rules,
same presets, same tester decisions. No I/O, no Qt.
"""