mirror of
https://github.com/wweir/sower.git
synced 2026-10-19 16:14:33 +00:00
Domain stats are now tracked per entry point (http/https/socks5/dns) instead of one mixed counter, and /api/traffic accepts ?source= so each can be inspected separately: - Stats.record attributes events to a source; DNS queries land in the dns slot with no bytes, proxy connections in their protocol slot. - Snapshot(sort, source) filters domains to one source, reporting that source's conns/bytes/lastSeen; source=all (default) aggregates. - The traffic page breadcrumb gains a source switcher (all/http/https/ socks5/dns), the view reloads on switch even while paused, and the DNS view hides the byte columns and labels the list as DNS queries. Verified live: source=dns lists queried domains with query counts; source=https lists proxied domains with bytes; all still aggregates.