Files
doona/tools
Zakk f97dee2470 feat(rules): add homebound routing and template options
Name the grouped templates single, services and regions by purpose. Translate
generated group labels with the UI language and prefix region labels with
their flags, keeping configuration identifiers and bilingual match patterns.

Add homebound routing for users outside mainland China: send mainland sites
and addresses through cn and keep other traffic direct. Exclude Hong Kong,
Macau and Taiwan nodes from the mainland group, including numbered region
codes and codes beside CJK text. Use explicit ASCII letter boundaries shared
by Rust regex and the JavaScript test matcher.

Make ad blocking, UDP 443 blocking and NetworkManager direct routing optional
in all seven templates, including Global proxy. Keep ads off and both device
options on by default. Explain when games, video calls and downstream QUIC
proxy clients need UDP 443; honk's own marked node sockets bypass routing.
Keep LAN, multicast and private-address direct rules fixed.

Detect every option combination and earlier routing, and restore the switch
states. Allow applying an option change on its own and list changed options
in the confirmation dialog against detected routing; omit option impacts
when routing is custom. Keep direct/block in legacy group slots custom because
the slots require proxy groups. Keep snapshots on the default combination and
cover option writes, restored states, legacy detection and switch geometry.
2026-10-01 11:10:39 +10:00
..