- Implemented new `core/telegram_scanner.py` module
- Added functionality to check Telegram DC reachability via TCP
- Included tests for Telegram download and upload speed and stalls
- Used `httpx` for HTTP-based download and upload tests
- Provided live status updates during Telegram test with Rich
- Integrated Telegram test into `dpi_detector.py` main loop
- Updated test selection UI to include Telegram test (option 5)
- Added summary reporting for Telegram test results (DL, UL, DC)
- Implement option "5" to display the legend
- Add logic to show legend and exit if "5" is the sole selection
- Introduce `run_legend` and `only_legend` control flags
- Modify configuration loading logic for frozen applications
- Prioritize external `config.yml` located next to the executable
- Fallback to bundled `config.yml` within the application package
- Enhance flexibility for user-defined configuration files
- Parallelize SNI whitelist probing for all detected ASes
- Collect and display up to 3 working SNIs per blocked AS
- Improve feedback for SNI test results, including bans/rate-limits
- Allow "show legend" option (5) to be combined with other tests
- Remove interactive legend display from main loop for smoother flow
- Simplify DNS check conditions by removing redundant config check
- Added a new menu option `5` to display the status legend.
- Implemented logic to show the legend when selected as a standalone action.
- Revamped the `print_legend()` function for better clarity.
- Categorized status entries and added more detailed descriptions.
- Introduced new status terms for various network and protocol errors.
- Removed `rich.Live` usage for `run_wl_sni` progress display.
- Switched to `sys.stderr` with `\r` for `run_wl_sni` progress updates.
- Modified `run_wl_sni` to print results per AS immediately.
- Optimized SNI search within batches for the first "OK" result.
- Introduce `stub_ips` for early ISP page detection via DNS.
- Refactor redirect classification.
- Differentiate between same-domain/subdomain and external redirects.
- Remove `config.BLOCK_MARKERS` and `BODY_BLOCK_MARKERS` usage.
- Update `cli/ui` legend for new ISP page and redirect statuses.
- Integrate `stub_ips` into TLS and HTTP scanning workers.
- Simplify HTTP/TLS status reporting for redirects and connections.
- Ensure all HTTPX clients and transports respect config.PROXY_URL
- Explicitly set trust_env=False to prevent unexpected proxy discovery
- Apply proxy settings to DoH DNS queries
- Apply proxy settings to TLS scanner connections
- Apply proxy settings to TCP/16 scanner probes
- Apply proxy settings to GitHub API calls for version checks
- Introduced granular httpx.Timeout configurations for AsyncClient.
- Replaced a single config.TIMEOUT with CONNECT_TIMEOUT, READ_TIMEOUT.
- Added POOL_TIMEOUT to manage connection pool wait times.
- Refactored tls_scanner.py and tcp16_scanner.py for error handling.
- Leveraged utils.error_classifier for consistent error classification.
- Enhanced classify_connect_error with specific PoolTimeout handling.
- Updated cli/runners.py to display the new CONNECT_TIMEOUT.
- Improved error labels and details within error_classifier.py.
- Refactor `check_dns_integrity` for improved robustness and accuracy
- Implement a two-phase DNS server probing strategy
- Add `_probe_udp_single` and `_probe_doh_single` for quick server checks
- Rename `_probe_udp_server` to `_probe_udp_all` and `_probe_doh_server` to `_probe_doh_all`
- Improve logging and reporting of DNS server availability
- Introduce `doh_unavailable` status to indicate DoH server blocking
- Update summary output to reflect DoH availability status
- Add `asyncio.wait_for` to `collect_stub_ips_silently` for timeout handling
- Expand `DNS_CHECK_DOMAINS` list with additional test domains
- Add commented section for domains returning NXDOMAIN
- `168.100.27.4` is Amazon, not Google Cloud (AS16509)
- `67.226.223.16` is unreachable even on foreign VPS
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
- Bundle whitelist_sni.txt with PyInstaller releases
- Document new SNI whitelisting feature in README.md
- Update Docker run commands to allow mounting whitelist_sni.txt
- Expand customizable files list in README.md for CLI and EXE usage
- Correct release links in README.md for version consistency
- Refactored SNI whitelist test (Test 4) for improved accuracy and UX
- Added `hint_rtt` to TCP scanning functions for dynamic timeout optimization
- Introduced `check_tcp_16_20_with_rtt` to measure and return initial RTT
- Implemented a two-phase approach:
- Base check to identify detected ASNs with port 443 IPs
- Select lowest RTT detected IP per ASN for SNI probing
- Probed SNIs in batches, including an initial "no SNI" attempt
- Integrated a live progress table for real-time updates during SNI enumeration
- Enabled cancellation of SNI probes in a batch upon first success
- Introduce new "Search for whitelisted SNI for ASN" (Test 4).
- Load SNI whitelist from `whitelist_sni.txt`.
- Update test selection UI and logic to include Test 4.
- Remove IPv6 resolution and related logic from domain checks.
- Simplify `cli/runners._resolve_worker` by dropping IPv6.
- Adjust domain test output table and summary after IPv6 removal.
- Update `cli/ui.format_domain_details` to reflect IPv6 removal.
- Add a warning regarding DPI circumvention tools potentially skewing test results
- Clarify the "Support" section title from "Поддержка" to "Поддержка проекта"