diff --git a/luci-app-ssr-plus/Makefile b/luci-app-ssr-plus/Makefile index 98ed6721..ac0c8ad0 100644 --- a/luci-app-ssr-plus/Makefile +++ b/luci-app-ssr-plus/Makefile @@ -4,7 +4,7 @@ LUCI_TITLE:=luci-app-ssr-plus LUCI_PKGARCH:=all PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=190 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \ diff --git a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua index 9596ca39..fd27acd7 100755 --- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua +++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua @@ -372,20 +372,22 @@ end mldsa65Verify = (server.enable_mldsa65verify == '1') and server.reality_mldsa65verify or nil, serverName = server.tls_host } or nil, - rawSettings = ((server.transport == "raw" or server.transport == "tcp") and (server.tcp_guise and server.tcp_guise ~= "none")) and { + rawSettings = ((server.transport == "raw" or server.transport == "tcp") + and (server.tcp_guise and server.tcp_guise ~= "none")) and { -- tcp header = { type = server.tcp_guise, request = (server.tcp_guise == "http") and { path = server.http_path and (function() local t, r = server.http_path, {} + if type(t) == "string" then t = {t} end for _, v in ipairs(t) do r[#r + 1] = (v == "" and "/" or v) end return r end)() or {"/"}, headers = (server.http_path or server.user_agent) and { - Host = server.http_path, + Host = (type(server.http_host) == "string") and {server.http_host} or server.http_host, ["User-Agent"] = server.user_agent and {server.user_agent} or nil } or nil } or nil diff --git a/sing-box/Makefile b/sing-box/Makefile index 70a69327..dff0b1bd 100644 --- a/sing-box/Makefile +++ b/sing-box/Makefile @@ -5,8 +5,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sing-box -PKG_VERSION:=1.13.4 -PKG_RELEASE:=4 +PKG_VERSION:=1.13.5 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/SagerNet/sing-box/tar.gz/v$(PKG_VERSION)? diff --git a/tun2socks/Makefile b/tun2socks/Makefile index 91fb6e01..be1f8230 100644 --- a/tun2socks/Makefile +++ b/tun2socks/Makefile @@ -2,11 +2,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tun2socks PKG_VERSION:=2.6.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/xjasonlyu/tun2socks.git -PKG_SOURCE_VERSION:=c36137df92a9f9a698a1bae73518c445802df82d +PKG_SOURCE_VERSION:=1d8af8ed96bc281b81b319193c94305f074e34be PKG_MAINTAINER:=Konstantine Shevlakov PKG_LICENSE:=GPL-3.0