Giter VIP home page Giter VIP logo

antirtdpi's Introduction

AntiRTDPI

macOS kernel extension helping to neutralise Rostelecom's passive DPI. Simple and dirty. Tested on macOS Sierra 10.12.6.

It is an IP Filtering Network Kernel Extension (NKE). It blocks packets being sent by Rostelecom when you're trying to access website blocked in Russia. It uses simple and stupid search criteria based on beginning of such packets.

Build

Just open AntiRTDPI.xcodeproj in Xcode and build it!

Install

To use it you need to disable System Integrity Protection feature (do it at your own risk!):

  1. Reboot your Mac
  2. When your computer turns off hold down command+R to boot into Recovery System.
  3. Now, you need to click on the Utilities menu and choose Terminal.
  4. Up next, you will have to type csrutil disable and press return.
  5. Close the Terminal app.
  6. Restart your Mac.

Now, you should move AntiRTDPI.kext file to /Library/Extensions folder as a root - it is very important. Just open Terminal and execute this command:

sudo cp -R <path to AntiRTDPI.kext> /Library/Extensions

Usage

To load kernel extension execute this command:

sudo kextload /Library/Extensions/AntiRTDPI.kext

Note: if you see /Library/Extensions/AntiRTDPI.kext failed to load - (libkern/kext) dependency resolution failure; check the system/kernel logs for errors or try kextutil(8) error message you should update kext's dependencies and rebuild it. To update kext's dependencies execute kextlibs -xml /Library/Extensions/AntiRTDPI.kext, copy output, open project's Info.plist file and replace <key>OSBundleLibraries</key><dict>...</dict> section with copied output. Then rebuild project and use new kext file.

To unload execute this command:

sudo kextunload /Library/Extensions/AntiRTDPI.kext

Enjoy it! If you experience any issues or have suggestions - I'll be glad to hear you!

antirtdpi's People

Contributors

dzhidzhoev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

antirtdpi's Issues

/Library/Extensions/AntiRTDPI.kext failed to load

I've got the next error. Integrity protection disabled. What can be a reason?
/Library/Extensions/AntiRTDPI.kext failed to load - (libkern/kext) dependency resolution failure; check the system/kernel logs for errors or try kextutil(8).

Doesn't filter DPI packets for Onlime (subsidiary of Rostelecom)

Unfortunately this doesn't seem to work for Onlime provider, which is a subsidiary of RT.
Still getting redirected to warning.rt.ru. Suspecting that bytes might be slightly different for Onlime.
Any hint on how to catch a DPI packet in order to analyze it?

Tested on 10.13.6, kext seems to initialize fine according to Console.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.