update 2022-11-02 20:28:02

This commit is contained in:
github-actions[bot] 2022-11-02 20:28:02 +08:00
parent 84444cb900
commit e1076d9faa
4 changed files with 11 additions and 9 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-xray
PKG_VERSION:=1.23.0
PKG_VERSION:=1.23.1
PKG_RELEASE:=1
PKG_LICENSE:=MPLv2

View File

@ -299,8 +299,10 @@ function vmess_outbound(server, tag) {
}
function vless_outbound(server, tag) {
let flow = server["vless_flow"];
if (server["vless_tls"] == "tls") {
let flow = null;
if (server["vless_tls"] == "xtls") {
flow = server["vless_flow"]
} else if (server["vless_tls"] == "tls") {
flow = server["vless_flow_tls"]
}
if (flow == "none") {
@ -335,7 +337,10 @@ function vless_outbound(server, tag) {
}
function trojan_outbound(server, tag) {
let flow = server["trojan_flow"];
let flow = null;
if (server["trojan_tls"] == "xtls") {
flow = server["trojan_flow"]
}
if (flow == "none") {
flow = null;
}

View File

@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=natflow
PKG_VERSION:=20221013
PKG_VERSION:=20221102
PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)?
PKG_HASH:=fd9010e21ba6536c37d061e9f4fcc7bdb542f537e5e0e5aaa1a1e8914afc9b9e
PKG_HASH:=6de000aa57096b43762933424a572a8f758cddc491ed703bc371f7e8244e1e0b
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MAINTAINER:=Chen Minqiang <ptpt52@gmail.com>

View File

@ -896,9 +896,6 @@ u_int32_t app_filter_hook_bypass_handle(struct sk_buff *skb, struct net_device *
if (!skb || !dev)
return NF_ACCEPT;
if (skb->len > MAX_BYPASS_DPI_PKT_LEN)
return NF_ACCEPT;
memset((char *)&flow, 0x0, sizeof(flow_info_t));
if (parse_flow_proto(skb, &flow) < 0)
return NF_ACCEPT;