Commit graph

12 commits

Author SHA1 Message Date
Kirill Minovsky
d3ebede4e7 feat(scanner): improve IP identification and classification (N/A)
- Added get_fake_ip_type utility for network address validation
- Integrated IP classification logic into tls_scanner
- Added support for detecting ISP, Fake-IP, and local network ranges
- Updated scan results to display specific statuses for detected IPs
2026-04-24 15:11:33 +03:00
Kirill Minovsky
8463fa078d feat(dns): Added DNS availability test and updated UI
- Implemented `check_dns_availability` to measure DNS server latency
- Added `DNS_AVAILABILITY_SERVERS` and `DNS_AVAILABILITY_DOMAINS` to config
- Updated `_format_summary` to include DNS availability statistics
- Integrated DNS availability results into the CLI menu (Test 2)
- Added DoH wire-format (RFC 8484) support for improved probe reliability
- Enhanced `_parse_dns_response` for better error handling and parsing
- Refactored `run_domains_test` to better classify ISP, local, and Fake-IP
2026-04-24 15:09:12 +03:00
Kirill Minovsky
c121d29a22 feat(config): Add external config lookup for frozen apps
- 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
2026-03-14 01:19:38 +03:00
Kirill Minovsky
f6437ff6bf feat(config): Migrate app config to YAML 2026-03-13 22:42:51 +03:00
Kirill Minovsky
a1cced22ec refactor(error-classifier): Standardize error labels and details
- Standardize error labels for consistency and conciseness
- Improve clarity and consistency of error detail messages
- Reclassify `SSLZeroReturnError` to `TLS DPI`
- Simplify read error classification by removing byte-count-based logic
- Remove unused commented-out code
2026-03-04 02:23:32 +03:00
Kirill Minovsky
0b1aec94da feat(core): Implement granular HTTPX timeouts and refactor error handling
- 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.
2026-03-03 23:54:38 +03:00
Kirill Minovsky
c1b159f852 feat(tests): Add whitelist SNI test and refine domain checks
- 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.
2026-03-02 00:55:06 +03:00
Kirill Minovsky
6b6033d5d5 refactor(files): Refactor file paths and error exit mechanism
- Replace os.path with pathlib.Path for improved path manipulation.
- Rename get_exe_dir to get_base_dir for clarity and broader applicability.
- Introduce wait_and_exit utility for user-friendly program termination on errors.
- Integrate wait_and_exit into config.py and file loading functions.
- Enhance error messages for missing resource files.
2026-02-28 22:03:04 +03:00
Kirill Minovsky
6e0c4f46d5 fix for py 3.8 support 2026-02-28 03:47:01 +03:00
Kirill Minovsky
2bc9ceab7c rename tcp_16_20_targets -> tcp16 2026-02-28 02:08:26 +03:00
Kirill Minovsky
6990e64515 feat(network): Allow IPv4/IPv6 resolution
- Remove `apply_ipv4_only_patch` and its global IPv4-only patch
- `get_resolved_ip` now accepts `family` parameter (defaults to IPv4)
- Allows resolution of IPv6 addresses by specifying `socket.AF_INET6`
- Update docstring to clarify new `family` parameter usage
- Remove unused `config` import
2026-02-28 01:26:30 +03:00
Kirill Minovsky
650b4d26e0 dpi-detector 2.0 init 2026-02-28 00:53:00 +03:00