# flowseal/zapret-discord-youtube architecture

> Architecture diagram of the GitHub repository flowseal/zapret-discord-youtube, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/flowseal/zapret-discord-youtube
- Repository: https://github.com/flowseal/zapret-discord-youtube

## Overview

This Windows batch-based toolkit helps users test and run traffic-circumvention strategies, then optionally install one as a service. The principal workflow is selecting a strategy through service.bat, running it through the bundled winws executable, and checking whether configured targets work. The README also documents service management, filtering, updates, diagnostics, and DPI tests. No source excerpts were provided, so relationships below rely on README statements; implementation details and undocumented calls are omitted.

Main entry points: [`service.bat`](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat) (Service menu), [`general.bat`](https://github.com/flowseal/zapret-discord-youtube/blob/main/general.bat) (Strategy scripts), [`bin/winws.exe`](https://github.com/flowseal/zapret-discord-youtube/blob/main/bin/winws.exe) (winws engine), [`bin/WinDivert64.sys`](https://github.com/flowseal/zapret-discord-youtube/blob/main/bin/WinDivert64.sys) (WinDivert driver)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_control["Control and strategies"]
  node_service_menu["Service menu<br/>[service.bat]"]
  node_strategy_scripts["Strategy scripts<br/>[general.bat]"]
end

subgraph group_traffic["Traffic resources"]
  node_winws["winws engine<br/>[winws.exe]"]
  node_windivert["WinDivert driver<br/>[WinDivert64.sys]"]
  node_fake_signatures["Fake signatures"]
  node_ipset["IP sets<br/>[ipset-all.txt]"]
  node_exclude_lists["Exclusion lists<br/>[ipset-exclude.txt]"]
  node_domain_lists["Domain lists<br/>[list-general.txt]"]
end

subgraph group_operations["Service operations"]
  node_service_install["Install strategy<br/>[service.bat]"]
  node_service_status["Service status<br/>[service.bat]"]
  node_traffic_filters["Traffic filters<br/>[service.bat]"]
  node_hosts_update["Hosts update<br/>[service.bat]"]
  node_ipset_update["IPSet update<br/>[service.bat]"]
  node_update_check["Update check<br/>[service.bat]"]
end

subgraph group_validation["Validation"]
  node_diagnostics["Diagnostics<br/>[service.bat]"]
  node_strategy_tests["Strategy tests<br/>[service.bat]"]
  node_test_targets["Test targets<br/>[targets.txt]"]
  node_dpi_tests["DPI checkers<br/>[service.bat]"]
end

node_user(("Windows user"))

node_user -->|"selects actions"| node_service_menu
node_user -->|"runs strategy"| node_strategy_scripts
node_service_menu -->|"offers installation"| node_service_install
node_service_menu -->|"offers status checks"| node_service_status
node_service_menu -->|"offers filter controls"| node_traffic_filters
node_service_menu -->|"offers hosts update"| node_hosts_update
node_service_menu -->|"offers IPSet update"| node_ipset_update
node_service_menu -->|"offers update checks"| node_update_check
node_service_menu -->|"offers diagnostics"| node_diagnostics
node_service_menu -->|"offers tests"| node_strategy_tests
node_service_menu -->|"offers DPI tests"| node_dpi_tests
node_service_install -->|"installs strategy"| node_strategy_scripts
node_strategy_scripts -->|"launches engine"| node_winws
node_strategy_tests -->|"tests targets"| node_test_targets
node_strategy_scripts -.->|"uses bundled fakes"| node_fake_signatures
node_traffic_filters -->|"filters by IPSet"| node_ipset
node_winws -->|"uses traffic driver"| node_windivert

click node_service_menu "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_strategy_scripts "https://github.com/flowseal/zapret-discord-youtube/blob/main/general.bat"
click node_winws "https://github.com/flowseal/zapret-discord-youtube/blob/main/bin/winws.exe"
click node_windivert "https://github.com/flowseal/zapret-discord-youtube/blob/main/bin/WinDivert64.sys"
click node_fake_signatures "https://github.com/flowseal/zapret-discord-youtube/tree/main/bin"
click node_ipset "https://github.com/flowseal/zapret-discord-youtube/blob/main/lists/ipset-all.txt"
click node_exclude_lists "https://github.com/flowseal/zapret-discord-youtube/blob/main/lists/ipset-exclude.txt"
click node_domain_lists "https://github.com/flowseal/zapret-discord-youtube/blob/main/lists/list-general.txt"
click node_service_install "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_service_status "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_traffic_filters "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_hosts_update "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_ipset_update "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_update_check "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_diagnostics "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_strategy_tests "https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat"
click node_test_targets "https://github.com/flowseal/zapret-discord-youtube/blob/main/utils/targets.txt"
click node_dpi_tests "https://github.com/flowseal/zapret-discord-youtube/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_service_menu,node_strategy_scripts,node_user toneBlue
class node_winws,node_windivert,node_fake_signatures,node_ipset,node_exclude_lists,node_domain_lists toneAmber
class node_service_install,node_service_status,node_traffic_filters,node_hosts_update,node_ipset_update,node_update_check toneMint
class node_diagnostics,node_strategy_tests,node_test_targets,node_dpi_tests toneRose
```

## Components

### Control and strategies

- [Service menu](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [Strategy scripts](https://github.com/flowseal/zapret-discord-youtube/blob/main/general.bat): `general.bat`

### Traffic resources

- [winws engine](https://github.com/flowseal/zapret-discord-youtube/blob/main/bin/winws.exe): `bin/winws.exe`
- [WinDivert driver](https://github.com/flowseal/zapret-discord-youtube/blob/main/bin/WinDivert64.sys): `bin/WinDivert64.sys`
- [Fake signatures](https://github.com/flowseal/zapret-discord-youtube/tree/main/bin): `bin`
- [IP sets](https://github.com/flowseal/zapret-discord-youtube/blob/main/lists/ipset-all.txt): `lists/ipset-all.txt`
- [Exclusion lists](https://github.com/flowseal/zapret-discord-youtube/blob/main/lists/ipset-exclude.txt): `lists/ipset-exclude.txt`
- [Domain lists](https://github.com/flowseal/zapret-discord-youtube/blob/main/lists/list-general.txt): `lists/list-general.txt`

### Service operations

- [Install strategy](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [Service status](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [Traffic filters](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [Hosts update](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [IPSet update](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [Update check](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`

### Validation

- [Diagnostics](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [Strategy tests](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`
- [Test targets](https://github.com/flowseal/zapret-discord-youtube/blob/main/utils/targets.txt): `utils/targets.txt`
- [DPI checkers](https://github.com/flowseal/zapret-discord-youtube/blob/main/service.bat): `service.bat`

### Other components

- **Windows user**

## Connections

- Windows user → Service menu: selects actions (evidence: `README.md`)
- Windows user → Strategy scripts: runs strategy (evidence: `README.md`)
- Service menu → Install strategy: offers installation (evidence: `README.md`)
- Service menu → Service status: offers status checks (evidence: `README.md`)
- Service menu → Traffic filters: offers filter controls (evidence: `README.md`)
- Service menu → Hosts update: offers hosts update (evidence: `README.md`)
- Service menu → IPSet update: offers IPSet update (evidence: `README.md`)
- Service menu → Update check: offers update checks (evidence: `README.md`)
- Service menu → Diagnostics: offers diagnostics (evidence: `README.md`)
- Service menu → Strategy tests: offers tests (evidence: `README.md`)
- Service menu → DPI checkers: offers DPI tests (evidence: `README.md`)
- Install strategy → Strategy scripts: installs strategy (evidence: `README.md`)
- Strategy scripts → winws engine: launches engine (evidence: `README.md`)
- Strategy tests → Test targets: tests targets (evidence: `README.md`)
- Strategy scripts → Fake signatures: uses bundled fakes
- Traffic filters → IP sets: filters by IPSet (evidence: `README.md`)
- winws engine → WinDivert driver: uses traffic driver (evidence: `README.md`)
