coolsnowwolf / lede

Lean's LEDE source
Other
29.57k stars 19.51k forks source link

SSR-Plus三合一连接v2节点问题 #1214

Closed JKSTAFF closed 4 years ago

JKSTAFF commented 5 years ago

mt7621的设备,加了fpu模拟功能编译的固件,输入正确的v2节点参数后,日志永远是

……
2019-04-22 20:00:55 Current server error, try to switch another server.
2019-04-22 19:50:59 Current server error, try to switch another server.
2019-04-22 19:40:54 V2Ray 4.18.0 (Po) Lean's custom build - Release 5 Started!

无法访问外网。v2ray和v2ray-core都分别编译试过了,请问是缺少依赖还是什么问题?

JKSTAFF commented 5 years ago

补充配置文件测试:

/usr/bin/v2ray/v2ray -test -config=/tmp/etc/v2-ssr-ret
cp.json
V2Ray 4.18.0 (Po) Lean's custom build - Release 5
A unified platform for anti-censorship.
Configuration OK.
zxlhhyccc commented 5 years ago

补充配置文件测试:

/usr/bin/v2ray/v2ray -test -config=/tmp/etc/v2-ssr-ret
cp.json
V2Ray 4.18.0 (Po) Lean's custom build - Release 5
A unified platform for anti-censorship.
Configuration OK.

应该是没编译v2ctl

JKSTAFF commented 5 years ago

应该是没编译v2ctl

的确没有编译。无论是否为完整的v2ray-core都是必要的依赖吗?

hcym commented 5 years ago

core是完整版,全有的,而且大雕码不依赖这个,看看其它问题

JKSTAFF commented 5 years ago

目前能想到的只有lua-cjson和filetransfer没有编译进去,不过这两个是以前v2raypro的依赖。如何排查问题?

coolsnowwolf commented 5 years ago

不需要的,配置参数给一下

JKSTAFF commented 5 years ago

不需要的,配置参数给一下

/tmp/etc/v2-ssr-retcp.json

{
   "outbound": {
     "settings": {
       "vnext": [
         {
           "port": 443,
           "users": [
             {
               "id": "xxxxxxxxxxxxxxxxxxxxxxxx",
               "alterId": 4,
               "security": "chacha20-poly1305"
             }
           ],
           "address": "www.mydomain.com"
         }
       ]
     },
     "mux": {
       "enabled": false
     },
     "protocol": "vmess",
     "streamSettings": {
       "network": "ws",
       "tlsSettings": {
         "allowInsecure": false
       },
       "wsSettings": {
         "path": "\/v2ray"
       },
       "security": "tls"
     }
   },
   "log": {
     "loglevel": "warning"
   },
   "outboundDetour": [
     {
       "settings": {
         "keep": ""
       },
       "protocol": "freedom",
       "tag": "direct"
     }
   ],
   "inbound": {
     "sniffing": {
       "enabled": true,
       "destOverride": [
         "http",
         "tls"
       ]
     },
     "port": "1080",
     "protocol": "dokodemo-door",
     "settings": {
       "network": "tcp",
       "followRedirect": true
     }
   }
 }

我注意到path多了个\,luci界面输入的是v2ray。而在luci上删除/之后path一行就变成了

……
      "path": "v2ray"
……
JKSTAFF commented 5 years ago

补充:
一个现象:现在在开启ssr-plus的状态下重启后,无论luci界面ssr-plus是否开启,都无法联网。在luci界面停用v2节点后重启恢复正常上网,此时/tmp/etc下相关json配置文件自动消失
编译相关:官方openwrt主分支,根据luci-app-ssr-plus的makefile,编译出的固件在包管理器中确认其依赖均已安装: shadowsocksr-libev-alt ipset ip-full iptables-mod-tproxy dnsmasq-full coreutils coreutils-base64 bash pdnsd-alt wget v2ray / v2ray-core (由于仅需v2故只勾选了此可选项)

zxlhhyccc commented 5 years ago

mt7621的设备,加了fpu模拟功能编译的固件,输入正确的v2节点参数后,日志永远是

……
2019-04-22 20:00:55 Current server error, try to switch another server.
2019-04-22 19:50:59 Current server error, try to switch another server.
2019-04-22 19:40:54 V2Ray 4.18.0 (Po) Lean's custom build - Release 5 Started!

无法访问外网。v2ray和v2ray-core都分别编译试过了,请问是缺少依赖还是什么问题?

FPU模拟你是怎么加进去的?

AkinoKaede commented 5 years ago

\是转义符 但是用了引号应该不需要对/了qwq

JKSTAFF commented 5 years ago

\是转义符 但是用了引号应该不需要对/了qwq

去掉/之后依然是Current server error, try to switch another server.

JKSTAFF commented 5 years ago

补充:更新至5月1日的master后重新编译,问题依然存在。
所有安装的包如下
aria2 1.34.0-6 - -
base-files 197-r9916-a9190ee3a4 - -
bash 5.0-2 - -
block-mount 2019-03-28-ff1ded63-4 - -
busybox 1.30.1-2 - -
ca-bundle 20190110-1 - -
ca-certificates 20190110-1 - -
coreutils 8.30-1 - -
coreutils-base64 8.30-1 - -
dnsmasq-full 2.80-11 - -
dropbear 2019.78-2 - -
etherwake 1.09-4 - -
firewall 2019-01-02-70f8785b-2 - -
frpc 0.26.0-1 - -
fstools 2019-03-28-ff1ded63-4 - -
fwtool 1 - -
hostapd-common 2018-12-02-c2c6c01b-6 - -
https_dns_proxy 2018-04-23-3 - -
ip-full 5.0.0-1 - -
ip6tables 1.8.2-3 - -
ipset 7.1-3 - -
iptables 1.8.2-3 - -
iptables-mod-conntrack-extra 1.8.2-3 - -
iptables-mod-fullconenat 2018-12-15-d4daedd0-1 - -
iptables-mod-ipopt 1.8.2-3 - -
iptables-mod-tproxy 1.8.2-3 - -
iw 5.0.1-1 - -
iwinfo 2019-03-28-c2cfe9d9-1 - -
jshn 2019-02-27-eeef7b50-1 - -
jsonfilter 2018-02-04-c7e938d6-1 - -
kernel 4.14.113-1-ce0a75f7… - -
kmod-cfg80211 4.14.113+4.19.32-1-2 - -
kmod-crypto-crc32c 4.14.113-1 - -
kmod-crypto-hash 4.14.113-1 - -
kmod-fs-ext4 4.14.113-1 - -
kmod-fs-vfat 4.14.113-1 - -
kmod-fuse 4.14.113-1 - -
kmod-gpio-button-hotplug 4.14.113-2 - -
kmod-ifb 4.14.113-1 - -
kmod-ip6tables 4.14.113-1 - -
kmod-ipt-conntrack 4.14.113-1 - -
kmod-ipt-conntrack-extra 4.14.113-1 - -
kmod-ipt-core 4.14.113-1 - -
kmod-ipt-fullconenat 4.14.113+2018-12-15-d4daedd0-1 - -
kmod-ipt-ipopt 4.14.113-1 - -
kmod-ipt-ipset 4.14.113-1 - -
kmod-ipt-nat 4.14.113-1 - -
kmod-ipt-offload 4.14.113-1 - -
kmod-ipt-raw 4.14.113-1 - -
kmod-ipt-tproxy 4.14.113-1 - -
kmod-leds-gpio 4.14.113-1 - -
kmod-lib-crc-ccitt 4.14.113-1 - -
kmod-lib-crc16 4.14.113-1 - -
kmod-mac80211 4.14.113+4.19.32-1-2 - -
kmod-mmc 4.14.113-1 - -
kmod-mt76-core 4.14.113+2019-03-27-a11b6734-1 - -
kmod-mt7603 4.14.113+2019-03-27-a11b6734-1 - -
kmod-mt76x02-common 4.14.113+2019-03-27-a11b6734-1 - -
kmod-mt76x2 4.14.113+2019-03-27-a11b6734-1 - -
kmod-mt76x2-common 4.14.113+2019-03-27-a11b6734-1 - -
kmod-nf-conntrack 4.14.113-1 - -
kmod-nf-conntrack-netlink 4.14.113-1 - -
kmod-nf-conntrack6 4.14.113-1 - -
kmod-nf-flow 4.14.113-1 - -
kmod-nf-ipt 4.14.113-1 - -
kmod-nf-ipt6 4.14.113-1 - -
kmod-nf-nat 4.14.113-1 - -
kmod-nf-reject 4.14.113-1 - -
kmod-nf-reject6 4.14.113-1 - -
kmod-nfnetlink 4.14.113-1 - -
kmod-nls-base 4.14.113-1 - -
kmod-nls-cp437 4.14.113-1 - -
kmod-nls-iso8859-1 4.14.113-1 - -
kmod-nls-utf8 4.14.113-1 - -
kmod-ppp 4.14.113-1 - -
kmod-pppoe 4.14.113-1 - -
kmod-pppox 4.14.113-1 - -
kmod-sched-cake 4.14.113+2019-03-12-057c7388-1 - -
kmod-sched-core 4.14.113-1 - -
kmod-scsi-core 4.14.113-1 - -
kmod-sdhci-mt7620 4.14.113-1 - -
kmod-slhc 4.14.113-1 - -
kmod-usb-core 4.14.113-1 - -
kmod-usb-ledtrig-usbport 4.14.113-1 - -
kmod-usb-storage 4.14.113-1 - -
kmod-usb-storage-extras 4.14.113-1 - -
kmod-usb3 4.14.113-1 - -
libblobmsg-json 2019-02-27-eeef7b50-1 - -
libc 1.1.22-1 - -
libcares 1.15.0-4 - -
libcurl4 7.64.1-1 - -
libelf1 0.176-1 - -
libev 4.25-1 - -
libgcc1 7.4.0-1 - -
libgmp10 6.1.2-2 - -
libip4tc0 1.8.2-3 - -
libip6tc0 1.8.2-3 - -
libipset13 7.1-3 - -
libiwinfo-lua 2019-03-28-c2cfe9d9-1 - -
libiwinfo20181126 2019-03-28-c2cfe9d9-1 libjson-c2 0.12.1-3 - -
libjson-script 2019-02-27-eeef7b50-1 - -
liblua5.1.5 5.1.5-2 - -
liblucihttp-lua 2019-01-24-1afbdcc3-1 - -
liblucihttp0 2019-01-24-1afbdcc3-1 - -
libmbedtls12 2.16.1-1 - -
libmnl0 1.0.4-2 - -
libncurses6 6.1-4 - -
libnetfilter-conntrack3 2018-05-01-3ccae9f5-2 - -
libnettle6 3.4.1-2 - -
libnfnetlink0 1.0.1-2 - -
libnl-tiny 0.1-5 - -
libopenssl-conf 1.1.1b-5 - -
libopenssl1.1 1.1.1b-5 - -
libpcre 8.42-2 - -
libpthread 1.1.22-1 - -
libreadline8 8.0-1 - -
librt 1.1.22-1 - -
libstdcpp6 7.4.0-1 - -
libubox20170601 2019-02-27-eeef7b50-1 - -
libubus-lua 2018-10-06-221ce7e7-1 - -
libubus20170705 2018-10-06-221ce7e7-1 - -
libuci-lua 2018-08-11-4c8b4d6e-2 - -
libuci20130104 2018-08-11-4c8b4d6e-2 - -
libuclient20160123 2018-11-24-3ba74ebc-1 - -
libustream-openssl20150806 2018-07-30-23a3f283-1 - -
libuuid1 2.33-2 - -
libxtables12 1.8.2-3 - -
logd 2019-04-07-5130fa4d-1 - -
lua 5.1.5-2 - -
luci git-19.120.25736-3b379f0-1 - -
luci-app-aria2 1.0.1-4 - -
luci-app-arpbind 1-2 - -
luci-app-firewall git-19.120.25736-3b379f0-1 - -
luci-app-frpc 1.1-2 - -
luci-app-https_dns_proxy git-19.120.25736-3b379f0-2 - -
luci-app-mwan3 git-19.120.25736-3b379f0-1 - -
luci-app-nlbwmon git-19.120.25736-3b379f0-1 - -
luci-app-opkg git-19.120.25736-3b379f0-1 - -
luci-app-p910nd git-19.120.25736-3b379f0-1 - -
luci-app-samba git-19.120.25736-3b379f0-1 - -
luci-app-sqm 1.3.0-1 - -
luci-app-ssr-plus 1-92 - -
luci-app-uhttpd git-19.120.25736-3b379f0-1 - -
luci-app-upnp git-19.120.25736-3b379f0-1 - -
luci-app-vlmcsd 1.0-5 - -
luci-app-vsftpd 1.0-3 - -
luci-app-wol git-19.120.25736-3b379f0-1 - -
luci-base f138fc93-1 - -
luci-i18n-aria2-zh-cn 1.0.1-4 - -
luci-i18n-arpbind-zh-cn 1-2 - -
luci-i18n-base-zh-cn f138fc93-1 - -
luci-i18n-firewall-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-https_dns_proxy-zh-cn git-19.120.25736-3b379f0-2 - -
luci-i18n-mwan3-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-nlbwmon-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-opkg-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-p910nd-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-samba-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-uhttpd-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-upnp-zh-cn git-19.120.25736-3b379f0-1 - -
luci-i18n-vlmcsd-zh-cn 1.0-5 - -
luci-i18n-vsftpd-zh-cn 1.0-3 - -
luci-i18n-wol-zh-cn git-19.120.25736-3b379f0-1 - -
luci-lib-ip git-19.120.25736-3b379f0-1 - -
luci-lib-ipkg git-19.120.25736-3b379f0-1 - -
luci-lib-json git-19.120.25736-3b379f0-1 - -
luci-lib-jsonc git-19.120.25736-3b379f0-1 - -
luci-lib-nixio git-19.120.25736-3b379f0-1 - -
luci-mod-admin-full git-19.120.25736-3b379f0-1 - -
luci-mod-network git-19.120.25736-3b379f0-1 - -
luci-mod-rpc git-19.120.25736-3b379f0-1 - -
luci-mod-status git-19.120.25736-3b379f0-1 - -
luci-mod-system git-19.120.25736-3b379f0-1 - -
luci-proto-ipv6 git-19.120.25736-3b379f0-1 - -
luci-proto-ppp git-19.120.25736-3b379f0-1 - -
luci-ssl-openssl git-19.120.25736-3b379f0-1 - -
luci-theme-bootstrap git-19.120.25736-3b379f0-1 - -
luci-theme-rosy git-19.120.25736-3b379f0-1 - -
miniupnpd 2.1.20190408-2 - -
mtd 24 - -
mwan3 2.7.12-1 - -
netifd 2019-04-15-666c14f9-1 - -
nlbwmon 2017-12-05-75accd64-2 - -
ntfs-3g 2017.3.23-2-fuseint - -
odhcp6c 2019-01-11-d2e247d8-16 - -
odhcpd-ipv6only 2019-04-19-6633efeb-3 - -
openssl-util 1.1.1b-5 - -
openwrt-keyring 2018-05-18-103a32e9-1 - -
opkg 2019-01-31-d4ba162b-1 - -
p910nd 0.97-7 - -
pdnsd-alt 1.2.9b-par-a8e46ccb… - -
ppp 2.4.7.git-2018-06-23-1 - -
ppp-mod-pppoe 2.4.7.git-2018-06-23-1 - -
procd 2019-04-26-cfaed563-2 - -
rpcd 2018-11-28-3aa81d0d-1 - -
rpcd-mod-rrdns 20170710 - -
samba36-server 3.6.25-14 - -
shadowsocksr-libev-alt 2.5.6-3 - -
sqm-scripts swconfig 12 - -
tc 5.0.0-1 - -
terminfo 6.1-4 - -
ubi-utils 2.0.2-1 - -
ubox 2019-04-07-5130fa4d-1 - -
ubus 2018-10-06-221ce7e7-1 - -
ubusd 2018-10-06-221ce7e7-1 - -
uci 2018-08-11-4c8b4d6e-2 - -
uclibcxx 0.2.4-3 - -
uclient-fetch 2018-11-24-3ba74ebc-1 - -
uhttpd 2018-11-28-cdfc902a-3 - -
usign 2015-07-04-ef641914-1 - -
v2ray v4.19 - -
vlmcsd svn1112-1 - -
vsftpd-alt 3.0.3-6 - -
wget 1.20.3-1 - -
wireless-regdb 2017-10-20-4343d359 - -
wpad 2018-12-02-c2c6c01b-6 - -
zlib 1.2.11-2