Comments (11)
感觉这是 iOS 的 bug,这种事情不应该由开发者来处理。
解决办法是用 KVO 监视 defaultPath 的变化, 网络环境变化时重新 setTunnelNetworkSettings
from nekit.
不知道……
On 7 Nov 2016, at 15:36, gaotong2055 [email protected] wrote:
非常强大的工具,用来做ss代理很方便,我在ios上写一个简单的demo,配置的ss代理,启动vpn正常,也能连上。但是,在开启vpn时,系统状态栏的网络图标不会更新。比如,我开着Wi-Fi打开VPN,然后关掉Wi-Fi,正常情况下,网络图标应该显示“3G”(可以确认这时用的是3G网络),但还是显示Wi-Fi图标,关掉VPN后,图标立马恢复了正常。知道这是什么问题吗?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #25, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOmLDsQiU030eWLIn9g-m7J_iMPJtt-ks5q7tTvgaJpZM4Kq6pR.
from nekit.
@gaotong2055 能看看你的iOS Demo吗! 最近也在研究。
from nekit.
没有iOS demo
2016年11月7日 +0800 17:20 YzsXQ [email protected],写道:
@gaotong2055 (https://github.com/gaotong2055) 能看看你的iOS Demo吗! 最近也在研究。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#25 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABOmLFlFOvsqTA6tkuCIoIpX2-wtK8lQks5q7u1ugaJpZM4Kq6pR).
from nekit.
开了 tun 会有这个问题
from nekit.
这个问题 我也遇到了 ..
from nekit.
显然和NEKit是无关的,你们可以继续讨论
from nekit.
找到问题了,关了这个就没事了,原因是?谁来解答下,多谢!
if enablePacketProcessing {
let DNSSettings = NEDNSSettings(servers: ["198.18.0.1"])
DNSSettings.matchDomains = [""]
DNSSettings.matchDomainsNoSearch = false
networkSettings.DNSSettings = DNSSettings
}
from nekit.
不是这个吧
from nekit.
不知道,反正是work了,不知道这个DNSSettings怎么用
from nekit.
我刚才测试了一下 不行 啊..难道 删除 App 在测试
from nekit.
Related Issues (20)
- 使用NEKit能否完全使用tcp/udp的方式去代理呢? HOT 2
- 关于dns转发的疑问 HOT 15
- nekit vpn打开之后 微信,qq 这种基于socket做的通信类app都无法访问
- 请问支持V2ray vmess协议吗? HOT 3
- 我设置全局走代理,ios12正常,ios13偶尔不走代理
- 编译报错(Module 'NEKit' was created for incompatible target x86_64-apple-macos10.11:) HOT 2
- support SSR? HOT 1
- mayday mayday telegram连接的问题 HOT 2
- is there any plan to support AES256GCM?
- xcode11.2.1 telegram socks5代理连接失败 HOT 3
- Question HOT 2
- How to support aes-256-gcm? HOT 2
- xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH HOT 1
- 新手问一下怎么打包带CHACHA20POLY1305的项目 HOT 1
- 求助HTTPS代理怎么设置呢? HOT 29
- 你好,我试用NEkit 软件在后台经常遇到Crashed HOT 11
- 这个框架能链接V2ray吗
- Fails when `Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj` HOT 5
- 升级到最新的NEKit ,iOS和MacOS上连接正常的SS都是先连接成功然后过几秒就断开 HOT 6
- 连接几次后,打开网络或者请求VPN就会断开,请问什么原因 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nekit.