mirror of
https://github.com/kenzok8/small.git
synced 2025-01-07 03:26:39 +08:00
update 2024-09-10 10:40:56
This commit is contained in:
parent
444fa6e4f0
commit
7f53bb11e9
@ -371,6 +371,10 @@ local api = require "luci.passwall.api"
|
||||
v_transport = "splithttp";
|
||||
params += opt.query("host", dom_prefix + "splithttp_host");
|
||||
params += opt.query("path", dom_prefix + "splithttp_path");
|
||||
} else if (v_transport === "httpupgrade") {
|
||||
v_transport = "httpupgrade";
|
||||
params += opt.query("host", dom_prefix + "httpupgrade_host");
|
||||
params += opt.query("path", dom_prefix + "httpupgrade_path");
|
||||
}
|
||||
params += "&type=" + v_transport;
|
||||
|
||||
@ -1149,6 +1153,9 @@ local api = require "luci.passwall.api"
|
||||
} else if (queryParam.type === "splithttp") {
|
||||
opt.set(dom_prefix + 'splithttp_host', queryParam.host || "");
|
||||
opt.set(dom_prefix + 'splithttp_path', queryParam.path || "");
|
||||
} else if (queryParam.type === "httpupgrade") {
|
||||
opt.set(dom_prefix + 'httpupgrade_host', queryParam.host || "");
|
||||
opt.set(dom_prefix + 'httpupgrade_path', queryParam.path || "");
|
||||
}
|
||||
|
||||
if (m.hash) {
|
||||
|
@ -492,6 +492,10 @@ local function processData(szType, content, add_mode, add_from)
|
||||
result.splithttp_host = info.host
|
||||
result.splithttp_path = info.path
|
||||
end
|
||||
if info.net == 'httpupgrade' then
|
||||
result.httpupgrade_host = info.host
|
||||
result.httpupgrade_path = info.path
|
||||
end
|
||||
if not info.security then result.security = "auto" end
|
||||
if info.tls == "tls" or info.tls == "1" then
|
||||
result.tls = "1"
|
||||
@ -835,7 +839,11 @@ local function processData(szType, content, add_mode, add_from)
|
||||
result.splithttp_host = params.host
|
||||
result.splithttp_path = params.path
|
||||
end
|
||||
|
||||
if params.type == 'httpupgrade' then
|
||||
result.httpupgrade_host = params.host
|
||||
result.httpupgrade_path = params.path
|
||||
end
|
||||
|
||||
result.encryption = params.encryption or "none"
|
||||
|
||||
result.flow = params.flow or nil
|
||||
@ -968,6 +976,10 @@ local function processData(szType, content, add_mode, add_from)
|
||||
result.splithttp_host = params.host
|
||||
result.splithttp_path = params.path
|
||||
end
|
||||
if params.type == 'httpupgrade' then
|
||||
result.httpupgrade_host = params.host
|
||||
result.httpupgrade_path = params.path
|
||||
end
|
||||
|
||||
result.encryption = params.encryption or "none"
|
||||
|
||||
|
@ -5,9 +5,9 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git
|
||||
PKG_SOURCE_DATE:=2024-09-07
|
||||
PKG_SOURCE_VERSION:=ade4234615e7747ff79e98b27ff117a05c8110fa
|
||||
PKG_MIRROR_HASH:=b68d0af02c4f06672deee7abbf96078975c710dc73a02a3eeb3ff5c67e5d74e5
|
||||
PKG_SOURCE_DATE:=2024-09-09
|
||||
PKG_SOURCE_VERSION:=7c8f451892258afe80e211867a118cd1d6aba63c
|
||||
PKG_MIRROR_HASH:=97d7d7ecfe9b5782cb430edff39d5463b997fae128c302f18fc91be2fdb746a5
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_MAINTAINER:=Joseph Mory <morytyann@gmail.com>
|
||||
|
@ -9,11 +9,10 @@ PKG_NAME:=redsocks2
|
||||
PKG_VERSION:=0.70
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/semigodking/redsocks.git
|
||||
PKG_SOURCE_DATE:=2024-09-07
|
||||
PKG_SOURCE_VERSION:=2ca40529962f78ad228a2d81f0645e9b804b7e8e
|
||||
PKG_MIRROR_HASH:=096646ec389397e05b5b90c39af2b891a1d45b420bd7648162113a355ed7cb26
|
||||
PKG_SOURCE:=redsocks-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/semigodking/redsocks/tar.gz/release-$(PKG_VERSION)?
|
||||
PKG_HASH:=2f0536132b744801a135e89c17ee8d51c1893371df8646c0b8e8504d33edb23c
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/redsocks-release-$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=semigodking <semigodking@gmail.com>
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user