shadowsocksr-live / ishadowsocksr Goto Github PK
View Code? Open in Web Editor NEWShadowsocksR (SSRoT) client for iOS
License: GNU General Public License v3.0
ShadowsocksR (SSRoT) client for iOS
License: GNU General Public License v3.0
iOS 的 NetworkExtension 里是没有 Socks5 设置的,只有 http proxy 和 https proxy 这两个设置。
并不像 macOS 使用 networksetup 可以设置 socks5 proxy。
那么应用层如何发送 socks5 的包给 PacketTunnel,然后 PacketTunnel 再转发给远端服务器?
我在使用 NetworkExtension 的过程中,只收到 HTTP CONNECT 的包,并没有收到 socks5 的包。
如题,设置GeoIp cn DIRECT无效,其他的action也无效,求大佬回答一下
'openssl/pkcs7.h' file not found
after checks, this issue seems related to specific MacOs Mojave 10.14.3 version.
Tried to the solution to reinstall the headers on stackoverflow and it doesn't work in my case.
Just leave a trace in case someone knows how to fix.
Can't compile C program on a Mac after upgrade to Mojave
120:6211: fatal error: :fatal error11fatal error: : 'stdlib.h' file not found#include <stdio.h>
'stdlib.h' file not found
大牛,添加了ss和ssr节点,点击连接都没有任何反应
framework not found YAML
global-mode 为1 的情况下无法发送消息(其实软件本身发送消息是不需要翻墙的),global-mode为0即可。问题应该出在TCP
整理一下目前遇到的问题、以及解决方法:
1、WhatsApp无法连接, DNS被污染了,可以自己建立一个dns,然后指定这个试试,我这是这样解决的。
2、WhatsApp、微信等无法发送“大(超过5s)”视频,有概率发送失败,因为sslocal发送数据的时候,发生黏包现象,自行简单处理一下就行了。
3、无法语音、视频,项目上还没有支持UDP的转发,自己改一下,支持UDP转发就行了。
4、代理规则在浏览器中生效,但是在一些应用的ip包中不生效,正在解决。
5、无法连接Snapchat,没找到问题 😢。
欢迎大家一起交流解决问题。
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 一直提示 '连接中...'
The app begin run,I found the http.xxx file will write to APPGroup.but i find noting code to save http.xxx file.
看代码 调用的 ssr-native 请问是支持udp转发么
Implicit declaration of function 'OpenSSL_add_all_digests' is invalid in C99
Implicit declaration of function 'EVP_cleanup' is invalid in C99
在代理中 只能添加 ss 与 ssr 类型的代理 ,我想添加 http proxy 的代理 如何添加
按介绍 一步步来的,最后进xcode build时出错
我是xcode 9.3, pod 1.5.0
不知道哪里的问题,求教
在进行Build过程中,在API.swift中提示两处异常。小白有点不知道怎么办,求大佬帮忙看下可以嘛~ 感激不尽。
/GitHub/iShadowsocksR2/Potatso/Core/API.swift:65:12: Initializer for conditional binding must have Optional type, not '[Rule]'
/GitHub/iShadowsocksR2/Potatso/Core/API.swift:255:20: Initializer for conditional binding must have Optional type, not '[T]'
另外之前在build时 Cartography 也有异常,手动修改了pod中的版本后就没有提示了。。。 Xcode版本 9.3 9.2都有试过了~ 谢谢
现在shadowsocks官网最推荐的加密方式已经变成了AEAD这种方式了:https://shadowsocks.org/en/spec/AEAD-Ciphers.html
Name | Alias | Key Size | Salt Size | Nonce Size | Tag Size |
---|---|---|---|---|---|
AEAD_CHACHA20_POLY1305 | chacha20-ietf-poly1305 | 32 | 32 | 12 | 16 |
AEAD_AES_256_GCM | aes-256-gcm | 32 | 32 | 12 | 16 |
AEAD_AES_192_GCM | aes-192-gcm | 24 | 24 | 12 | 16 |
AEAD_AES_128_GCM | aes-128-gcm | 16 | 16 | 12 | 16 |
请问能尝试支持一下AEAD加密方式吗?谢谢~
终于编译成功,但是发现并没有提供SSR Protocol Param的设置
原版之前的shadowsocks-libev库确实比较老,不支持各种参数和加密方式
但是这个版本所有库都是最新的了,是可以支持Protocol Param的,不知大神有没有兴趣加上?
我已经运行成功了,看了底层的代码逻辑,发现有一个默认配置TCP_ONLY, 以为把它改成UDP_ONLY就能实现全局代理了,结果发现不行。
打印日志如下:
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -arch x86_64 -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fembed-bitcode -miphoneos-version-min=7.0 -arch x86_64 -O3 -DL_ENDIAN -Wall -c -o obj_err.o obj_err.c
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -arch x86_64 -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fembed-bitcode -miphoneos-version-min=7.0 -arch x86_64 -O3 -DL_ENDIAN -Wall -c -o obj_xref.o obj_xref.c
ar r ../../libcrypto.a o_names.o obj_dat.o obj_lib.o obj_err.o obj_xref.o
ar: ar: creating archive ../libcrypto.a
../../libcrypto.a: Inappropriate file type or format
make[2]: *** [lib] Error 1
make[1]: *** [subdirs] Error 1
make[1]: *** Waiting for unfinished jobs....
test -z "" || ar r ../libcrypto.a fipscanister.o
/usr/bin/ranlib ../libcrypto.a || echo Never mind.
make: *** [build_crypto] Error 1
我在local.c中增加bypass-china.acl配置文件, 发现没有效果, baidu.com还是不能直连, 是什么原因呢
int ssr_local_main_loop(const struct server_config *config, const char * _Nullable aclpath, void(*feedback_state)(struct ssr_local_state *state, void *p), void *p) {
if (aclpath != NULL && strlen(aclpath) != 0) {
acl = !init_acl(aclpath);
}
Utils/Receipt.m 编译到最后报错。
Mac 10.14.5 (18F132)
Xcode Version 10.1 (10B61)
pod 1.7.3
执行过libssl.sh了,全盘改过id了。最后编译报这个,不太会,感谢大佬指点问题在哪
Implicit declaration of function 'OpenSSL_add_all_digests'
Implicit declaration of function 'EVP_cleanup'
./build-libssl.sh --version=1.1.0f
Build options
OpenSSL version: 1.1.0f
Targets: ios-sim-cross-x86_64 ios-sim-cross-i386 ios64-cross-arm64 ios-cross-armv7s ios-cross-armv7 tvos-sim-cross-x86_64 tvos64-cross-arm64
iOS SDK: 12.1
tvOS SDK: 12.1
Number of make threads: 8
Configure options: no-deprecated
Build location: /Users/maji/Documents/git/iShadowsocksR/Library/openssl
Downloading openssl-1.1.0f.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5154k 100 5154k 0 0 571k 0 0:00:09 0:00:09 --:--:-- 798k
Building openssl-1.1.0f for iPhoneSimulator 12.1 x86_64...
Logfile: /Users/maji/Documents/git/iShadowsocksR/Library/openssl/bin/iPhoneSimulator12.1-x86_64.sdk/build-openssl-1.1.0f.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.0f for iPhoneSimulator 12.1 i386...
Logfile: /Users/maji/Documents/git/iShadowsocksR/Library/openssl/bin/iPhoneSimulator12.1-i386.sdk/build-openssl-1.1.0f.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.0f for iPhoneOS 12.1 arm64...
Logfile: /Users/maji/Documents/git/iShadowsocksR/Library/openssl/bin/iPhoneOS12.1-arm64.sdk/build-openssl-1.1.0f.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.0f for iPhoneOS 12.1 armv7s...
Logfile: /Users/maji/Documents/git/iShadowsocksR/Library/openssl/bin/iPhoneOS12.1-armv7s.sdk/build-openssl-1.1.0f.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.0f for iPhoneOS 12.1 armv7...
Logfile: /Users/maji/Documents/git/iShadowsocksR/Library/openssl/bin/iPhoneOS12.1-armv7.sdk/build-openssl-1.1.0f.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.0f for AppleTVSimulator 12.1 x86_64...
Logfile: /Users/maji/Documents/git/iShadowsocksR/Library/openssl/bin/AppleTVSimulator12.1-x86_64.sdk/build-openssl-1.1.0f.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.0f for AppleTVOS 12.1 arm64...
Logfile: /Users/maji/Documents/git/iShadowsocksR/Library/openssl/bin/AppleTVOS12.1-arm64.sdk/build-openssl-1.1.0f.log
Configure...
Make (using 8 thread(s))...
Build library for iOS...
Build library for tvOS...
希望可以支持chacha20-ietf-poly1305协议
whatsapp TG 微信 都无法发送影音 文件
我真机调试 加密方式选chacha20 协议选auth_aes128_md5 混淆选tls1.2_ticket_auth 能正常打开外网。打包发布之后 这配置 网页打开 报错。但是我把配置改成 rc4-md5 origin plain 能正常访问。什么原因 求助!!!
在国外,看爱奇艺视频, 打开视频发现视频显示地理限制无法观看,
配置**服务器后,添加规则如下:
DomainMatch, iqiyi, Proxy
发现没有起作用,有什么解决的办法吗?
建议这样写
[self.udpSocket sendData:outData toHost:destHost port:ntohs(udphdr->dest) withTimeout:-1 tag:0];//443
RT
请问编译的时候出现这个错误'iShadowsocksR-Swift.h' file not found,怎么解决,谢谢
老铁,首先感谢你能提供个能成功开启vpn的版本,我这个ssr服务器账号在mac在用的,添加到potatso后,在开启vpn却无法联网,这是怎么处理好呢?
都是有关ssr-native这个后端的。
第一个就是测速会有瓶颈30Mbps左右,别家软件能跑满(开代理的情况)
第二就是speedtest上传测速的时候,上传到一般显示测速错误。可能跟之前有人说明的ins和youtube上传也相关。
第三个就是直连的时候也是跑不满宽带,200Mbps只能跑到100Mbps,别家没有问题。
希望大佬能解决下,谢谢
openssl git:(bc0adc8) ./build-libssl.sh
Build options
OpenSSL version: 1.0.2l
Architectures: x86_64 i386 arm64 armv7s armv7 tv_x86_64 tv_arm64
iOS SDK: 11.4
tvOS SDK: 11.4
Number of make threads: 8
Build location: /Users/David/Desktop/FQ/iShadowsocksR/Library/openssl
Using openssl-1.0.2l.tar.gz
Building openssl-1.0.2l for iPhoneSimulator 11.4 x86_64...
Logfile: /Users/David/Desktop/FQ/iShadowsocksR/Library/openssl/bin/iPhoneSimulator11.4-x86_64.sdk/build-openssl-1.0.2l.log
Configure...
Patching Makefile...
Make (using 8 thread(s))...
Problem during make - Please check /Users/David/Desktop/FQ/iShadowsocksR/Library/openssl/bin/iPhoneSimulator11.4-x86_64.sdk/build-openssl-1.0.2l.log
log的结果
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: ../../libcrypto.a(ec_key.o) size too large (archive member extends past the end of the file)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
make[2]: *** [lib] Error 1
make[1]: *** [subdirs] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build_crypto] Error 1
你好 編譯的時候出現了好幾個問題
請問一下你有telegram聯繫方式嗎?
有償請教 感謝🙏
怎么在手机上写一个指定app走指定代理的规则,基于你当前的项目
非常感谢
xcode版本 10.1 以及 10.21
运行项目,utils下的Receipt.m 报错
Implicit declaration of function 'OpenSSL_add_all_digests' is invalid in C99
偶尔能连接上,偶尔连接不上这些软件,很奇怪,线路没有问题,另一台安卓设备一直在连接。
打印日志,发现如下错误。
NFO(tun2socks): 00003 (157.240.15.54:5222 192.0.2.1:52505): client_recv_func client received (4096)
INFO(tun2socks): 00003 (157.240.15.54:5222 192.0.2.1:52505): client closed
DEBUG(BSocksClient): received reply rest
DEBUG(BReactor): Got already expired timers
查看日志一直提示“start proxy: shadowsocks error: timeout”。代理服务器没问题,自己搭建的和第三方的都试过,这些代理服务在 macOS 上都是可以连接的。
我编译Potatso是无法使用抖音/虾米音乐的App,只有关闭代理,才能正常使用
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.