Git Product home page Git Product logo

shadowvpn-ios's Introduction

Removed according to regulations.

shadowvpn-ios's People

Contributors

clowwindy 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  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  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

shadowvpn-ios's Issues

compile failed

尝试用 xcode 运行,遇到下面错误,是不是必须要开发者 ID 才能跑?
No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: keychain-access-groups, com.apple.developer.networking.vpn.api, get-task-allow, com.apple.developer.team-identifier, com.apple.developer.networking.HotspotHelper, application-identifier, com.apple.security.application-groups, com.apple.developer.networking.networkextension.

QRCode

shadowvpn://BASE64_DATA

BASE64_DATA = base64({
    "server": "server_ip",
    "port": "1xxx",
    "usertoken": "hex",
    "ip": "10.7.0.2",
    "subnet": "255.255.0.0",
    "dns": "8.8.8.8"
})

Integrate ChinaDNS

Creating a DNS server running at local:53 is not a good idea. We'll hijack DNS packets and do the trick.

Issue regarding tunnel server

Hi,

I would like to know that are you running the tunnel server on your Mac machine?
This question is bugging me alot.

Waiting for your response.

Thanks

TODO

Network

  • Support NAT
  • Add CHNRoutes
  • Add ChinaDNS
  • Handle Reachability changes (in VPN and ChinaDNS)
  • Handle IP change (in VPN and ChinaDNS)
  • Make VPN extension reusable (won't start a new process every time)
  • Add bestroutetb (really necessary?)

UI

  • Main
  • Detail
  • Add connection control in app
  • Add alert for delete button
  • Validate configuration
  • Add selection for Route configuration
  • Add duplicate button
  • Hide password in UI
  • Add QRCode
  • Add Today widget
  • Add log viewer

URI scheme

Add URI scheme like Anyconnect

Here is a draft:

shadowvpn://create/?data=BASE64_DATA
shadowvpn://create/?name=Descript&server=Addr&port=1234&...&onsuccess=URL&onerror=URL
shadowvpn://connect/?name=Description&host=ServerAddress&onsuccess=URL&onerror=URL
shadowvpn://disconnect/?onsuccess=URL&onerror=URL
shadowvpn://close

example:
shadowvpn://create/data=BASE64_DATA?onsuccess=shadowvpn%3A%2F%2Fconnect%2F?name=Tokyo1
Create Tokyo1 and connect to Tokyo1 if success.
shadowvpn://connect/name=Tokyo1?onsuccess=shadowvpn%3A%2F%2Fclose
Connect to Tokyo1 and close the app if success.
shadowvpn://connect/name=Tokyo1?onsuccess=twitter%3A%2F%2F
Connect to Tokyo1 and open Twitter if success.

Then we can combine shadowVPN with many Launcher apps / javascript codes / many interesting thins.

CHNRoutes

We might need to optimize the routing table.

Adding UI

Will pixel level copy from iOS VPN settings.

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.