Skip to content
/ sepcvpn Public

socks5 on android { implement addAllowedApplication functionality below API level 21 }

Notifications You must be signed in to change notification settings

ymmuse/sepcvpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

sepcvpn

Only support tcp stream for now

Build

ndk-build -C ./jni

Expose API in java

    // onNetTrafficChange will be called in jni
    public void onNetTrafficChange(long up, long down) {
    
    }

    public native void startVPN(int fd, String localAddress, String srvAddress, int srvPort , String method, String srvPWD);
    public native void stopVPN();

    // you need to find app uid to want 'Allowed' or 'Disallowed'
    public static native void addAllowedApplication(int appUID);
    public static native void addDisallowedApplication(int appUID);

About

socks5 on android { implement addAllowedApplication functionality below API level 21 }

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published