Giter Site home page Giter Site logo

cary-sas / v2ray_bin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shuishou4184/v2ray_bin

570.0 12.0 128.0 1.52 GB

梅林380 固件的魔改科学上网插件

Shell 38.10% JavaScript 18.70% CSS 3.11% HTML 0.01% Classic ASP 40.08%
koolshare shadowsocks vmess vless trojan-go xray v2ray ss ssr trojan grpc naiveproxy armv5 asuswrt-merlin shadowsocks-2022 xtls reality vison vision hysteria2

v2ray_bin's Issues

xray更新内核到1.6.0启动报错,退回1.5.5后正常

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】: ===================================================================

请求更新能支持386使用

我的AC88U固件升级386了。降不下了。
fancyss他们的科学上网插件太落伍了
只支持SS、SSR、VMESS。
但我搞的都是VLESS科学上网协议。
专门为他搭建个VMESS在v2rayN可以上。在他上面不能行。
大佬能升级下程序吗?

trojan-go wih CDN and Websocket 连接不上

/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.

4.37.2 插件 reality 协议穿越失败

同配置文件 在 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"
]
}
]
}
}

QQ截图20230616144106.jpg

无法科学上网

固件为tb梅林380
使用的是V2ray/xtls 节点,该节点在其它的机器上已经被证明可用
在节点管理页面下,ping 测试和web测试也都通过了
模式为大陆白名单模式
在DNS设定中,无论选择哪种国外DNS,均不能实现科学上网
在插件界面国外链接为x,浏览器中也无法科学上网

none加密方式无法启动shadowsocks相关进程

想利用此插件只做分流用途,在同设备上开启了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 over TLS

在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的设置。是否是程序里有什么东西会一直在检测吗?
谢谢

希望增加V2RAY和XRAY进程崩溃时的自启动脚本

因部分路由器的内存容量有限,为256M内存。在某项极端大流量下载或观看4K视频时,容易导致V2RAY进程或XRAY因GOGC被强制终止,增加守护进程可完成自启动。

我已提交了部分自启动脚本,希望修改完善,Thx~

【求助】网件 R8500 梅林离线安装不成功

  • 型号:网件 R8500
  • 梅林固件版本:380.70_0-x7.9.1
  • koolshare软件中心版本:1.4.8
  • 现使用科学插件版本:4.2.2 (fancyss)
  • 下载安装插件版本:4.35.2
  • 离线安装日志:
    【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】: =======================================================
    

vmess/vless+ws+tls节点必须选择允许不安全才能连通

服务端都是启用了tls安全传输协议的,用V2rayN等客户端连接时也都是强制证书认证没有问题的(允许不安全 选择否)
但路由器用的4.35.6版本节点设置里必须选允许不安全才能连网
想问下这是什么原因呢?会不会影响安全性啊

wulabing的vmess/vless+ws+tls节点无法连接

wulabing的vmess+ws+tls节点,
之前用ss插件旧版本4.22不能连接,更新v2Ray插件v2ctl和v2ray到4.45之后就可以连接并正常使用了。
用cloudflare仅仅做了域名解析,没有proxy IP。
更新到4.37.1之后就不能连接,又设置了一台vless+ws+tls的xRay,也一样无法连接。国外链接是断的
请问怎么解决?

是否支持386固件?

想问一下大佬,是支持380及以上固件还是仅支持380呀?目前大部分华硕固件应该都更新到了386

xray内核怎么更新

你好,如题自己怎么手动更新xray内核,是需要自己编译,还是在官方下载,下载的话是选哪一个
image

发现可能是时区的问题引起无法连接国外网站

服务端和客户端版本都升级为最新的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命令查看发现时间日期也是正确,但为嘛会写日志时出现时间不对呢?

另外是否因为这问题导致无法连接??

V2ray链式转发找不到服务器IP

走的是自定义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】: ======================= 梅林固件 - 【科学上网】 ========================

Out of memory, 进程被杀

设备: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

两台R7000,一台正常,一台用xray协议的时候非常慢,而且会杀进程

设备:R7000
固件:380.70_0-X7.9.1

之前有提过issue#41,但是没有解决
最近又尝试解决,发现了很奇怪的事情

我有两台R7000,一台在家,用的电信宽带,一台在公司,用的移动宽带

同样的节点服务器,电信的这台,没有任何问题,Xray,SSR,都可以正常跑

移动的这台,跑SSR没问题,但是Xray跑起来速度就非常的慢,只有个位数Mbps,而且跑Speedtest的时候,延迟会跳到很高,速度也是一下有一下没,感觉是被什么choke了一样
image

但是,speedtest上传的速度却又基本正常,延迟也不会跳
image

运行一段时间也许几个小时以后,Xray进程会被杀,说是out of memmory,但是我看内存一直都比较充足,我也没装其他插件,甚至路由器本身的功能,也比家里那台电信的少开很多(比如IPV6,VPN等),其他路由器设置,两台也基本都一样,SS插件的设置也都完全一样,甚至黑白名单都一样

那么问题就来了,为什么这台在移动网下的路由器跑Xray协议就会出问题呢?
我已尝试重装ss插件,清空jffs,恢复路由器出厂设置,都没有办法解决这个问题

本来我以为移动网会对443端口有什么动作,但是用PC端Xray客户端跑起来又完全没问题,那么问题应该还是出在路由器上?

PS:电信网是PPPOE,移动网是静态IP,这可能是唯一的不同了

附上插件Xray设置截图,KCP,UDP都没开
image
image
image

更新规则时候有出现OpenSSL问题

更新规则时候有出现OpenSSL问题,更换白名单模式也是一样的情况。
以下为具体信息:

【2021年10月27日 21:34:34】: 使用常规网络下载...

【2021年10月27日 21:34:34】: ss规则定时更新任务未启用!

【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有问题,去大陆白名单模式试试吧!

vless + xtls 连不上

请问我shadowrocket可以连上的,
但是这个连不上,应该如何设置xray?
加密方式
伪装类型
SNI
怎么设置?
我 vless , tcp / xtls / xtls-rprx-direct都设置了。

Trojan连不上

你好,我使用最新的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

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.