update 2022-11-02 20:28:02
This commit is contained in:
parent
84444cb900
commit
e1076d9faa
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-xray
|
PKG_NAME:=luci-app-xray
|
||||||
PKG_VERSION:=1.23.0
|
PKG_VERSION:=1.23.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_LICENSE:=MPLv2
|
PKG_LICENSE:=MPLv2
|
||||||
|
|
|
@ -299,8 +299,10 @@ function vmess_outbound(server, tag) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function vless_outbound(server, tag) {
|
function vless_outbound(server, tag) {
|
||||||
let flow = server["vless_flow"];
|
let flow = null;
|
||||||
if (server["vless_tls"] == "tls") {
|
if (server["vless_tls"] == "xtls") {
|
||||||
|
flow = server["vless_flow"]
|
||||||
|
} else if (server["vless_tls"] == "tls") {
|
||||||
flow = server["vless_flow_tls"]
|
flow = server["vless_flow_tls"]
|
||||||
}
|
}
|
||||||
if (flow == "none") {
|
if (flow == "none") {
|
||||||
|
@ -335,7 +337,10 @@ function vless_outbound(server, tag) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function trojan_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") {
|
if (flow == "none") {
|
||||||
flow = null;
|
flow = null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=natflow
|
PKG_NAME:=natflow
|
||||||
PKG_VERSION:=20221013
|
PKG_VERSION:=20221102
|
||||||
|
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)?
|
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_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
||||||
PKG_MAINTAINER:=Chen Minqiang <ptpt52@gmail.com>
|
PKG_MAINTAINER:=Chen Minqiang <ptpt52@gmail.com>
|
||||||
|
|
|
@ -896,9 +896,6 @@ u_int32_t app_filter_hook_bypass_handle(struct sk_buff *skb, struct net_device *
|
||||||
if (!skb || !dev)
|
if (!skb || !dev)
|
||||||
return NF_ACCEPT;
|
return NF_ACCEPT;
|
||||||
|
|
||||||
if (skb->len > MAX_BYPASS_DPI_PKT_LEN)
|
|
||||||
return NF_ACCEPT;
|
|
||||||
|
|
||||||
memset((char *)&flow, 0x0, sizeof(flow_info_t));
|
memset((char *)&flow, 0x0, sizeof(flow_info_t));
|
||||||
if (parse_flow_proto(skb, &flow) < 0)
|
if (parse_flow_proto(skb, &flow) < 0)
|
||||||
return NF_ACCEPT;
|
return NF_ACCEPT;
|
||||||
|
|
Loading…
Reference in New Issue