Giter Site home page Giter Site logo

alex4386-vault / kr-censorship-190211 Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 133 KB

Check your network was influenced by ServerName based censorship deployed at KT on 2019-02-11

License: Do What The F*ck You Want To Public License

TypeScript 53.03% HTML 46.97%

kr-censorship-190211's Introduction

KR-censorship-190211

Check your network was influenced by ServerName based censorship deployed at KT on 2019-02-11

What? Censorship?

Since 2019-02-11, KT started to censor the HTTPS traffic with ServerName header (host:) which is usually used in identifying ServerName in VirtualHosts
Since 2019-02-12, Korea Communications Commission openly admitted that they will censor the HTTPS traffic. Official Tweet from KCC
This software is for detecting any censoring system by sending a HTTPS request to google.com with modified servername in ServerHello Request or host header

According to the inspection of perillamint, KT is sending TCP RST when it's serverName is in the blocked site list.

So what does this script do?

This script first downloads the blocked url list from firebase firestore database.
(will fallback to offline.ts if there is no internet connection, since KCC is bullshit enough to block GitHub)
And then the script sends a request to google server with downloaded fake serverNames to trigger blocking system.
if you are not influenced by this censorship, you should get invalid cert error from google server since it is not in the certificate alt-name list:
but if you are influenced, your request will be dropped.

OK, How can I run it?

Compile and Run it by yourself

First, install some dependencies by npm install,
Then, start the script via command npm start

Create a precompiled program by yourself

install pkg from npm via npm install pkg
and run npm run-script build-release

Use Precompiled Program

Go to Releases to download precompiled binary. (Windows, macOS, Linux for x64 Systems only)

Technologies used

  • Typescript, JavaScript that scales!
  • request, Easy to use http request library
  • Node.JS, A JavaScript Runtine built on V8 Engine
  • Firebase, A liberator of backend-developers

Contributors

License

WTFPL

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.