Skip to content

Stop three messages from reading as problems when nothing is wrong - #212

Open
onyks-os wants to merge 1 commit into
mainfrom
fix/misleading-observations
Open

onyks-os wants to merge 1 commit into
mainfrom
fix/misleading-observations

Conversation

@onyks-os

@onyks-os onyks-os commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Three findings from a real session on Fedora, each a message that read as a problem while the session was fine:

Command Message Cause Now
ttp check-leak DNS TXT observation inconclusive (exit 0) Tor's DNSPort answers only A, AAAA and PTR, so an empty TXT is Tor's normal answer "no answer, as expected through Tor". An answered TXT now says the query did not reach Tor's DNSPort or came from a cache; before, it was printed as informational
ttp monitor, ttp status Health assessment unknown By design (ADR 0013) only an emergency is assessed; a passive view cannot verify routing The value is unchanged, followed by that reason
ttp stop (log) [ERROR] Tor control socket authentication failed: socket connection failed ([Errno 2] …) Tor removes its socket while exiting, between get_controller's existence check and the handshake A debug line when the socket is gone; still ERROR when it exists

One test per change: test_check_leak_reads_a_txt_answer_the_way_tor_gives_it, test_an_unknown_health_says_why_it_is_unknown, test_a_socket_that_vanishes_during_shutdown_is_not_an_error.

🤖 Generated with Claude Code

Reported from a real session:
- check-leak: an empty DNS TXT answer is what Tor's DNSPort gives (A,
  AAAA and PTR only), not an inconclusive observation; an answered TXT
  now says the query did not reach Tor's DNSPort, or came from a cache.
- monitor/status: "Health assessment unknown" now says why: only an
  emergency is assessed, and a passive view cannot verify routing.
- stop: a control socket that vanishes during Tor's exit is a debug
  line, not "[ERROR] Tor control socket authentication failed".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: onyks-os <129986281+onyks-os@users.noreply.github.com>

This branch has not been deployed

No deployments
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