cary-sas / v2ray_bin Goto Github PK
View Code? Open in Web Editor NEWThis project forked from shuishou4184/v2ray_bin
梅林380 固件的魔改科学上网插件
This project forked from shuishou4184/v2ray_bin
梅林380 固件的魔改科学上网插件
固件为tb梅林380
使用的是V2ray/xtls 节点,该节点在其它的机器上已经被证明可用
在节点管理页面下,ping 测试和web测试也都通过了
模式为大陆白名单模式
在DNS设定中,无论选择哪种国外DNS,均不能实现科学上网
在插件界面国外链接为x,浏览器中也无法科学上网
如题,期待大神满足下菜鸟的愿望。增加AX86U梅林固件版本的科学上网插件包。
因部分路由器的内存容量有限,为256M内存。在某项极端大流量下载或观看4K视频时,容易导致V2RAY进程或XRAY因GOGC被强制终止,增加守护进程可完成自启动。
我已提交了部分自启动脚本,希望修改完善,Thx~
更新规则时候有出现OpenSSL问题,更换白名单模式也是一样的情况。
以下为具体信息:
【2021年10月27日 21:34:34】: 开始更新shadowsocks规则,请等待...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
【2021年10月27日 21:34:36】: 没有检测到在线版本,可能是访问github有问题,去大陆白名单模式试试吧!
XTLS/Xray-core#1295
Xray core 1.6.2版本开始就已经支持了,只需要在插件界面中启用即可
wulabing的vmess+ws+tls节点,
之前用ss插件旧版本4.22不能连接,更新v2Ray插件v2ctl和v2ray到4.45之后就可以连接并正常使用了。
用cloudflare仅仅做了域名解析,没有proxy IP。
更新到4.37.1之后就不能连接,又设置了一台vless+ws+tls的xRay,也一样无法连接。国外链接是断的
请问怎么解决?
弱弱的问一下梅林386固件可用么
你好,请问r7000 的trojan go 怎么都不能用,其他的全部正常,请问问题出现在哪的?谢谢
R7000 梅林380.70_0-X7.9.1 固件。机场节点不稳定的时候,插件会导致cpu占用100%无法恢复。只有重启路由器才能恢复。
机场节点会不定时炸,要是有个自动切换节点就好了,类似openwrt里那种
请问我shadowrocket可以连上的,
但是这个连不上,应该如何设置xray?
加密方式
伪装类型
SNI
怎么设置?
我 vless , tcp / xtls / xtls-rprx-direct都设置了。
服务器搭的trojan,电信网络,
想问一下大佬,是支持380及以上固件还是仅支持380呀?目前大部分华硕固件应该都更新到了386
请问路由器开启IPV6是否会影响科学上网?此插件是否支持IPV6?
🙏🏻谢谢!
请问支持华硕的AC86U么
好像是添加的SmartDNS的问题,不用SmartDNS似乎好些,还在测试中
服务端都是启用了tls安全传输协议的,用V2rayN等客户端连接时也都是强制证书认证没有问题的(允许不安全 选择否)
但路由器用的4.35.6版本节点设置里必须选允许不安全才能连网
想问下这是什么原因呢?会不会影响安全性啊
/tmp中的log显示
[ERROR] 2022/12/15 11:33:03 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:66 proxy failed to dial connection | websocket failed to handshake with server | malformed HTTP response "\x00\x00\x12\x04\x00\x00\x00\x00\x00\x00\x03\x00\x00\x01\x00\x00\x04\x00\x01\x00\x00\x00\x05\x00\xff\xff\xff\x00\x00\x04\b\x00\x00\x00\x00\x00\x7f\xff\x00\x00\x00\x00\b\a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"
但是同样的节点配置在merlin clash, 手机V2rayNG上, win 版V2rayN, 都可以连上。
服务器SSL申请已经切换成Zerossl.
netstat: showing only processes with your user ID
【2022年10月09日 20:55:46】: 使用常规网络下载...
【2022年10月09日 20:55:46】: ===================================================================
【2022年10月09日 20:55:46】: xray程序更新(Shell by sadog)
【2022年10月09日 20:55:46】: ===================================================================
【2022年10月09日 20:55:46】: 检测xray最新版本...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 4 0 0:00:01 0:00:01 --:--:-- 5
【2022年10月09日 20:55:48】: 检测到xray最新版本:v1.6.0
Segmentation fault
【2022年10月09日 20:55:48】: 当前已安装xray版本:v
versioncmp str1 str2
Segmentation fault
【2022年10月09日 20:55:48】: xray已安装版本已经是最新,退出更新程序!
【2022年10月09日 20:55:48】: ===================================================================
设备:R7000
固件:380.70_0-X7.9.1
运行一段时间后就显示内存不足,然后xray进程被杀
我看内存明明还没用到一半,不知道他有什么好杀的
Jul 18 11:42:55 kernel: Out of memory: Kill process 2984 (xray) score 637 or sacrifice
Jul 18 11:42:55 kernel: Killed process 2984 (xray) total-vm:813656kB, anon-rss:170716kB, file-rss:0kB
@r7000:/tmp/home/root# free -m
total used free shared buffers cached
Mem: 255716 104228 151488 0 1704 8192
-/+ buffers/cache: 94332 161384
Swap: 0 0 0
因为我那个机场很多节点 访问youtube都要延迟15秒,但有些节点只需要0.几秒,所以这个测试youtube连接时长的功能很是刚需啊
通过订阅链接更新的节点上不了网络,但是把节点单独填写上去就可以上网.
请问这是什么原因呢 ?
在V2Ray服务端看access日志,其中有大量 XXXXXX accepted tcp:1.0.0.1:853 [proxy] 和 XXXXXX accepted tcp:1.1.1.1:853 [proxy]
查了853端口是DNS over TLS,但在设置界面好像并没有启用DNS over TLS的设置。是否是程序里有什么东西会一直在检测吗?
谢谢
使用的第三方机场订阅地址,应该使用哪个版本的才能和使用v2rayN一样。
我的AC88U固件升级386了。降不下了。
fancyss他们的科学上网插件太落伍了
只支持SS、SSR、VMESS。
但我搞的都是VLESS科学上网协议。
专门为他搭建个VMESS在v2rayN可以上。在他上面不能行。
大佬能升级下程序吗?
https://github.com/gfw-report/trojan-go
该repo中使用utls库将客户端指纹与常用浏览器一致。
配置文件生成部分可不做修改,默认是chrome指纹。
服务端和客户端版本都升级为最新的V2ray 4.45.2,但国外网站无法打开打开,同样的配置在手机端上正常。进而去研究是否是转发的问题,通过修改配置文件增加v2ray_access_log配置,发现里面是有数据的,但是时间却和当前路由器上的时间相差的8个小时:
2022/06/24 05:53:44 192.168.50.195:6335 accepted tcp:172.67.200.185:443 [agentout]
2022/06/24 05:53:44 tcp:127.0.0.1:53794 accepted tcp:8.8.8.8:53 [agentout]
2022/06/24 05:53:44 tcp:127.0.0.1:53793 accepted tcp:8.8.8.8:53 [agentout]
2022/06/24 05:53:44 tcp:127.0.0.1:53792 accepted tcp:8.8.8.8:53 [agentout]
2022/06/24 05:53:44 192.168.50.195:6334 accepted tcp:34.225.234.66:443 [agentout]
2022/06/24 05:53:45 10.146.204.157:43313 accepted udp:191.96.185.46:22170 [agentout]
实际时间应该是13点53分,在路由器上用xshell登录并用date命令查看发现时间日期也是正确,但为嘛会写日志时出现时间不对呢?
另外是否因为这问题导致无法连接??
现在外网是x子。需要在路由器哪里特殊设置吗?
good mod, keep it up !
你好,我使用最新的4.36.5,还是连不上trojan
最普通的trojan,我用shadowrocks可以连上的。但是路由器上设置后,国外连接显示断掉的。
服务器日志:
Aug 27 03:20:35 open-drum-1 trojan[192607]: [2022-08-27 03:20:35] [ERROR] x.x.x.x:45857 SSL handshake failed: sslv3 alert bad certificate
Aug 27 03:20:35 open-drum-1 trojan[192607]: [2022-08-27 03:20:35] [INFO] x.x.x.x:45857 disconnected, 0 bytes received, 0 bytes sent, lasted for 0 seconds
Would you please upgrade kcptun to the latest version?
请问这个支持支持AC86U么
【2021年10月05日 20:19:36】: =======================================================
【2021年10月05日 20:19:36】: 检测到离线安装包:shadowsocks.tar.gz 含非法关键词!!!
【2021年10月05日 20:19:36】: 根据法律规定,koolshare软件中心将不会安装此插件!!!
【2021年10月05日 20:19:36】: 删除相关文件并退出...
【2021年10月05日 20:19:36】: =======================================================
能添加SS+simple obfs吗
订阅中Trojan的密码包含冒号时候会解析失败
如题,这是怎么回事呀?
走的是自定义json的方式
{
"outbounds": [{
"protocol": "vmess",
"settings": {
"vnext": [{
"address": "1.1.1.1",
"port": 8888,
"users": [{
"alterId": 64,
"id": "b12614c5-5ca4-4eba-a215-c61d642116ce"
}]
}]
},
"proxySettings": {
"tag": "transit"
}
},
{
"protocol": "shadowsocks",
"settings": {
"servers": [{
"address": "2.2.2.2",
"method": "aes-256-cfb",
"ota": false,
"password": "password",
"port": 1024
}]
},
"tag": "transit"
}]
}
-----日志-----
【2023年02月05日 11:51:48】: ======================= 梅林固件 - 【科学上网】 ========================
【2023年02月05日 11:51:48】:
【2023年02月05日 11:51:48】: ------------------------- 启动【科学上网】 -----------------------------
【2023年02月05日 11:51:49】: 删除ss相关的名单配置文件.
【2023年02月05日 11:51:49】: 重启dnsmasq服务...
【2023年02月05日 11:51:50】: 清除iptables规则和ipset...
【2023年02月05日 11:51:52】: 创建ipset名单
【2023年02月05日 11:51:52】: 自动判断使用国内优先模式,不加载cdn.conf
【2023年02月05日 11:51:52】: 创建gfwlist的软连接到/jffs/etc/dnsmasq.d/文件夹.
【2023年02月05日 11:51:53】: 使用自定义的v2ray json配置文件...
【2023年02月05日 11:51:53】: 解析V2Ray配置文件...
jq: invalid JSON text passed to --argjson
Use jq --help for help with command-line options,
or see the jq manpage, or online docs at https://stedolan.github.io/jq
【2023年02月05日 11:51:53】: V2Ray配置文件写入成功到/koolshare/ss/v2ray.json
【2023年02月05日 11:51:53】: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
【2023年02月05日 11:51:53】: + 没有检测到你的服务器地址,如果你确定你的配置是正确的 +
【2023年02月05日 11:51:53】: + 请自行将服务器的ip地址填入【IP/CIDR】黑名单中,以确保正常使用 +
【2023年02月05日 11:51:53】: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
【2023年02月05日 11:51:53】: 测试V2Ray配置文件.....
panic: infra/conf/serial: failed to read config file > EOF
goroutine 1 [running]:
github.com/v2fly/v2ray-core/v4/common.Must(...)
github.com/v2fly/v2ray-core/v4/common/common.go:27
github.com/v2fly/v2ray-core/v4/main/jsonem.init.0.func1({0x8db528, 0x140da40})
github.com/v2fly/v2ray-core/v4/main/jsonem/jsonem.go:27 +0x37c
github.com/v2fly/v2ray-core/v4.LoadConfig({0x9c2add, 0x4}, {0xbeb05162, 0x18}, {0x8db528, 0x140da40})
github.com/v2fly/v2ray-core/v4/config.go:68 +0x23c
main.startV2Ray()
github.com/v2fly/v2ray-core/v4/main/main.go:109 +0x118
main.main()
github.com/v2fly/v2ray-core/v4/main/main.go:138 +0x94
【2023年02月05日 11:51:56】: V2Ray/Xray配置文件没有通过测试,请检查设置!!!
【2023年02月05日 11:51:56】: 插件将在5秒后自动关闭!!
【2023年02月05日 11:51:57】: 5
【2023年02月05日 11:51:58】: 4
【2023年02月05日 11:51:59】: 3
【2023年02月05日 11:52:00】: 2
【2023年02月05日 11:52:01】: 1
【2023年02月05日 11:52:02】: 0
【2023年02月05日 11:52:06】: 插件已关闭!!
【2023年02月05日 11:52:06】: ======================= 梅林固件 - 【科学上网】 ========================
同配置文件 在 v2rayN 和 小火箭 下都正常 唯独科学上网不行
{
"inbounds": [
{
"port": 10808,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "123.456.789.0", // 你的VPS服务器IP
"port": 443,
"users": [
{
"id": "UUID",
"flow": "xtls-rprx-vision",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"fingerprint": "chrome",
"serverName": "www.softbank.jp",
"publicKey": "pulickey",
"shortId": "",
"spiderX": ""
}
}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"outboundTag": "block",
"domain": ["geosite:category-ads-all"]
},
{
"type": "field",
"outboundTag": "direct",
"domain": ["geosite:cn"]
},
{
"type": "field",
"outboundTag": "direct",
"ip": [
"geoip:cn",
"geoip:private"
]
}
]
}
}
设备:R7000
固件:380.70_0-X7.9.1
之前有提过issue#41,但是没有解决
最近又尝试解决,发现了很奇怪的事情
我有两台R7000,一台在家,用的电信宽带,一台在公司,用的移动宽带
同样的节点服务器,电信的这台,没有任何问题,Xray,SSR,都可以正常跑
移动的这台,跑SSR没问题,但是Xray跑起来速度就非常的慢,只有个位数Mbps,而且跑Speedtest的时候,延迟会跳到很高,速度也是一下有一下没,感觉是被什么choke了一样
但是,speedtest上传的速度却又基本正常,延迟也不会跳
运行一段时间也许几个小时以后,Xray进程会被杀,说是out of memmory,但是我看内存一直都比较充足,我也没装其他插件,甚至路由器本身的功能,也比家里那台电信的少开很多(比如IPV6,VPN等),其他路由器设置,两台也基本都一样,SS插件的设置也都完全一样,甚至黑白名单都一样
那么问题就来了,为什么这台在移动网下的路由器跑Xray协议就会出问题呢?
我已尝试重装ss插件,清空jffs,恢复路由器出厂设置,都没有办法解决这个问题
本来我以为移动网会对443端口有什么动作,但是用PC端Xray客户端跑起来又完全没问题,那么问题应该还是出在路由器上?
PS:电信网是PPPOE,移动网是静态IP,这可能是唯一的不同了
想利用此插件只做分流用途,在同设备上开启了gost服务监听ss协议并用作实际出口。这种使用方式ss是本地通讯不需要加密。
本以为是回环问题不支持服务器地址指向本地,结果是下来是none加密无法启动ss-redir进程。。。暂时用rc4-md5顶着。
手动跑了下ss-redir -c /koolshare/ss/ss.json -v,发现问题了
2023-03-30 11:29:09 INFO: initializing ciphers... none
2023-03-30 11:29:09 ERROR: invalid cipher name: none
2023-03-30 11:29:09 ERROR: failed to initialize ciphers
ss-redir -h,明白了,用的是libev版本,不支持none加密。
发现插件支持ss2022,看了下ssconfig,发现用的是xray启动。修改下脚本就能启用none加密。在第40行:
2022-blake3-aes-128-gcm|2022-blake3-aes-256-gcm|2022-blake3-chacha20-poly1305|none) SS2022="Y";;
加上none加密就好了,基于xray的限制,密码还必须填,否则启动不了,不过不影响,密码随便填就好。
闲着又测了下NatTypeTester,发现xray中ss的UDP实现有问题,UdpBlocked。ss-libev倒是PortRestrictedCone。反正加密方式和UDP连通性不可兼得了。
想问问ss-libev哪个加密方式开销最小。
外网dns无法成功解析怎么解决?国内网站正常上网
380 7.9和7.9.1都一样,插件最新版
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.