GithubHelp home page GithubHelp logo

whitemike889 / socksdroid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petercxy/socksdroid

1.0 0.0 0.0 3.28 MB

License: GNU General Public License v3.0

Shell 0.69% Groovy 0.38% Java 0.01% Makefile 2.59% CMake 0.51% C 89.10% Roff 0.58% C++ 1.41% PHP 0.93% Yacc 0.57% Objective-C 0.34% Lex 0.06% HTML 2.51% Perl 0.32%

socksdroid's Introduction

SocksDroid

SOCKS5 client for Android 5.0+ making use of the VpnService API and tun2socks so that it works without root permission (unlike ProxyDroid).

Most of the JNI code are imported from shadowsocks-android project because they have already done most of the work.

THIS IS NOT A SHADOWSOCKS CLIENT! SOCKS5 IS NOT SHADOWSOCKS!

UDP Forwarding

As tun2socks does not support UDP associate but has its own implementation of UDP forwarding badvpn-udpgw, so it is needed that the udpgw daemon run on remote server to use UDP forwarding.

On remote server

badvpn-udpgw --listen-addr 127.0.0.1:7300

And set UDP Gateway in this app to 127.0.0.1:7300

DNS

If the server does not run udpgw, DNS lookups can also be processed in this app.

It makes use of the TCP DNS feature of pdnsd. You just set a DNS server that supports TCP DNS in this app, and all DNS requests will be transformed into TCP queries.

Routing

The app has an embedded list of non-Chinese IPs. Chinese users can make use of it for best experience in bypassing GFW.

GFW

Note that SOCKS5 is currently blocked by the GFW, which means Chinese users cannot connect to any SOCKS5 servers outside China.

But there are still solutions. For example, use stunnel to wrap the SOCKS5 connection with SSL. See my project stunnel-android for usage on Android.

License

This project is licensed under GNU General Public License Version 3 or later.

socksdroid's People

Contributors

petercxy avatar harry-chen avatar

Stargazers

Michael T Hickman avatar

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.