iShadowsocksR
iShadowsocksR copied to clipboard
ShadowsocksR (SSRoT) client for iOS
域名匹配
public enum ProxyRuleType: String { case URLMatch = "URL-MATCH" case URL = "URL" case Domain = "DOMAIN" case DomainMatch = "DOMAIN-MATCH" case DomainSuffix = "DOMAIN-SUFFIX" case GeoIP = "GEOIP" case...
在不开启VPN情况 ping节点IP有响应 开启VPN服务后在app内ping节点IP收不到响应 请问是哪块问题
 ``` https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_adb.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_banlist_ad.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_banlist.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_whitelist_ad.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_whitelist.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_backcn_ad.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_backcn.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_cnip_ad.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_cnip.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_direct_banad.conf https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_proxy_banad.conf ``` 添加了代理规则 还是 无法使用,whatsApp 一直提示 '连接中...'
1. 先说whatsapp的问题,出现一直连接中,但是过了很久又能连接上的原因还是因为dns污染的问题导致的,但是g.whatsapp.net这个域名可以解析到好几个ip。如果刚好能解析到正确的ip的话,就会可以连接上。 解决思路参考以下2个 https://blog.chute.life/2021/04/27/Enhance-Chute-iOS-To-Against-DNS-Cache-Poisoning/ https://github.com/ShadowsocksR-Live/iShadowsocksR/issues/38#issuecomment-737862776 引入netkit,但是只使用里面的dnsserver模块,把需要丢给ssr做远程域名解析的,设置一个fakeip。然后在tun2sock里面在转换为socket5的时候把域名还原回去,tun2sock要修改的地方是在BsocksClient.m 里面的void auth_finished (BSocksClient *o)方法。需要注意header的atyp必须是3,ssr才能把域名传输到远程做dns解析 https://guiyongdong.github.io/2017/12/09/Socks5%E4%BB%A3%E7%90%86%E5%88%86%E6%9E%90/ 这个是sock5代理协议的分析。把dns的问题解决之后,whatsapp就可以正常连接使用了。 还有最后一个要处理,就是要把Antinat给移除掉,这个sock5的库在这里是多余的。ssr本来就是sock5协议,没必要用Antinat再转一层。如果不去掉的话,ssr没办法走远程域名解析 2. http的流量不知道什么原因没有进入privoxy而是直接过了tun2sock, 查了很长时间不知道什么原因。这个会导致一个问题。像国内的很多app,微信,京东等都有不少的http流量。如果没过Privoxy的话,就无法做规则分流, 导致这些流量过了代理,所以有些国内的app访问就会慢。https的流量是可以正常过Privoxy的,明明已经设置了http的代理端口,但是实际却没有起作用。看看有没有哪位大神可以分析一下 proxySettings.HTTPEnabled = YES; proxySettings.HTTPServer = [[NEProxyServer alloc] initWithAddress:proxyServerName port:proxyServerPort]; proxySettings.HTTPSEnabled = YES; proxySettings.HTTPSServer...
整理一下目前遇到的问题、以及解决方法: 1、WhatsApp无法连接, DNS被污染了,可以自己建立一个dns,然后指定这个试试,我这是这样解决的。 2、WhatsApp、微信等无法发送“大(超过5s)”视频,有概率发送失败,因为sslocal发送数据的时候,发生黏包现象,自行简单处理一下就行了。 3、无法语音、视频,项目上还没有支持UDP的转发,自己改一下,支持UDP转发就行了。 4、代理规则在浏览器中生效,但是在一些应用的ip包中不生效,正在解决。 5、无法连接Snapchat,没找到问题 😢。 欢迎大家一起交流解决问题。
If you meet the error ``` The linked framework 'Pods_iShadowsocksR.framework' is missing one or more architectures required by this target: armv7. ``` you must set the build target to `iOS`...
whatsapp TG 微信 都无法发送影音 文件
 What does it means and how we can overcome this ? Tried solutions 1.The target was 11.0 everywhere , i have updated too...
我看没地方添加 acl文件配置啊