b4lol/zapret-rs — reverse-engineered prompt
Reverse engineered prompt
Build me an experimental Rust based command line tool for Linux that recreates the core idea of zapret2, helping bypass DPI based internet blocking by using packet desynchronization through NFQUEUE. I want this to feel like an idiomatic Rust rewrite, not just a direct port, but it should still aim for the same practical result for someone trying to restore access to blocked sites or services.
Please make it usable from the terminal with a simple config and clear defaults, and include enough logging and error messages that someone can tell whether it is actually intercepting and modifying traffic. Since this is risky and still a work in progress, add obvious warnings, basic safety checks, and documentation for setup, permissions, and how to test it on a Linux machine.
If there are parts of the original behavior that are unclear, look up the zapret2 docs and current Linux networking details online if you need to, then implement the most reasonable minimal version first.
Want more depth? Deep Reverse