Skip to content

Sync: the DNS tunnel path and its resolver block are read and kept - #6

Open
limeflash wants to merge 1 commit into
mainfrom
dnstunnel-sync
Open

limeflash wants to merge 1 commit into
mainfrom
dnstunnel-sync

Conversation

@limeflash

Copy link
Copy Markdown
Contributor

Experimental, no engine yet. The client reads a dnstunnel path (v, domain, an opaque key, kbps_hint) and the top-level dns_tunnel resolver block (at most 64 entries, system replaced by the physical interface's DNS servers, entries matching client_asn first, an expired list kept).

One switch, dnsTunnelEngine, keeps the path out of the server list and out of X-Mistgate-Caps until the engine exists. The key is never parsed, logged or put into an error. The network diagnostics and pings skip such a path.

Tests: parsing, the limits, the order, the switch.

🤖 Generated with Claude Code

… offered yet

Experimental. A dnstunnel path is parsed (v 1, a DNS name, an opaque key that never reaches a message) and always a
whitelist path; the dns_tunnel block keeps up to 64 udp resolvers and survives a sync that has the path but no block.
Until the engine ships (subs.dnsTunnelEngine) the path is counted unsupported, the caps stay as they were, and the
checks and pings skip it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant