# cyclonescreenminaret/zapretdiscord architecture

> Architecture diagram of the GitHub repository cyclonescreenminaret/zapretdiscord, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cyclonescreenminaret/zapretdiscord
- Repository: https://github.com/cyclonescreenminaret/zapretdiscord

## Overview

zapretdiscord is a Windows bundle for bypassing network blocking, including Discord voice/RTC, without a VPN. The main workflow is to select a batch-file strategy, which starts winws with WinDivert available to intercept and filter traffic; service.bat also offers service installation and management. Its documented support features include game and IP-set filters, list and hosts-file updates, diagnostics, and update checks. Edges are based on README statements only; source scripts were not provided, so internal call details are not verified.

Main entry points: [`service.bat`](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat) (Service menu), [`bin/winws.exe`](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/bin/winws.exe) (Traffic processor), [`general.bat`](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/general.bat) (Manual strategies), [`general (ALT).bat`](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/general%20(ALT).bat) (Strategy variants)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_launch["Strategy Launch"]
  node_manual["Manual strategies<br/>[general.bat]"]
  node_variants["Strategy variants<br/>[general &#40;ALT&#41;.bat]"]
end

subgraph group_traffic["Traffic Handling"]
  node_winws["Traffic processor<br/>[winws.exe]"]
  node_windivert["WinDivert driver<br/>[WinDivert64.sys]"]
  node_driver_tools["Driver loader<br/>[windivert_load.cmd]"]
end

subgraph group_config["Filters and Data"]
  node_game_filter["Game filter<br/>[service.bat]"]
  node_ipset_filter["IP-set filter<br/>[service.bat]"]
  node_ipset_data["IP-set lists<br/>[ipset-all.txt]"]
  node_domain_lists["Domain lists<br/>[list-general.txt]"]
end

subgraph group_operations["Service Operations"]
  node_service_ui["Service menu<br/>[service.bat]"]
  node_hosts_update["Hosts updater<br/>[service.bat]"]
  node_diagnostics["Diagnostics<br/>[service.bat]"]
  node_update_checks["Update checks<br/>[service.bat]"]
end

node_user(("Windows user"))
node_service_manager["Windows services"]
node_repo_source["Repository source"]
node_hosts_file["Windows hosts file"]

node_user -->|"starts strategy"| node_manual
node_user -->|"tries strategy"| node_variants
node_manual -->|"launches"| node_winws
node_variants -->|"launches"| node_winws
node_winws -->|"uses driver"| node_windivert
node_user -->|"opens menu"| node_service_ui
node_service_ui -->|"installs or removes"| node_service_manager
node_service_ui -->|"switches mode"| node_game_filter
node_service_ui -->|"switches mode"| node_ipset_filter
node_ipset_filter -->|"checks addresses"| node_ipset_data
node_service_ui -->|"updates list from"| node_repo_source
node_repo_source -->|"provides updated list"| node_ipset_data
node_service_ui -->|"runs update"| node_hosts_update
node_hosts_update -->|"updates"| node_hosts_file
node_user -->|"runs diagnostics"| node_diagnostics
node_user -->|"checks updates"| node_update_checks

click node_manual "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/general.bat"
click node_variants "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/general%20(ALT).bat"
click node_service_ui "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat"
click node_winws "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/bin/winws.exe"
click node_windivert "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/bin/WinDivert64.sys"
click node_driver_tools "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/bin/windivert_load.cmd"
click node_game_filter "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat"
click node_ipset_filter "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat"
click node_ipset_data "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/lists/ipset-all.txt"
click node_domain_lists "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/lists/list-general.txt"
click node_hosts_update "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat"
click node_diagnostics "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat"
click node_update_checks "https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_manual,node_variants,node_user toneBlue
class node_winws,node_windivert,node_driver_tools toneAmber
class node_game_filter,node_ipset_filter,node_ipset_data,node_domain_lists toneMint
class node_service_ui,node_hosts_update,node_diagnostics,node_update_checks toneRose
class node_service_manager,node_repo_source,node_hosts_file toneIndigo
```

## Components

### Strategy Launch

- [Manual strategies](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/general.bat): `general.bat`
- [Strategy variants](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/general%20(ALT).bat): `general (ALT).bat`

### Traffic Handling

- [Traffic processor](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/bin/winws.exe): `bin/winws.exe`
- [WinDivert driver](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/bin/WinDivert64.sys): `bin/WinDivert64.sys`
- [Driver loader](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/bin/windivert_load.cmd): `bin/windivert_load.cmd`

### Filters and Data

- [Game filter](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat): `service.bat`
- [IP-set filter](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat): `service.bat`
- [IP-set lists](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/lists/ipset-all.txt): `lists/ipset-all.txt`
- [Domain lists](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/lists/list-general.txt): `lists/list-general.txt`

### Service Operations

- [Service menu](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat): `service.bat`
- [Hosts updater](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat): `service.bat`
- [Diagnostics](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat): `service.bat`
- [Update checks](https://github.com/cyclonescreenminaret/zapretdiscord/blob/main/service.bat): `service.bat`

### Other components

- **Windows user**
- **Windows services**
- **Repository source**
- **Windows hosts file**

## Connections

- Windows user → Manual strategies: starts strategy (evidence: `README.md`)
- Windows user → Strategy variants: tries strategy (evidence: `README.md`)
- Manual strategies → Traffic processor: launches (evidence: `README.md`)
- Strategy variants → Traffic processor: launches (evidence: `README.md`)
- Traffic processor → WinDivert driver: uses driver (evidence: `README.md`)
- Windows user → Service menu: opens menu (evidence: `README.md`)
- Service menu → Windows services: installs or removes (evidence: `README.md`)
- Service menu → Game filter: switches mode (evidence: `README.md`)
- Service menu → IP-set filter: switches mode (evidence: `README.md`)
- IP-set filter → IP-set lists: checks addresses (evidence: `README.md`)
- Service menu → Repository source: updates list from (evidence: `README.md`)
- Repository source → IP-set lists: provides updated list (evidence: `README.md`)
- Service menu → Hosts updater: runs update (evidence: `README.md`)
- Hosts updater → Windows hosts file: updates (evidence: `README.md`)
- Windows user → Diagnostics: runs diagnostics (evidence: `README.md`)
- Windows user → Update checks: checks updates (evidence: `README.md`)
