gitwtfhub

wtf is zapret-4.0?

vanquishervohonor25/zapret-4.0 — explained in plain English

Analysis updated 2026-05-18

135PythonAudience · generalComplexity · 3/5Setup · moderate

TL;DR

A Windows tool that bypasses internet censorship without a VPN by tweaking network packets to confuse deep packet inspection.

Mindmap

mindmap
  root((Zapret 4.0))
    What it does
      Censorship bypass
      Packet manipulation
      DPI evasion
    Tech stack
      Python
      Windows Filtering Platform
    Use cases
      Unblock YouTube
      Unblock Discord
      Unblock Telegram
    Audience
      General users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Unblock throttled services like YouTube, Discord, and Telegram without a VPN

REASON 2

Run alongside an existing VPN such as WireGuard or OpenVPN

REASON 3

Automatically select bypass settings per service with the default mode

REASON 4

Manually tune fragmentation and disorder settings via config.json

What's in the stack?

PythonWindows Filtering Platform

How it stacks up

vanquishervohonor25/zapret-4.0colossus-lab/openarg_backendmr-un1k0d3r/azureredops
Stars135135135
LanguagePythonPythonPython
Setup difficultymoderatehardmoderate
Complexity3/55/54/5
Audiencegeneraldeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires Windows administrator privileges because it filters traffic at the Windows Filtering Platform kernel level.

No license information given in the explanation.

Wtf does this do

Zapret 4.0 is a Windows tool for bypassing internet censorship without using a VPN. The README is written in Russian, and the tool is clearly aimed at Russian users: the services it targets (YouTube, Discord, Telegram) are among those that have been throttled or blocked by Russian internet regulators. The project's tagline translates roughly as "the internet without filters is not a request, it is the norm". Most censorship bypass tools work by routing your traffic through a server in another country. Zapret takes a different approach: it intercepts your outgoing network packets at the Windows kernel level using Windows Filtering Platform (WFP), modifies the first few packets of each connection in a way that confuses deep packet inspection systems, and then sends traffic directly to the destination. The DPI equipment your ISP uses looks for recognizable patterns in connection headers (such as the domain name in a TLS handshake) to decide whether to block the connection. Zapret scrambles or fakes those headers so the equipment sees nothing recognizable and lets the connection through. The techniques involved are fake SNI (substituting a different domain name into the TLS handshake), disorder (deliberately sending packets out of order during connection setup), and fragmentation (splitting packets into smaller pieces that the inspection system cannot reassemble fast enough). Different services get different combinations of these methods. The tool runs on Windows 10 version 1903 and later, and Windows 11. It requires administrator privileges because WFP filters operate at a level that needs them. Memory use is around 50 MB during operation. The executable is called nightcore.exe, and it can run in an automatic mode that selects settings on its own, or in targeted modes for specific services. A config.json file allows manual tuning of the disorder level, fragment size, and other parameters. The README states that Zapret does not intercept the content of your traffic, only the service headers of the first packets. It is compatible with VPNs and can run alongside WireGuard or OpenVPN at the same time.

Yoink these prompts

Prompt 1
Explain how Zapret's fake SNI technique confuses deep packet inspection during a TLS handshake.
Prompt 2
Walk me through the difference between disorder and fragmentation packet manipulation in Zapret.
Prompt 3
How do I configure config.json to target a specific blocked service manually?
Prompt 4
What administrator privileges does Zapret need and why does it require them?

Frequently asked questions

wtf is zapret-4.0?

A Windows tool that bypasses internet censorship without a VPN by tweaking network packets to confuse deep packet inspection.

What language is zapret-4.0 written in?

Mainly Python. The stack also includes Python, Windows Filtering Platform.

What license does zapret-4.0 use?

No license information given in the explanation.

How hard is zapret-4.0 to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is zapret-4.0 for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.