mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-18 17:56:25 +00:00
chore: bump version to 1.8.0
This commit is contained in:
parent
50fdf9c0cd
commit
aec56830f8
@ -1,4 +1,4 @@
|
|||||||
FROM --platform=$BUILDPLATFORM golang:1.19-alpine AS builder
|
FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@ UA3F 是一个 HTTP Header 重写工具,作为一个 HTTP、SOCKS5、TPROXY、
|
|||||||
- 支持 opkg 安装、编译安装、Docker 部署多种方式
|
- 支持 opkg 安装、编译安装、Docker 部署多种方式
|
||||||
- 支持 OpenWrt 17.01 及以上版本
|
- 支持 OpenWrt 17.01 及以上版本
|
||||||
- 兼容 Clash Fake-IP & Redir-Host 多种模式伴生运行
|
- 兼容 Clash Fake-IP & Redir-Host 多种模式伴生运行
|
||||||
|
- 支持 TTL,TCP Timestamp,IPID 伪装
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@ -97,6 +98,8 @@ sudo -u shellcrash /usr/bin/ua3f
|
|||||||
- `-r <regex>`: 自定义正则匹配 User-Agent, 默认为空, 表示所有 User-Agent 都会被重写
|
- `-r <regex>`: 自定义正则匹配 User-Agent, 默认为空, 表示所有 User-Agent 都会被重写
|
||||||
- `-s`: 部分替换,仅替换正则匹配到的部分
|
- `-s`: 部分替换,仅替换正则匹配到的部分
|
||||||
- `-z`: 重写规则,json string 格式,仅在 RULES 重写策略模式下生效
|
- `-z`: 重写规则,json string 格式,仅在 RULES 重写策略模式下生效
|
||||||
|
- `-o ttl,tcpts,ipid`: 启用 TTL、TCP Timestamp、IP ID 伪装功能
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### 服务模式说明
|
### 服务模式说明
|
||||||
|
|||||||
2
build.sh
2
build.sh
@ -8,7 +8,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
project_name="ua3f"
|
project_name="ua3f"
|
||||||
release_version="1.7.0"
|
release_version="1.8.0"
|
||||||
target=main.go
|
target=main.go
|
||||||
dist=./dist
|
dist=./dist
|
||||||
release_dir=./bin
|
release_dir=./bin
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
Package: ua3f
|
Package: ua3f
|
||||||
Version: 1.7.0-1
|
Version: 1.8.0-1
|
||||||
Depends: luci-compat, ipset, iptables, iptables-mod-tproxy, iptables-mod-extra, iptables-mod-nat-extra, kmod-ipt-conntrack, iptables-mod-ipopt, iptables-mod-nfqueue, iptables-mod-conntrack-extra, kmod-nf-conntrack-netlink
|
Depends: luci-compat, ipset, iptables, iptables-mod-tproxy, iptables-mod-extra, iptables-mod-nat-extra, kmod-ipt-conntrack, iptables-mod-ipopt, iptables-mod-nfqueue, iptables-mod-conntrack-extra, kmod-nf-conntrack-netlink
|
||||||
Source: /feed/openwrt
|
Source: /feed/openwrt
|
||||||
SourceName: UA3F
|
SourceName: UA3F
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
Package: ua3f
|
Package: ua3f
|
||||||
Version: 1.7.0-1
|
Version: 1.8.0-1
|
||||||
Depends: luci-compat, ipset, iptables, iptables-mod-tproxy, iptables-mod-extra, iptables-mod-nat-extra, kmod-ipt-conntrack, iptables-mod-ipopt, iptables-mod-nfqueue, iptables-mod-conntrack-extra, kmod-nf-conntrack-netlink
|
Depends: luci-compat, ipset, iptables, iptables-mod-tproxy, iptables-mod-extra, iptables-mod-nat-extra, kmod-ipt-conntrack, iptables-mod-ipopt, iptables-mod-nfqueue, iptables-mod-conntrack-extra, kmod-nf-conntrack-netlink
|
||||||
Source: /feed/openwrt
|
Source: /feed/openwrt
|
||||||
SourceName: UA3F
|
SourceName: UA3F
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=UA3F
|
PKG_NAME:=UA3F
|
||||||
PKG_VERSION:=1.7.0
|
PKG_VERSION:=1.8.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
# PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
# PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|||||||
@ -6,7 +6,7 @@ local NamedSection = cbi.NamedSection
|
|||||||
local ua3f = cbi.Map("ua3f",
|
local ua3f = cbi.Map("ua3f",
|
||||||
"UA3F",
|
"UA3F",
|
||||||
[[
|
[[
|
||||||
<a href="https://github.com/SunBK201/UA3F" target="_blank">Version: 1.7.0</a>
|
<a href="https://github.com/SunBK201/UA3F" target="_blank">Version: 1.8.0</a>
|
||||||
<br>
|
<br>
|
||||||
Across the Campus we can reach every corner in the world.
|
Across the Campus we can reach every corner in the world.
|
||||||
]]
|
]]
|
||||||
|
|||||||
@ -2,8 +2,6 @@ module github.com/sunbk201/ua3f
|
|||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
toolchain go1.24.6
|
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/coreos/go-iptables v0.8.0
|
github.com/coreos/go-iptables v0.8.0
|
||||||
github.com/dlclark/regexp2 v1.11.4
|
github.com/dlclark/regexp2 v1.11.4
|
||||||
|
|||||||
@ -15,7 +15,7 @@ import (
|
|||||||
"github.com/sunbk201/ua3f/internal/statistics"
|
"github.com/sunbk201/ua3f/internal/statistics"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version = "1.7.0"
|
const version = "1.8.0"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
cfg, showVer := config.Parse()
|
cfg, showVer := config.Parse()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user