Vladislav Yaroslavlev
|
48148d9e28
|
fix: security holes, misclassifications, and edge cases
Phase 1 (critical): Handle sys_ip=OK/doh_ip=None gracefully, make
--white --black mutually exclusive, downgrade confidence to MEDIUM
on DNS mismatch with OK verdict.
Phase 2 (medium): Catch ConnectionAbortedError in check_tls, fix JSON
mode get_self_info ignoring --timeout, count TIMEOUT separately in
summary (70% threshold uses only real blocks), tighten overly broad
stub markers, validate --workers and --timeout.
Phase 3 (low): Add --no-self-info flag, fix table alignment with ANSI
colors, handle unexpected exceptions in iter_check_urls futures.
Phase 4 (tests): Add test_cli.py, test_dns.py, test_network.py,
test_http.py; extend test_core.py, test_stub_detection.py,
test_summary.py, test_streaming.py. All 89 tests passing.
|
2026-05-06 14:39:33 +03:00 |
|