Git Product home page Git Product logo

luci-app-xray's Introduction

luci-app-xray

Focus on making the most of Xray (HTTP/HTTPS/Socks/TProxy inbounds, multiple protocols support, DNS server, bridge (reverse proxy), even HTTPS proxy server for actual HTTP services) while keeping thin and elegant.

Warnings

  • For security concerns, global SOCKS / HTTP inbound (listen on 0.0.0.0, port 1080 / 1081 by default) is deprecated and will be removed in next major version (4.0.0).

    • These settings are moved out of main luci app. Select "Preview or Deprecated" in "Extra Settings" tab and reboot to let those settings show again in preview app.
    • Use Extra Inbound to manually add ports (avoid using common ports like 1080, also set listen addresses carefully) and adjust related workloads to use that.
  • Since version 3.2.0 sniffing and global custom settings are deprecated.

    • These features are moved out of main luci app (into preview app).
    • Global custom settings will be removed in version 4.0.0. Use "Custom Configuration Hook" for global custom settings.
    • Sniffing might get completely reimplemented later. Use FakeDNS instead of sniffing to avoid incompatibilities.
  • This project DOES NOT SUPPORT the following versions of OpenWrt because of the requirements of firewall4 and cilent-side rendering LuCI:

    • LEDE / OpenWrt prior to 22.03
    • Lean's OpenWrt Source (which uses a variant of LuCI shipped with OpenWrt 18.06)

    If this is your case, use Passwall or similar projects instead (you could find links in XTLS/Xray-core).

  • About experimental REALITY support

    • it may change quite frequently (before the release of official documents about the protocol). Keep in mind for (maybe) breaking changes.
  • If you see WARNING: at least one of asset files (geoip.dat, geosite.dat) is not found under /usr/share/xray. Xray may not work properly and don't know what to do:

    • try opkg update && opkg install v2ray-geoip v2ray-geosite
    • if that doesn't work, see #52
  • This project may change its code structure, configuration files format, user interface or dependencies quite frequently since it is still in its very early stage.

Installation (Manually building OpenWrt)

Choose one below:

  • Add src-git-full luci_app_xray https://github.com/yichya/luci-app-xray to feeds.conf.default and run ./scripts/feeds update -a; ./scripts/feeds install -a
  • Clone this repository under package

Then find luci-app-xray under Extra Packages.

Installation (Use GitHub actions to build ipks)

Fork this repository and:

  • Create a release by pushing a tag
  • Wait until actions finish
  • Use opkg -i * to install both ipks from Releases.

Changelog since 3.4.0

  • 2024-02-18 chore: optimize code style; bump version
  • 2024-02-19 fix: several DNS related validation
  • 2024-02-20 fix: domain match priority; stricter resolve options; socks / http auth
  • 2024-02-23 chore: bump version to 3.4.1

Changelog since 3.3.0

  • 2024-01-19 chore: bump version
  • 2024-01-24 feat: add alias to LAN Hosts Access Control
  • 2024-02-04 fix: avoid firewall restart failure & some minor adjustments
  • 2024-02-16 feat: dns hijacking preview; deprecate global http / socks inbound
  • 2024-02-17 feat: add username / password for extra socks / http inbound

Changelog since 3.2.0

  • 2023-12-20 chore: bump version
  • 2023-12-22 chore: optimize list folded format; add roundRobin balancer
  • 2024-01-04 chore: start later than sysntpd; change firewall include file path
  • 2024-01-18 feat: make "Resolve Domain via DNS" available to all outbounds
  • 2024-01-19 feat: socks / http outbound

Changelog since 3.1.0

  • 2023-10-24 chore: bump version
  • 2023-10-25 fix: set required for some fields; remove unused code
  • 2023-10-26 fix: allow empty selection for extra inbound outbound balancer
  • 2023-10-30 fix: blocked as nxdomain for IPv6
  • 2023-10-31 chore: bump version to 3.1.1
  • 2023-11-01 feat: custom configuration hook
  • 2023-11-02 feat: specify DNS to resolve outbound server name
  • 2023-11-30 fix: dialer proxy tag
  • 2023-12-14 fix: default gateway
  • 2023-12-20 chore: deprecate sniffing; move some preview features to main app; add custom configuration hook; refactor web files

Changelog since 3.0.0

  • 2023-09-26 Version 3.0.0 merge master
  • 2023-09-27 fix: sniffing inboundTag; fix: upstream_domain_names
  • 2023-10-01 fix: default configuration
  • 2023-10-06 chore: code cleanup
  • 2023-10-19 feat: detailed status page via metrics
  • 2023-10-20 feat: better network interface control. Requires reselection of LAN interfaces in Xray (preview) -> LAN Hosts Access Control

Star History

Star History Chart

luci-app-xray's People

Contributors

denpamusic avatar yichya avatar zackhou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luci-app-xray's Issues

无法访问网络问题

OP19.07.7 官方SDK 编译好luci和xray,从今年2月份起一直就是访问不了网络。我也不想吐槽了。大哥测试一下或者写一个教程,这样搞我们真的很难。

遇到 #52 中同样问题,Server Hostname 填入域名会陷入死循环,填入 ip 则正常

#52
@yichya 引述你的话如下:

看了几个类似 case,目前看通过域名连接到服务端的方式可能还是有些不稳定(解析的时候可能出现死循环)。
非常离谱的是我个人就没遇到过这种问题。。。
可以试试不通过域名改为通过 ip 连接上去,域名解析死循环的问题我再想想有没有一劳永逸的办法解决掉。

我遇到同样的问题。想问下,

  1. 使用 ip 会不会有性能上的损失?
  2. 抑或会不会有被 Wall 更易特征侦测的可能?

感谢。

部分网站无法访问

Snipaste_2021-11-21_13-38-03

使用浏览器访问部分网站时会出现 ERR_CONNECTION_ABORTED 错误,比如 v2ex.com, www.pixiv.net
通过其他代理工具可以正常访问上述网站,尝试关闭sniffing后依然无法访问,不知道问题出在哪里.......

xray 服务器

有谁知道哪里有 IPk file ? 我需要用树莓派来做 Xray , Vless 服务器呢 。

谢谢

RTNETLINK issue

  1. 安装 luci-app-xray 过程中会出现 RTNETLINK 错误提示。

ip: RTNETLINK answers: No such file or directory
ip: RTNETLINK answers: No such file or directory
ip: RTNETLINK answers: No such process
ip: RTNETLINK answers: No such process

  1. 配置好 Xray Servers 后,luci-app-xray 运作正常,可科学上网。

(Server Hostname 设置为 server ip 才能正常使用)

  1. 但运行 service xray restart 命令,可复现安装过程中的 RTNETLINK 的 issue。输出如下:

root@OpenWrt:~# service xray restart
xray[6467]: Resetting dnsmasq and firewall configurations...
transparent-proxy-ipset[6586]: flush_ipset_rules (ignore any errors from RTNETLINK)
ip: RTNETLINK answers: No such process
xray[6467]: (Re)generationg Xray configuration files...
xray[6467]: Setting dnsmasq and firewall for transparent proxy...
xray[6467]: # Generated dnsmasq configurations by luci-app-xray server=/203.135.249.213/114.114.114.114 server=/203.135.249.213/114.114.114.114 server=/#/127.0.0.1#5353
transparent-proxy-ipset[6746]: flush_ipset_rules (ignore any errors from RTNETLINK)
ip: RTNETLINK answers: No such file or directory
ip: RTNETLINK answers: No such file or directory
ip: RTNETLINK answers: No such process
ip: RTNETLINK answers: No such process
transparent-proxy-ipset[6746]: ipset_init (ignore any errors from RTNETLINK)
ip: RTNETLINK answers: File exists
transparent-proxy-ipset[6746]: gen_lan_host_ipset_entry
transparent-proxy-ipset[6746]: default gateway check 192.168.1.1

虽然使用正常,仍然对此 issue 不放心。请问如何修复?

在OpenWrt 21.02-x86_64上网速异常

在OpenWrt 19.07-x86_64上是正常的

openwrt-19.07.mp4

OpenWrt 21.02-x86_64上网速异常,日志里没有异常信息

openwrt-21.02.mp4

上述现像除了OpenWrt的版本不同外,其它的配置都是相同的

安装后路由访问不了外网

官方OpenWrt 19.07.7
安装的信息:
transparent-proxy-ipset[12967]: Generating Xray configuration files...
transparent-proxy-ipset[13081]: flush_ipset_rules
ip: RTNETLINK answers: No such file or directory
ip: RTNETLINK answers: No such file or directory
ip: RTNETLINK answers: No such process
ip: RTNETLINK answers: No such process
transparent-proxy-ipset[13081]: ipset_init
ip: RTNETLINK answers: File exists
transparent-proxy-ipset[13081]: gen_lan_host_ipset_entry
transparent-proxy-ipset[13081]: default gateway check 10.10.10.11
ipset v7.3: Missing second mandatory argument to command add
Try `ipset help' for more information.

log信息
Sun Jun 6 18:39:18 2021 user.info transparent-proxy-ipset[13081]: flush_ipset_rules
Sun Jun 6 18:39:18 2021 user.info transparent-proxy-ipset[13081]: ipset_init
Sun Jun 6 18:39:18 2021 user.info transparent-proxy-ipset[13081]: gen_lan_host_ipset_entry
Sun Jun 6 18:39:18 2021 user.info transparent-proxy-ipset[13081]: default gateway check 10.10.10.11
Sun Jun 6 18:39:18 2021 daemon.info xray[13146]: Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16 linux/amd64)
Sun Jun 6 18:39:18 2021 daemon.info xray[13146]: A unified platform for anti-censorship.
Sun Jun 6 18:39:18 2021 daemon.err xray[13146]: 2021/06/06 10:39:18 Using confdir from arg: /var/etc/xray
Sun Jun 6 18:39:18 2021 daemon.info xray[13146]: 2021/06/06 10:39:18 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Sun Jun 6 18:39:18 2021 daemon.info xray[13146]: Failed to start: main: failed to load config files: [/var/etc/xray/config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build nameserver > infra/conf: invalid domain rule: geosite:cn > infra/conf: failed to load geosite: CN > infra/conf: failed to load file: geosite.dat > infra/conf: failed to open file: geosite.dat > open /usr/share/xray/geosite.dat: no such file or directory
Sun Jun 6 18:39:23 2021 daemon.info xray[13168]: Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16 linux/amd64)
Sun Jun 6 18:39:23 2021 daemon.info xray[13168]: A unified platform for anti-censorship.
Sun Jun 6 18:39:23 2021 daemon.err xray[13168]: 2021/06/06 10:39:23 Using confdir from arg: /var/etc/xray
Sun Jun 6 18:39:23 2021 daemon.info xray[13168]: 2021/06/06 10:39:23 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Sun Jun 6 18:39:23 2021 daemon.info xray[13168]: Failed to start: main: failed to load config files: [/var/etc/xray/config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build nameserver > infra/conf: invalid domain rule: geosite:cn > infra/conf: failed to load geosite: CN > infra/conf: failed to load file: geosite.dat > infra/conf: failed to open file: geosite.dat > open /usr/share/xray/geosite.dat: no such file or directory
Sun Jun 6 18:39:28 2021 daemon.info xray[13185]: Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16 linux/amd64)
Sun Jun 6 18:39:28 2021 daemon.info xray[13185]: A unified platform for anti-censorship.
Sun Jun 6 18:39:28 2021 daemon.err xray[13185]: 2021/06/06 10:39:28 Using confdir from arg: /var/etc/xray
Sun Jun 6 18:39:28 2021 daemon.info xray[13185]: 2021/06/06 10:39:28 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Sun Jun 6 18:39:28 2021 daemon.info xray[13185]: Failed to start: main: failed to load config files: [/var/etc/xray/config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build nameserver > infra/conf: invalid domain rule: geosite:cn > infra/conf: failed to load geosite: CN > infra/conf: failed to load file: geosite.dat > infra/conf: failed to open file: geosite.dat > open /usr/share/xray/geosite.dat: no such file or directory
Sun Jun 6 18:39:33 2021 daemon.info xray[13201]: Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16 linux/amd64)
Sun Jun 6 18:39:33 2021 daemon.info xray[13201]: A unified platform for anti-censorship.
Sun Jun 6 18:39:33 2021 daemon.err xray[13201]: 2021/06/06 10:39:33 Using confdir from arg: /var/etc/xray
Sun Jun 6 18:39:33 2021 daemon.info xray[13201]: 2021/06/06 10:39:33 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Sun Jun 6 18:39:33 2021 daemon.info xray[13201]: Failed to start: main: failed to load config files: [/var/etc/xray/config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build nameserver > infra/conf: invalid domain rule: geosite:cn > infra/conf: failed to load geosite: CN > infra/conf: failed to load file: geosite.dat > infra/conf: failed to open file: geosite.dat > open /usr/share/xray/geosite.dat: no such file or directory
Sun Jun 6 18:39:38 2021 daemon.info xray[13217]: Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16 linux/amd64)
Sun Jun 6 18:39:38 2021 daemon.info xray[13217]: A unified platform for anti-censorship.
Sun Jun 6 18:39:38 2021 daemon.err xray[13217]: 2021/06/06 10:39:38 Using confdir from arg: /var/etc/xray
Sun Jun 6 18:39:38 2021 daemon.info xray[13217]: 2021/06/06 10:39:38 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Sun Jun 6 18:39:38 2021 daemon.info xray[13217]: Failed to start: main: failed to load config files: [/var/etc/xray/config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build nameserver > infra/conf: invalid domain rule: geosite:cn > infra/conf: failed to load geosite: CN > infra/conf: failed to load file: geosite.dat > infra/conf: failed to open file: geosite.dat > open /usr/share/xray/geosite.dat: no such file or directory
Sun Jun 6 18:39:43 2021 daemon.info xray[13241]: Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16 linux/amd64)
Sun Jun 6 18:39:43 2021 daemon.info xray[13241]: A unified platform for anti-censorship.
Sun Jun 6 18:39:43 2021 daemon.err xray[13241]: 2021/06/06 10:39:43 Using confdir from arg: /var/etc/xray
Sun Jun 6 18:39:43 2021 daemon.info xray[13241]: 2021/06/06 10:39:43 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Sun Jun 6 18:39:43 2021 daemon.info xray[13241]: Failed to start: main: failed to load config files: [/var/etc/xray/config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build nameserver > infra/conf: invalid domain rule: geosite:cn > infra/conf: failed to load geosite: CN > infra/conf: failed to load file: geosite.dat > infra/conf: failed to open file: geosite.dat > open /usr/share/xray/geosite.dat: no such file or directory
Sun Jun 6 18:39:43 2021 daemon.info procd: Instance xray::instance1 s in a crash loop 6 crashes, 0 seconds since last crash

卸载了luci-app-xray后外网就可以通了
该怎么解决?

目標模式不含有「%」。 停止。

./scripts/feeds update -a的时候报错:
Create index file './feeds/xray.index'
/home/a/openwrt/feeds/xray.tmp/info/.files-packageinfo.mk:1: *** 目標模式不含有「%」。 停止。

Inbound sniffing not working

关闭sniffing时xray路由可以正确处理ip规则

# disable sniffing
$ uci set xray.cfg01f223.tproxy_sniffing='0'
$ uci commit
$ /etc/init.d/xray restart
$ echo "" > /tmp/xray_access.log
$ curl https://www.baidu.com
$ cat /tmp/xray_access.log

2021/10/10 03:55:43 127.0.0.1:56230 accepted udp:1.1.1.1:53 [dns_server_inbound_5353 -> dns_server_outbound]
2021/10/10 03:55:43 DNS accepted udp:114.114.114.114:53 [dns_conf_inbound -> direct]
2021/10/10 03:55:43 127.0.0.1:59979 accepted udp:1.1.1.1:53 [dns_server_inbound_5353 -> dns_server_outbound]
2021/10/10 03:55:43 UDP:114.114.114.114:53 got answer: www.baidu.com -> [163.177.151.109, 163.177.151.110] 7.965574ms
2021/10/10 03:55:43 UDP:114.114.114.114:53 got answer: www.baidu.com -> [] 15.963177ms <empty response>
2021/10/10 03:55:43 172.24.91.216:56336 accepted tcp:163.177.151.109:443 [tproxy_tcp_inbound -> direct]

开启sniffing后xray路由失效, 将所有流量导入tcp_outbound

# enable sniffing
$ uci set xray.cfg01f223.tproxy_sniffing='1'
$ uci commit
$ /etc/init.d/xray restart
$ echo "" > /tmp/xray_access.log
$ curl https://www.baidu.com
$ cat /tmp/xray_access.log

2021/10/10 03:57:04 127.0.0.1:45548 accepted udp:1.1.1.1:53 [dns_server_inbound_5353 -> dns_server_outbound]
2021/10/10 03:57:04 UDP:114.114.114.114:53 got answer: www.baidu.com -> [163.177.151.110, 163.177.151.109] 6.499717ms
2021/10/10 03:57:04 127.0.0.1:43179 accepted udp:1.1.1.1:53 [dns_server_inbound_5353 -> dns_server_outbound]
2021/10/10 03:57:04 UDP:114.114.114.114:53 got answer: www.baidu.com -> [] 29.241255ms <empty response>
2021/10/10 03:57:04 172.24.91.216:49996 accepted tcp:163.177.151.110:443 [tproxy_tcp_inbound -> tcp_outbound]

功能需求:可否增加 dns over https 支持

目前的封堵已经越来越针对 dns 部分,是否可以在 DNS Settings 部分的 Fast DNS / Secure DNS
/ Default DNS 增加对 dns over https (DOH) 的支持?

目前无法在 DNS 中填入 doh 地址,默认不支持。

编译时报错

编译时报错,提示bash proxychains: command not found
必须安装 proxychains-ng吗?我记得proxychains-ng是个代理软件啊,我本地电脑已经科学了的(用Qv2ray
本地已经安装了libproxychains-{dev,3,4}这三个包

本地编译环境:

Ubuntu 20.04 LTS
Python 3.8
...

DNS 使用 dns over https 时,哪里可以设置 hosts 以避免出现 resolve itself 的循环问题

1. 出现以下 issue,可能需要设置 hosts,哪里可以设置呢?
[Error] app/dns: DOH//dns.dns-over-https.top tries to resolve itself! Use IP or set "hosts" instead.

2. 以下 warning 是否是由 ipv6 引起,我尝试将 ipv6 关闭后,仍然有此提示,请问可以怎么消除?
Thu Sep 9 08:14:12 2021 daemon.info xray[5253]: 2021/09/09 00:14:12 [Warning] proxy/dns: failed to dial outbound connection > address https://dns.dns-over-https.top/dns-query:53: too many colons in address

安装的时候提示错误

root@OpenWrt:/tmp# opkg install luci-app-xray_1.0.3-1_aarch64_cortex-a53.ipk
Installing luci-app-xray (1.0.3-1) to root...
Collected errors:

  • check_data_file_clashes: Package luci-app-xray wants to install file /etc/init.d/xray
    But that file is already provided by package * xray-core
  • opkg_install_cmd: Cannot install package luci-app-xray.
    另外我还装了passwall
    软件是否无法同时与其他软件并存

LAN Hosts Access Control

Hello,there is only “Will not enable transparent proxy for these MAC addresses” option (Allow all except listed) in access control.
Can you add an Allow listed only option so that i can only proxy specific devices and all others will be directly connected.
Thank you in advance.

手机play商店无法更新

play商店app更新一直显示等待中
{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com"
}
}
}
Custom Configurations里加入以上不行,请问有什么解决办法

Error running Luci-app-xray

After I was able to compile the package with your help,
the next problem that occurred to me after installation is clear in the image:

Screenshot (25)

The ipset package is installed, but it looks like there is a problem with the Config file.
I do not understand. Where can the problem be ?
I have to say that I am using the official precompiled version 19.7.6 for RaspberryPi 3B.

Thanks ;-)

编译完之后不显示luci

OpenWrt R21.10.1 / LuCI Master (git-21.280.14233-9b796b1)

lean的固件 编译后 在软件包里有
但是没有luci的界面

Compatible with official OpenWrt packages/xray-core

因为配置文件和 init 脚本的命名都跟 https://github.com/openwrt/packages/tree/master/net/xray-core 重复了,所以目前 luci-app-xray 没有办法跟它共存。

要解决这一问题的话可能有两个办法

  • 推动上游 xray-core 主程序和 init 文件分离(可能会比较困难)
  • luci-app-xray 自身做一些比较大的改动适应上游 xray-core 的 init 脚本(无法保证平滑升级,需要重新填配置)

这个 issue 算是一个意见收集,如果有比较强烈的需求的话会考虑通过上述方式之一解决这个问题。

觉得有必要解决这个问题的话可以在这条 issue 上点一个 +1(👍),没有必要的话可以点一个 -1(👎)

iptables规则屏蔽掉了 WAN 侧入站连接

先前的issue已有讨论。 #20 (comment)

对比 kuoruan/luci-app-v2ray 的 iptables 规则,主要区别在于,本项目将所有路由规则写在 mangles 链下,相比之下,v2ray 、OpenClash (印象里 shadowsocks 项目也是)等大部分类似的项目都将 TCP 的转发规则放到了 nat 链下面,我认为这个可能是问题所在。 但是原理我还是不懂

参考:

This table (NAT) is slightly different from the `filter' table, in that only the first packet of a new connection will traverse the table: the result of this traversal is then applied to all future packets in the same connection.

image


update: 不光是链不同,原理也不一样。其他项目用的是 REDIRECT ,本项目用的是 TPROXY。这东西文档和用例太少了……

功能需求:可否增加geoip、geosite自定义更新

目前使用1.6.4版本一段时间了,
功能已经很完善了,
而且可以用过官方渠道更新geoip和geosite,
并且增加了黑洞功能,
默认增加了广告屏蔽功能。

但是,
默认的官方geoip和geosite个性化设置不足,
因此,
能否增加 https://github.com/Loyalsoldier/v2ray-rules-dat 等这类第三方geoip和geosite下载,
它们都有国内、国外两个地址可供选择,
可以默认设置为国内地址,
避免网络问题无法下载。

另外,
如果允许的话,
也可以通过自定义添加下载地址,
满足一些人添加私有库地址下载。

Compile the package using the SDK

Thanks for your very good program. It was really necessary.
Can you please tell me how I can with the official RaspberryPi 3B SDK (19.7.6)Compile this package?
I have already compiled other packages with SDK and I am familiar with it.
But I do not know why this package is not added to the "make" menu?
Please tell me the instructions I need to enter in the terminal so that other people like me can solve this problem.
Thanks ;-)

Xray mipsle no found

Log eror

https://github.com/xtls/xray-core/releases/download/v1.1.5/xray-linux-mipsle.zip Resolving github.com (github.com)... 13.250.177.223 Connecting to github.com (github.com)|13.250.177.223|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2020-12-26 10:27:03 ERROR 404: Not Found.

After installing on OpenWrt 20.02.1 no service menu available

xray & this Luci app both installed successfully, but nothing is visible via the Luci UI. I was expecting to see a services menu appear in Luci. The steps I followed were as below, and both completed successfully:

  1. Install xray:
    opkg install xray-core xray-geodata
  2. followed by install luci-app-xray
    opkg install luci-app-xray_1.5.2-1_all.ipk

Is there any troubleshooting that can be done to find the problem, or any additional steps I should follow?

gRPC server hostname用域名,连通不了

用IP地址可以,就是没法用CDN了
Thu Jul 1 17:29:42 2021 daemon.info xray[26515]: Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16 linux/amd64)
Thu Jul 1 17:29:42 2021 daemon.info xray[26515]: A unified platform for anti-censorship.
Thu Jul 1 17:29:42 2021 daemon.err xray[26515]: 2021/07/01 09:29:42 Using confdir from arg: /var/etc/xray
Thu Jul 1 17:29:42 2021 daemon.info xray[26515]: 2021/07/01 09:29:42 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Thu Jul 1 17:29:43 2021 daemon.info xray[26515]: 2021/07/01 09:29:43 [Warning] core: Xray 1.4.2 started
Thu Jul 1 17:29:48 2021 daemon.info xray[26515]: 2021/07/01 09:29:48 [Warning] [2881973896] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Canceled desc = context canceled] > common/retry: all retry attempts failed
Thu Jul 1 17:29:48 2021 daemon.info xray[26515]: 2021/07/01 09:29:48 [Warning] [2821008468] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Canceled desc = context canceled] > common/retry: all retry attempts failed
Thu Jul 1 17:30:30 2021 daemon.info xray[26515]: 2021/07/01 09:30:30 [Warning] [763116330] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:30 2021 daemon.info xray[26515]: 2021/07/01 09:30:30 [Warning] [3728363101] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:30 2021 daemon.info xray[26515]: 2021/07/01 09:30:30 [Warning] [1818778841] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:30 2021 daemon.info xray[26515]: 2021/07/01 09:30:30 [Warning] [366616993] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:30 2021 daemon.info xray[26515]: 2021/07/01 09:30:30 [Warning] [3355821010] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:30 2021 daemon.info xray[26515]: 2021/07/01 09:30:30 [Warning] [3509810396] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:30 2021 daemon.info xray[26515]: 2021/07/01 09:30:30 [Warning] [4180591674] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:31 2021 daemon.info xray[26515]: 2021/07/01 09:30:31 [Warning] [2369408987] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:31 2021 daemon.info xray[26515]: 2021/07/01 09:30:31 [Warning] [918285807] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:31 2021 daemon.info xray[26515]: 2021/07/01 09:30:31 [Warning] [192476369] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:31 2021 daemon.info xray[26515]: 2021/07/01 09:30:31 [Warning] [912033422] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:31 2021 daemon.info xray[26515]: 2021/07/01 09:30:31 [Warning] [3892498450] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:31 2021 daemon.info xray[26515]: 2021/07/01 09:30:31 [Warning] [3354535149] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:31 2021 daemon.info xray[26515]: 2021/07/01 09:30:31 [Warning] [3553588940] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:32 2021 daemon.info xray[26515]: 2021/07/01 09:30:32 [Warning] [392634192] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:32 2021 daemon.info xray[26515]: 2021/07/01 09:30:32 [Warning] [1305324350] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:32 2021 daemon.info xray[26515]: 2021/07/01 09:30:32 [Warning] [2601932659] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:32 2021 daemon.info xray[26515]: 2021/07/01 09:30:32 [Warning] [2230652889] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed
Thu Jul 1 17:30:32 2021 daemon.info xray[26515]: 2021/07/01 09:30:32 [Warning] [3486877939] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: i/o timeout"] > common/retry: all retry attempts failed

请教:system log说明了什么问题?

Fri Jul 23 22:07:10 2021 daemon.info xray[16292]: 2021/07/23 14:07:10 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:10 2021 daemon.info xray[16292]: 2021/07/23 14:07:10 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:11 2021 daemon.info xray[16292]: 2021/07/23 14:07:11 [Warning] [3841621821] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [dial tcp: lookup mydomain.com on 127.0.0.1:53: dial udp 127.0.0.1:53: socket: too many open files dial tcp: operation was canceled] > common/retry: all retry attempts failed
Fri Jul 23 22:07:11 2021 daemon.info xray[16292]: 2021/07/23 14:07:11 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:11 2021 daemon.info xray[16292]: 2021/07/23 14:07:11 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:12 2021 daemon.info xray[16292]: 2021/07/23 14:07:12 [Warning] proxy/dns: failed to dial outbound connection > listen udp 0.0.0.0:0: socket: too many open files
Fri Jul 23 22:07:12 2021 daemon.info xray[16292]: 2021/07/23 14:07:12 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:12 2021 daemon.info xray[16292]: 2021/07/23 14:07:12 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:12 2021 daemon.info xray[16292]: 2021/07/23 14:07:12 [Warning] [3577707651] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [dial tcp: lookup mydomain.com on 127.0.0.1:53: dial udp 127.0.0.1:53: socket: too many open files dial tcp: operation was canceled] > common/retry: all retry attempts failed
Fri Jul 23 22:07:13 2021 daemon.info xray[16292]: 2021/07/23 14:07:13 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:13 2021 daemon.info xray[16292]: 2021/07/23 14:07:13 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:13 2021 daemon.info xray[16292]: 2021/07/23 14:07:13 [Warning] [4064023648] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [dial tcp: lookup mydomain.com on 127.0.0.1:53: dial udp 127.0.0.1:53: socket: too many open files] > common/retry: all retry attempts failed
Fri Jul 23 22:07:14 2021 daemon.info xray[16292]: 2021/07/23 14:07:14 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:14 2021 daemon.info xray[16292]: 2021/07/23 14:07:14 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:15 2021 daemon.info xray[16292]: 2021/07/23 14:07:15 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:15 2021 daemon.info xray[16292]: 2021/07/23 14:07:15 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:16 2021 daemon.info xray[16292]: 2021/07/23 14:07:16 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:16 2021 daemon.info xray[16292]: 2021/07/23 14:07:16 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:17 2021 daemon.info xray[16292]: 2021/07/23 14:07:17 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:17 2021 daemon.info xray[16292]: 2021/07/23 14:07:17 [Warning] [3847464710] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [dial tcp: lookup mydomain.com on 127.0.0.1:53: dial udp 127.0.0.1:53: socket: too many open files] > common/retry: all retry attempts failed
Fri Jul 23 22:07:17 2021 daemon.info xray[16292]: 2021/07/23 14:07:17 [Warning] [177433344] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [dial tcp: lookup mydomain.com on 127.0.0.1:53: dial udp 127.0.0.1:53: socket: too many open files] > common/retry: all retry attempts failed
Fri Jul 23 22:07:17 2021 daemon.info xray[16292]: 2021/07/23 14:07:17 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files
Fri Jul 23 22:07:18 2021 daemon.info xray[16292]: 2021/07/23 14:07:18 [Warning] transport/internet/tcp: failed to accepted raw connections > accept tcp [::]:1080: accept4: too many open files

更新后无法上网

看到大版本更新了,
作为参与者,
准备做第一个吃螃蟹的人,
结果彻底无法上网了,
下面把症状详细描述下:

1.准备工作
为了控制变量,
彻底重装系统,
防止出现残留问题。
因此,
安装的是 openwrt-21.02.1-x86-64-generic-ext4-combined-efi 原版系统
插件仅安装最新的 luci-app-xray_1.2.0-1_all.ipk
系统仅设置了拨号上网和系统更新,
其他插件一概未装

2.插件安装
安装插件后,
自动安装了内置的xray,
然后仅设置了Xray Servers,添加了geoip和geosite至指定文件夹,设置了geoip为cn,routing domain为IPIfNonMatch,
其他未动,
具体config.json如下(已脱敏):

{
"outbounds": [
{
"streamSettings": {
"network": "tcp",
"xtlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"allowInsecure": false
},
"tcpSettings": {
"header": {
"type": "none"
}
},
"sockopt": {
"mark": 255,
"domainStrategy": "UseIP"
},
"security": "xtls"
},
"settings": {
"vnext": [
{
"port": 443,
"users": [
{
"id": "xxx-xxx-xxx-xxx-xxx",
"flow": "xtls-rprx-direct",
"encryption": "none"
}
],
"address": "xxx-xxx-xxx-xxx-xxx"
}
]
},
"protocol": "vless",
"tag": "tcp_outbound"
},
{
"streamSettings": {
"network": "tcp",
"xtlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"allowInsecure": false
},
"tcpSettings": {
"header": {
"type": "none"
}
},
"sockopt": {
"mark": 255,
"domainStrategy": "UseIP"
},
"security": "xtls"
},
"settings": {
"vnext": [
{
"port": 443,
"users": [
{
"id": "xxx-xxx-xxx-xxx-xxx",
"flow": "xtls-rprx-direct",
"encryption": "none"
}
],
"address": "xxx-xxx-xxx-xxx-xxx"
}
]
},
"protocol": "vless",
"tag": "udp_outbound"
},
{
"streamSettings": {
"sockopt": {
"mark": 255
}
},
"protocol": "freedom",
"tag": "direct"
},
{
"tag": "dns_server_outbound",
"protocol": "dns",
"streamSettings": {
"sockopt": {
"mark": 255
}
}
}
],
"log": {
"loglevel": "debug",
"access": "none",
"dnsLog": false
},
"dns": {
"servers": [
{
"port": 53,
"domains": [
"xxx-xxx-xxx-xxx-xxx"
],
"address": "114.114.114.114"
},
{
"port": 53,
"domains": [
"geosite:geolocation-!cn"
],
"address": "8.8.8.8"
},
{
"port": 53,
"domains": [
"geosite:cn"
],
"address": "114.114.114.114"
},
{
"port": 53,
"address": "1.1.1.1"
}
],
"tag": "dns_conf_inbound"
},
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"routing": {
"rules": [
{
"domain": [
"geosite:cn"
],
"type": "field",
"inboundTag": [
"tproxy_tcp_inbound",
"tproxy_udp_inbound",
"dns_conf_inbound",
"https_inbound",
"http_inbound"
],
"outboundTag": "direct"
},
{
"domain": [
"geosite:geolocation-!cn"
],
"type": "field",
"inboundTag": [
"tproxy_tcp_inbound",
"tproxy_udp_inbound",
"dns_conf_inbound"
],
"outboundTag": "tcp_outbound"
},
{
"domain": [
"geosite:geolocation-!cn"
],
"type": "field",
"inboundTag": [
"tproxy_udp_inbound"
],
"outboundTag": "udp_outbound"
},
{
"ip": [
"geoip:private"
],
"type": "field",
"inboundTag": [
"tproxy_tcp_inbound",
"tproxy_udp_inbound",
"dns_conf_inbound",
"socks_inbound",
"https_inbound",
"http_inbound"
],
"outboundTag": "direct"
},
{
"ip": [
"geoip:cn"
],
"type": "field",
"inboundTag": [
"tproxy_tcp_inbound",
"tproxy_udp_inbound",
"dns_conf_inbound"
],
"outboundTag": "direct"
},
{
"type": "field",
"inboundTag": [
"tproxy_tcp_inbound",
"dns_conf_inbound",
"socks_inbound",
"https_inbound",
"http_inbound"
],
"outboundTag": "tcp_outbound"
},
{
"type": "field",
"inboundTag": [
"tproxy_udp_inbound"
],
"outboundTag": "udp_outbound"
},
{
"type": "field",
"inboundTag": [
"dns_server_inbound_5300",
"dns_server_inbound_5301",
"dns_server_inbound_5302",
"dns_server_inbound_5303"
],
"outboundTag": "dns_server_outbound"
},
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api"
}
],
"domainStrategy": "IPIfNonMatch"
},
"policy": {
"system": {
"statsInboundDownlink": false,
"statsOutboundDownlink": false,
"statsOutboundUplink": false,
"statsInboundUplink": false
},
"levels": {
"0": {
"uplinkOnly": 0,
"statsUserDownlink": false,
"statsUserUplink": false,
"connIdle": 0,
"bufferSize": 0,
"handshake": 0,
"downlinkOnly": 0
}
}
},
"inbounds": [
{
"settings": {
"allowTransparent": false
},
"port": "1083",
"protocol": "http",
"tag": "http_inbound"
},
{
"port": "1080",
"protocol": "dokodemo-door",
"streamSettings": {
"sockopt": {
"tproxy": "tproxy",
"mark": 255
}
},
"settings": {
"network": "tcp",
"followRedirect": true
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
],
"metadataOnly": false
},
"tag": "tproxy_tcp_inbound"
},
{
"port": "1081",
"protocol": "dokodemo-door",
"streamSettings": {
"sockopt": {
"tproxy": "tproxy",
"mark": 255
}
},
"settings": {
"network": "udp",
"followRedirect": true
},
"tag": "tproxy_udp_inbound"
},
{
"settings": {
"udp": true
},
"port": "1082",
"protocol": "socks",
"tag": "socks_inbound"
},
{
"settings": {
"port": 53,
"network": "tcp,udp",
"address": "1.1.1.1"
},
"port": 5300,
"protocol": "dokodemo-door",
"tag": "dns_server_inbound_5300"
},
{
"settings": {
"port": 53,
"network": "tcp,udp",
"address": "1.1.1.1"
},
"port": 5301,
"protocol": "dokodemo-door",
"tag": "dns_server_inbound_5301"
},
{
"settings": {
"port": 53,
"network": "tcp,udp",
"address": "1.1.1.1"
},
"port": 5302,
"protocol": "dokodemo-door",
"tag": "dns_server_inbound_5302"
},
{
"settings": {
"port": 53,
"network": "tcp,udp",
"address": "1.1.1.1"
},
"port": 5303,
"protocol": "dokodemo-door",
"tag": "dns_server_inbound_5303"
},
{
"port": 8080,
"protocol": "dokodemo-door",
"tag": "api",
"settings": {
"address": "127.0.0.1"
},
"listen": "127.0.0.1"
}
]
}

3.症状
启动xray后,
整个网络无法使用,
无论是国内还是国外均无法打开,
使用内置网络诊断显示

ping: bad address 'openwrt.org'
nslokup;; connection timed out; no servers could be reached

而关闭xray后
则国内网站可以访问,
使用内置网络诊断显示

PING openwrt.org (139.59.209.225): 56 data bytes
64 bytes from 139.59.209.225: seq=0 ttl=53 time=243.199 ms
64 bytes from 139.59.209.225: seq=1 ttl=53 time=243.675 ms
64 bytes from 139.59.209.225: seq=2 ttl=53 time=243.078 ms
64 bytes from 139.59.209.225: seq=3 ttl=53 time=242.920 ms
64 bytes from 139.59.209.225: seq=4 ttl=53 time=243.514 ms

--- openwrt.org ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 242.920/243.277/243.675 ms

nslokup
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: openwrt.org
Address 1: 139.59.209.225
Address 2: 2a03:b0c0:3:d0::1af1:1

因此,
貌似有较大问题,
不清楚是哪个环节出了问题。

请问geoip_list.pb 的作用是什么?

作者你好,我阅读代码的时候发现 https://github.com/yichya/luci-app-xray/blob/master/root/usr/share/xray/geoip_list.pb 这个二进制文件似乎没有在代码任何一处被引用,请问这个文件是起什么作用的呢?如果是 protobuf 格式的geoip 的清单,我该怎样定制这个的清单呢?(比如,可以 run 个什么脚本来生成呢?)我看你有另一个 repo 是 lua-protbuf, 是用那个repo吗?
谢谢!

openwrt 21.2.1官方源碼不識別luci-app-xray

我將下載好的luci-app-xray放到openwrt源碼下的feeds/luci/applications目錄下,運行./scripts/feeds update -a ;./scripts/feeds install -a之後,運行make menuconfig,但是在打開的luci->applications菜單中找不到luci-app-xray。按照上述步驟放入其他任何luci源代碼都是可以識別的,唯獨不顯示luci-app-xray。另外,當退出menuconfig之後會顯示以下報錯:
tmp/.config-package.in:5937:error: recursive dependency detected!
tmp/.config-package.in:5937: symbol PACKAGE_luci-app-xray depends on PACKAGE_luci-app-xray
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
上述問題該如何解決,望指點。

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.