diff --git a/Dockerfile b/Dockerfile
index 26c0338..78fbbda 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM --platform=$BUILDPLATFORM golang:1.19-alpine AS builder
+FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS builder
WORKDIR /app
diff --git a/README.md b/README.md
index 67f4136..adbd3ee 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@ UA3F 是一个 HTTP Header 重写工具,作为一个 HTTP、SOCKS5、TPROXY、
- 支持 opkg 安装、编译安装、Docker 部署多种方式
- 支持 OpenWrt 17.01 及以上版本
- 兼容 Clash Fake-IP & Redir-Host 多种模式伴生运行
+- 支持 TTL,TCP Timestamp,IPID 伪装
@@ -97,6 +98,8 @@ sudo -u shellcrash /usr/bin/ua3f
- `-r `: 自定义正则匹配 User-Agent, 默认为空, 表示所有 User-Agent 都会被重写
- `-s`: 部分替换,仅替换正则匹配到的部分
- `-z`: 重写规则,json string 格式,仅在 RULES 重写策略模式下生效
+- `-o ttl,tcpts,ipid`: 启用 TTL、TCP Timestamp、IP ID 伪装功能
+
### 服务模式说明
diff --git a/build.sh b/build.sh
index 0abebc9..5c1c691 100755
--- a/build.sh
+++ b/build.sh
@@ -8,7 +8,7 @@
set -e
project_name="ua3f"
-release_version="1.7.0"
+release_version="1.8.0"
target=main.go
dist=./dist
release_dir=./bin
diff --git a/ipkg/CONTROL/control b/ipkg/CONTROL/control
index ad4d86c..de0a979 100644
--- a/ipkg/CONTROL/control
+++ b/ipkg/CONTROL/control
@@ -1,5 +1,5 @@
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
Source: /feed/openwrt
SourceName: UA3F
diff --git a/ipkg/CONTROL/control-e b/ipkg/CONTROL/control-e
index ad4d86c..de0a979 100644
--- a/ipkg/CONTROL/control-e
+++ b/ipkg/CONTROL/control-e
@@ -1,5 +1,5 @@
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
Source: /feed/openwrt
SourceName: UA3F
diff --git a/openwrt/Makefile b/openwrt/Makefile
index f6fb5f6..9f2f582 100644
--- a/openwrt/Makefile
+++ b/openwrt/Makefile
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=UA3F
-PKG_VERSION:=1.7.0
+PKG_VERSION:=1.8.0
PKG_RELEASE:=1
# PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/openwrt/files/luci/model/cbi/ua3f.lua b/openwrt/files/luci/model/cbi/ua3f.lua
index 5cbc44a..d7450cd 100644
--- a/openwrt/files/luci/model/cbi/ua3f.lua
+++ b/openwrt/files/luci/model/cbi/ua3f.lua
@@ -6,7 +6,7 @@ local NamedSection = cbi.NamedSection
local ua3f = cbi.Map("ua3f",
"UA3F",
[[
- Version: 1.7.0
+ Version: 1.8.0
Across the Campus we can reach every corner in the world.
]]
diff --git a/src/go.mod b/src/go.mod
index 892876a..76c0735 100644
--- a/src/go.mod
+++ b/src/go.mod
@@ -2,8 +2,6 @@ module github.com/sunbk201/ua3f
go 1.21
-toolchain go1.24.6
-
require (
github.com/coreos/go-iptables v0.8.0
github.com/dlclark/regexp2 v1.11.4
diff --git a/src/main.go b/src/main.go
index 000f8fe..085b072 100644
--- a/src/main.go
+++ b/src/main.go
@@ -15,7 +15,7 @@ import (
"github.com/sunbk201/ua3f/internal/statistics"
)
-const version = "1.7.0"
+const version = "1.8.0"
func main() {
cfg, showVer := config.Parse()