Skip to content
Efe Şahinbaş
Email

Systems and networking

Kervan DPI

Experimental pre-release

Open-source local tools for networks that restrict access using deep packet inspection. Each platform has its own engine, scope and level of evidence.

Android is an experimental beta and Windows a release candidate. The next Linux version is in development, and iOS has no public release.

Sent wholeexample.comSplit on the deviceexample.comFilterConceptual. Results vary by network.

Problem

HTTPS encrypts page content, but the requested site name is often visible while a connection is set up. Some networks use it to block access. Operating systems give applications different ways to handle traffic, so one implementation cannot cover them all.

Role

Efe Şahinbaş owns the repository, and public commits use the owner’s accounts. The project’s own code includes the desktop controller, process lifecycle, Android app, C integration core, iOS app, packaging and tests. GoodbyeDPI, WinDivert, ByeDPI, hev-socks5-tunnel, SpoofDPI, Zapret2, Qt and GSAP are third-party work.

Architecture

The project integrates existing engines behind understandable controls, stops them cleanly, and says plainly that an active engine is not proof that a site can be reached.

Each platform has its own entry point and engine. All of them run on the device and use the normal network connection.AndroidLocal VPN interfacehev-socks5-tunnel, ByeDPINetworkWindowsDesktop controllerGoodbyeDPI, WinDivertNetworkLinuxIn developmentSpoofDPI, Zapret2NetworkiOSPacket tunnel, unreleasedhev-socks5-tunnel, ByeDPINetwork
Dashed rows have no current public release. Engines are third-party projects.

Platforms

PlatformStatusScope
AndroidExperimental beta, 0.2.0-beta1Kotlin app with a shared C core. Android 10 or later, on arm64-v8a and x86_64.
Windows x64Release candidate, v1.0.1-rc2Desktop controller for GoodbyeDPI and WinDivert. Needs administrator permission. The executable is not code-signed.
LinuxIn development, no current releaseSpoofDPI proxy mode and experimental Zapret2 source. Older packages in rc1 are a different implementation.
iOSDevelopment only, no public releaseSwift app and packet-tunnel extension around the shared C core.

Implementation

  • On Android, start and stop operations run one at a time on a single worker thread.
  • The engine’s own sockets are protected from re-entering the tunnel.
  • Stopping closes the engine before the interface, and an engine failure closes the tunnel.
  • On Windows, the controller tracks its child process and checks cleanup before it exits.

Evidence

CheckResultWhat it showsOrigin
Android C core tests2 of 2 test programs passedRun on Linux. Covers core behavior only.Run for this portfolio
Windows candidate source tests126 passedRun on Linux without a display. Does not reproduce a Windows result.Run for this portfolio
Android package and Windows executableChecksums matched; Android signature verifiedFile integrity, not safety or effectiveness.Run for this portfolio
Android field observationOne blocked site, one phone, two networksThe site opened only while Kervan was on. Detailed observations used an earlier debug build; the signed build had one short mobile-data check.Reported by the project
iOS development buildRun on an iPhone 14 ProCircumvention was not demonstrated.Reported by the project

Privacy

The project states that it operates no relay server. Destination sites and the chosen DNS provider still receive traffic. Android defaults to Cloudflare DNS. In the Windows candidate’s source, the default named “Turkey DNSRedir” uses the same address and port as “Yandex (Standard)”. Android uses the system VPN permission for local routing. The local SOCKS5 listener has no authentication, so another app on the device may be able to connect to it.

Limitations

  • Kervan DPI is not a VPN service or an anonymity service. It does not hide the IP address or add encryption.
  • Access is not guaranteed. Results vary by network and device.
  • On Android, QUIC and UDP, engine-crash recovery, live network switching and long use are not adequately tested on devices.
  • Full testing of this candidate in real Windows sessions is outstanding.
  • There has been no independent security audit. Users remain responsible for local law.

Links

Next projectDayı Stego Solver