├── .gitignore ├── gradle.properties ├── netcore ├── .gitignore ├── build.gradle ├── libs │ ├── armeabi-v7a │ │ └── libvpncore.so │ └── x86 │ │ └── libvpncore.so ├── local.properties ├── proguard-rules.pro └── src │ ├── jni │ ├── .cproject │ ├── .project │ ├── Android.mk │ ├── Application.mk │ ├── VpnIface.cpp │ ├── bridge │ │ ├── JniBridge.cpp │ │ └── JniBridge.h │ ├── core │ │ ├── BufferQueue.cpp │ │ ├── BufferQueue.h │ │ ├── Defines.h │ │ ├── Dns.cpp │ │ ├── Dns.h │ │ ├── Error.h │ │ ├── IPAdpt.cpp │ │ ├── IPAdpt.h │ │ ├── ITunnel.h │ │ ├── PacketCapture.cpp │ │ ├── PacketCapture.h │ │ ├── Router.cpp │ │ ├── Router.h │ │ ├── Session.cpp │ │ ├── Session.h │ │ ├── TCPSession.cpp │ │ ├── TCPSession.h │ │ ├── TCPTunnel.cpp │ │ ├── TCPTunnel.h │ │ ├── UDPSession.cpp │ │ ├── UDPSession.h │ │ ├── cipher │ │ │ ├── Cipher.cpp │ │ │ ├── Cipher.h │ │ │ ├── ICoder.h │ │ │ ├── PaddingCoder.cpp │ │ │ ├── PaddingCoder.h │ │ │ ├── ShiftCoder.cpp │ │ │ └── ShiftCoder.h │ │ ├── event │ │ │ ├── Event.h │ │ │ ├── EventDispatcher.h │ │ │ ├── Result.h │ │ │ └── TestOfEvent.h │ │ └── proxy │ │ │ ├── IProxy.h │ │ │ ├── IProxyListener.h │ │ │ ├── Socks5Proxy.cpp │ │ │ └── Socks5Proxy.h │ ├── reactor │ │ ├── EpollReactor.cpp │ │ ├── EpollReactor.h │ │ └── IReactor.h │ ├── settings │ │ ├── Settings.cpp │ │ └── Settings.h │ ├── traffic │ │ ├── TrafficMgr.cpp │ │ └── TrafficMgr.h │ └── utils │ │ ├── Log.h │ │ ├── Utils.cpp │ │ └── Utils.h │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── summer │ │ └── netcore │ │ ├── BackgroundThread.java │ │ ├── Config.java │ │ ├── IPUtils.java │ │ ├── Log.java │ │ ├── NetCoreIface.java │ │ ├── ObjectPool.java │ │ ├── VpnConfig.java │ │ ├── VpnCore.java │ │ └── VpnServer.java │ └── res │ └── values │ └── strings.xml └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/.gitignore -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/gradle.properties -------------------------------------------------------------------------------- /netcore/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/.gitignore -------------------------------------------------------------------------------- /netcore/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/build.gradle -------------------------------------------------------------------------------- /netcore/libs/armeabi-v7a/libvpncore.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/libs/armeabi-v7a/libvpncore.so -------------------------------------------------------------------------------- /netcore/libs/x86/libvpncore.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/libs/x86/libvpncore.so -------------------------------------------------------------------------------- /netcore/local.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/local.properties -------------------------------------------------------------------------------- /netcore/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/proguard-rules.pro -------------------------------------------------------------------------------- /netcore/src/jni/.cproject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/.cproject -------------------------------------------------------------------------------- /netcore/src/jni/.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/.project -------------------------------------------------------------------------------- /netcore/src/jni/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/Android.mk -------------------------------------------------------------------------------- /netcore/src/jni/Application.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/Application.mk -------------------------------------------------------------------------------- /netcore/src/jni/VpnIface.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/VpnIface.cpp -------------------------------------------------------------------------------- /netcore/src/jni/bridge/JniBridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/bridge/JniBridge.cpp -------------------------------------------------------------------------------- /netcore/src/jni/bridge/JniBridge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/bridge/JniBridge.h -------------------------------------------------------------------------------- /netcore/src/jni/core/BufferQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/BufferQueue.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/BufferQueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/BufferQueue.h -------------------------------------------------------------------------------- /netcore/src/jni/core/Defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Defines.h -------------------------------------------------------------------------------- /netcore/src/jni/core/Dns.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Dns.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/Dns.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Dns.h -------------------------------------------------------------------------------- /netcore/src/jni/core/Error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Error.h -------------------------------------------------------------------------------- /netcore/src/jni/core/IPAdpt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/IPAdpt.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/IPAdpt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/IPAdpt.h -------------------------------------------------------------------------------- /netcore/src/jni/core/ITunnel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/ITunnel.h -------------------------------------------------------------------------------- /netcore/src/jni/core/PacketCapture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/PacketCapture.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/PacketCapture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/PacketCapture.h -------------------------------------------------------------------------------- /netcore/src/jni/core/Router.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Router.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/Router.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Router.h -------------------------------------------------------------------------------- /netcore/src/jni/core/Session.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Session.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/Session.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/Session.h -------------------------------------------------------------------------------- /netcore/src/jni/core/TCPSession.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/TCPSession.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/TCPSession.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/TCPSession.h -------------------------------------------------------------------------------- /netcore/src/jni/core/TCPTunnel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/TCPTunnel.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/TCPTunnel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/TCPTunnel.h -------------------------------------------------------------------------------- /netcore/src/jni/core/UDPSession.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/UDPSession.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/UDPSession.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/UDPSession.h -------------------------------------------------------------------------------- /netcore/src/jni/core/cipher/Cipher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/cipher/Cipher.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/cipher/Cipher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/cipher/Cipher.h -------------------------------------------------------------------------------- /netcore/src/jni/core/cipher/ICoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/cipher/ICoder.h -------------------------------------------------------------------------------- /netcore/src/jni/core/cipher/PaddingCoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/cipher/PaddingCoder.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/cipher/PaddingCoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/cipher/PaddingCoder.h -------------------------------------------------------------------------------- /netcore/src/jni/core/cipher/ShiftCoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/cipher/ShiftCoder.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/cipher/ShiftCoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/cipher/ShiftCoder.h -------------------------------------------------------------------------------- /netcore/src/jni/core/event/Event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/event/Event.h -------------------------------------------------------------------------------- /netcore/src/jni/core/event/EventDispatcher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/event/EventDispatcher.h -------------------------------------------------------------------------------- /netcore/src/jni/core/event/Result.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/event/Result.h -------------------------------------------------------------------------------- /netcore/src/jni/core/event/TestOfEvent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/event/TestOfEvent.h -------------------------------------------------------------------------------- /netcore/src/jni/core/proxy/IProxy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/proxy/IProxy.h -------------------------------------------------------------------------------- /netcore/src/jni/core/proxy/IProxyListener.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/proxy/IProxyListener.h -------------------------------------------------------------------------------- /netcore/src/jni/core/proxy/Socks5Proxy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/proxy/Socks5Proxy.cpp -------------------------------------------------------------------------------- /netcore/src/jni/core/proxy/Socks5Proxy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/core/proxy/Socks5Proxy.h -------------------------------------------------------------------------------- /netcore/src/jni/reactor/EpollReactor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/reactor/EpollReactor.cpp -------------------------------------------------------------------------------- /netcore/src/jni/reactor/EpollReactor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/reactor/EpollReactor.h -------------------------------------------------------------------------------- /netcore/src/jni/reactor/IReactor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/reactor/IReactor.h -------------------------------------------------------------------------------- /netcore/src/jni/settings/Settings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/settings/Settings.cpp -------------------------------------------------------------------------------- /netcore/src/jni/settings/Settings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/settings/Settings.h -------------------------------------------------------------------------------- /netcore/src/jni/traffic/TrafficMgr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/traffic/TrafficMgr.cpp -------------------------------------------------------------------------------- /netcore/src/jni/traffic/TrafficMgr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/traffic/TrafficMgr.h -------------------------------------------------------------------------------- /netcore/src/jni/utils/Log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/utils/Log.h -------------------------------------------------------------------------------- /netcore/src/jni/utils/Utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/utils/Utils.cpp -------------------------------------------------------------------------------- /netcore/src/jni/utils/Utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/jni/utils/Utils.h -------------------------------------------------------------------------------- /netcore/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/BackgroundThread.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/BackgroundThread.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/Config.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/Config.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/IPUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/IPUtils.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/Log.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/Log.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/NetCoreIface.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/NetCoreIface.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/ObjectPool.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/ObjectPool.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/VpnConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/VpnConfig.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/VpnCore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/VpnCore.java -------------------------------------------------------------------------------- /netcore/src/main/java/com/summer/netcore/VpnServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/java/com/summer/netcore/VpnServer.java -------------------------------------------------------------------------------- /netcore/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SummerOak/VpnService_android/HEAD/netcore/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':netcore' 2 | --------------------------------------------------------------------------------