mirror of
https://github.com/Horizontal42/netsleuth.git
synced 2026-11-10 15:42:10 +03:00
4.4 KiB
4.4 KiB
TASKS
Done
- Scaffold: uv packaging,
config.yaml,.env.example, package skeleton, bilingual README and ARCHITECTURE models.py— ModuleResult/ProbeError/Finding/Signal envelopes and every domain shapeconfig.py— pydantic-settings loader, env > .env > config.yaml > defaultorchestration.py—run_moduleenvelope and exception classificationnetinfo.py— capability detection, backend choice, local interface/gateway/MTU/resolver factsstats.py— RTT loss, mdev and jittertraceparse.py— Linux, Windows (incl. cp866) and BSD parsers plus the OS dispatcherinterpret.py— threshold bands, latency/path/speed findings, VPN scoring, bufferbloat gradingip_geo.py— six-provider normalizers, field-wise merge, dual-stack comparisonbgp.py— RIPEstat, CAIDA ASRank, Team Cymru, disk-cached PeeringDBreputation.py— FireHOL netset index, DNSBL127.255.255.xdecoding, InternetDB, captcha riskprobes/latency.py— ping summarization and unprivileged backend fan-outprobes/icmp_win.py—IcmpSendEcho2engine and reply decodingprobes/traceroute.py— mtr → icmp_win → icmplib → system-binary cascade, plus opt-in TCP-SYN tierprobes/dns_leak.py— per-adapter resolver enumeration, ASN mismatch and ECS detectionspeed.py— throughput math,cfL4parsing, four-tier cascade, bufferbloat under loadexporter.py— strict JSON, atomic writes, Markdown rendering, failed-section placeholderscli.py— Typer app, every flag, the spec §12 phase pipelinecompare.py— diff two saved reportswatch.py— monitoring loop with one time-series artifact per session- End-to-end smoke test across
--quick,--fulland--targetmodes — caught and fixed five live-network defects (egress_v4 mislabeled on a dual-stack host, the same for asn-target identity lookups, target-mode report filenames using the local ASN instead of the target, cf-trace's own IP leaking into a target lookup, a skipped module's warning not reaching its Markdown placeholder) plus one flaky test (Windows mtime clock skew in the PeeringDB cache) - Documentation freshness pass against the final module and flag set
- License finalized as PolyForm Noncommercial 1.0.0 — Shodan InternetDB and the free Spamhaus mirrors are non-commercial-use-only, and this license keeps every downstream fork inside those same terms. Real license text landed in
LICENSE, README/README.ru.md updated,pyproject.tomlcarries the SPDX identifier - Russian Markdown report (
report_<ASN>_<ts>.ru.md), written alongside the English one on every run, same structure, same tables, same numbers, cross-linked with its English sibling.Finding/Reputation/DnsLeakcarry optional_rusibling fields set alongside the English ones at each construction site;exporter.pyrenders both languages from one code path viarender_markdown(report, lang=...)and inline_t(lang, en, ru)calls, so the two reports cannot structurally drift. Module skip/warning reasons are translated too (small exact-match dict inexporter.py)
In Progress
- Nothing
Next
- Consider publishing to PyPI: decide on the distribution name, add a release workflow, and confirm the
tcptrace/ndt7extras install cleanly from a wheel rather than from the repo. - Revisit the opt-in extras' UX.
--ndt7currently prints its consent notice and prompts on every interactive run, and--tcp-traceprints its privilege warning unconditionally. Decide whether consent should be remembered (a flag inconfig.yaml, or a marker in.cache/) so a repeat user is not re-prompted, and what the right behaviour is when stdin is not a TTY. - Fix adapter-name mojibake in the DNS-leak table: a non-ASCII Windows adapter name (seen on this dev machine: a Bluetooth virtual adapter) renders as cp1251/cp866-corrupted garbage in both the English and Russian reports. Pre-existing bug in
netinfo.py's per-adapter resolver enumeration, not introduced by the Russian-report work — needs its own investigation into what encoding Windows actually hands back for adapter friendly names. dual_stack_noteand other free-text notes generated outsideinterpret.py/reputation.py/probes/dns_leak.pystill render in English inside the Russian report (onlyFinding,Reputation,DnsLeakcarry_rufields today). Low-traffic edge case; extend the same inline-sibling pattern if it turns out to matter.
Blocked
- Nothing