yichya / luci-app-xray

(Almost) full feature Xray client for OpenWrt
Mozilla Public License 2.0
543 stars 317 forks source link

Version 3.4.0 feedback #388

Open yichya opened 4 months ago

yichya commented 4 months ago

Version 3.4.0 includes following changes:

This version is likely to be the last minor version before 4.0.0 so keep in mind of the following deprecated features that will be removed in 4.0.0:

Current implementation of sniffing is also deprecated and may be reimplemented later. To avoid problems when upgrading, migrating to FakeDNS is strongly recommended. 

2fact commented 4 months ago

Thanks for the continuous improvements!

Found one issue that the SOCKS outbound can't be configured to skip authentication. While users list is not empty, Xray will always authenticate: https://xtls.github.io/config/outbounds/socks.html#serverobject.

Suppose similar needed for SOCKS outbound as in socks_inbound().

yichya commented 4 months ago

Found one issue that the SOCKS outbound can't be configured to skip authentication. While users list is not empty, Xray will always authenticate: https://xtls.github.io/config/outbounds/socks.html#serverobject.

Try #391

lidfgab commented 4 months ago

failed to make 3.4 with 3.3 make script make[4]: [/root/openwrt/include/prereq.mk:9: prereq] Error 1 time: package/feeds/base/uboot-rockchip/nanopc-t4-rk3399/prereq#1.02#0.76#2.13 ERROR: package/feeds/base/uboot-rockchip failed to build (build variant: nanopc-t4-rk3399). make[3]: [package/Makefile:128: package/feeds/base/uboot-rockchip/prereq] Error 1 make[2]: [package/Makefile:120: /root/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_prereq] Error 2 make[1]: [/root/openwrt/include/toplevel.mk:211: prereq] Error 2 make: *** [/root/openwrt/include/toplevel.mk:224: package/luci-app-xray/core/compile] Error 2

yichya commented 4 months ago

ERROR: package/feeds/base/uboot-rockchip failed to build (build variant: nanopc-t4-rk3399).

This is not related to this project. Try reverting https://github.com/openwrt/openwrt/commit/23cb2b1636d2cfacaff4b459139c4026120431be

sdandroid commented 4 months ago

image 有时候dns解析有问题,打开国内网站就卡卡的。

[Debug] app/dns: domain seq.jd.com will use DNS in order: [UDP:114.114.114.114:53 UDP:119.29.29.29:53]
[Info] app/dns: UDP:114.114.114.114:53 cache HIT seq.jd.com -> [] > empty response
[Info] app/dns: failed to lookup ip for domain seq.jd.com at server UDP:114.114.114.114:53 > empty response
[Info] app/dns: UDP:119.29.29.29:53 cache HIT seq.jd.com -> [] > empty response
[Info] app/dns: failed to lookup ip for domain seq.jd.com at server UDP:119.29.29.29:53 > empty response
UDP:114.114.114.114:53 cache HIT: seq.jd.com -> [] <empty response>
UDP:119.29.29.29:53 cache HIT: seq.jd.com -> [] <empty response>
[Debug] app/dns: UDP:119.29.29.29:53 cleanup ivs.jd.com.
yichya commented 4 months ago

有时候dns解析有问题,打开国内网站就卡卡的。

你发的这些看着都是 negative cache,压根没发出去,你得找到实际做查询的日志看看为什么查出来的结果是空的

sdandroid commented 4 months ago

有时候dns解析有问题,打开国内网站就卡卡的。

你发的这些看着都是 negative cache,压根没发出去,你得找到实际做查询的日志看看为什么查出来的结果是空的

实际查询的是打开dnsmasq 的查询日志吗?

yichya commented 4 months ago

实际查询的是打开dnsmasq 的查询日志吗?

不是,你得往前翻翻,找找实际做查询的日志,或者等十分钟缓存过期

2fact commented 4 months ago

Found one issue that the SOCKS outbound can't be configured to skip authentication. While users list is not empty, Xray will always authenticate: https://xtls.github.io/config/outbounds/socks.html#serverobject.

Try #391

Thanks. Working great now 👍

sdandroid commented 4 months ago

实际查询的是打开dnsmasq 的查询日志吗?

不是,你得往前翻翻,找找实际做查询的日志,或者等十分钟缓存过期 https://github.com/XTLS/Xray-core/issues/2248 会不会是这个问题。

yichya commented 4 months ago

会不会是这个问题。

= = 我自己用的 Xray 把它自带的 negative cache 干掉了,不好讲

sdandroid commented 4 months ago

会不会是这个问题。

= = 我自己用的 Xray 把它自带的 negative cache 干掉了,不好讲

return function(config) {
    config.dns.disableCache=true;
    config.dns.queryStrategy="UseIPv4";
    return config;
};

打开这个页面总是有请求 pending https://passport.jd.com/new/login.aspx?ReturnUrl=https%3A%2F%2Fwww.jd.com%2F