Skip to content

v2.2.0: HTTPS inspection menu, retire Block List, proxy category blocking without DNS - #185

Merged
fifthsegment merged 2 commits into
masterfrom
filters-to-inspection
Sep 24, 2026
Merged

fifthsegment merged 2 commits into
masterfrom
filters-to-inspection

Conversation

@fifthsegment

Copy link
Copy Markdown
Owner

Summary

  • Filters → HTTPS inspection. The menu now holds Blocked keywords, Blocked content types, and Sites not inspected. Each page warns when HTTPS inspection is off and points to Policies for blocking whole sites. The toggle label now says what inspection needs.
  • Block List removed. Existing entries are migrated into every policy's blocked domains on startup (the unedited stock snapads.com entry is dropped), then the legacy file is emptied.
  • Policy categories at the proxy. Policy evaluation already checked categories on the proxy path. The gap was that the policy service, device store, and category feeds were only created when the DNS server was enabled. They now start at boot, independent of the DNS listener, and survive DNS stop/start.
  • Speed. Category lookup is one hash probe per domain label. The benchmark shows ~2µs per proxy decision with both 1k and 1M domains. Domain blocks are refused before any TLS work, so they need no CA certificate.

Test plan

  • go test ./... in application and gatesentryproxy
  • New tests: block list migration, proxy category blocking, benchmark
  • vitest and svelte-check (baseline shows only line shifts)
  • Manual: DNS disabled, Default policy blocks Social; www.facebook.com is blocked through the proxy (HTTP block page, HTTPS refused) and example.com passes
  • Root-package integration tests fail identically on master in this environment (network/MITM dependent)

🤖 Generated with Claude Code

fifthsegment and others added 2 commits September 24, 2026 05:00
…roxy without DNS

- Rename the Filters menu to HTTPS inspection (keywords, content types,
  sites not inspected) and warn when inspection is off.
- Retire the Block List: migrate its entries into every policy's blocked
  domains and remove the page.
- Start the policy service, device store, and category feeds at boot
  instead of with the DNS listener, so the proxy blocks policy categories
  even when the DNS server is disabled.
- Test proxy category blocking and benchmark lookups (flat ~2us from 1k to
  1M domains).

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@fifthsegment fifthsegment changed the title HTTPS inspection menu, retire Block List, proxy category blocking without DNS v2.2.0: HTTPS inspection menu, retire Block List, proxy category blocking without DNS Sep 24, 2026
@fifthsegment
fifthsegment merged commit aaa154b into master Sep 24, 2026
9 checks passed
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 25.27473% with 68 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.07%. Comparing base (613fb88) to head (1be183e).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
application/dns/server/server.go 0.00% 52 Missing ⚠️
application/dns/server/policy_migration.go 60.52% 8 Missing and 7 partials ⚠️
application/dns.go 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #185      +/-   ##
==========================================
+ Coverage   48.05%   48.07%   +0.02%     
==========================================
  Files         123      123              
  Lines       10956    11005      +49     
==========================================
+ Hits         5265     5291      +26     
- Misses       5009     5025      +16     
- Partials      682      689       +7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants