From 5917acc7702e052e3ae4adfe25886036eab37d8b Mon Sep 17 00:00:00 2001 From: Zxilly Date: Mon, 25 Dec 2023 20:40:30 +0800 Subject: [PATCH] chore: bump version to 4.5.0 Now it's possible to run without uci --- README.md | 8 ++++++-- openwrt/Makefile | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab68bbd7..8a10f680 100644 --- a/README.md +++ b/README.md @@ -61,11 +61,15 @@ uci commit ua2f > UA2F 不会修改包的大小,因此即使自定义了 User-Agent, 运行时实际的 User-Agent 会是一个从 custom ua 中截取的长度与原始 User-Agent 相同的子串,长度不足时会在末尾补空格。 +## 在非 OpenWRT 系统上运行 + +自 `v4.5.0 起`,UA2F 支持在非 OpenWRT 系统上运行,但是需要手动配置防火墙规则,将需要处理的流量转发到 `netfilter-queue` 的 10010 队列中。 + +编译时,需要添加 `-DUA2F_ENABLE_UCI=OFF` flag 至 CMake。 + ## TODO - [ ] pthread 支持,由不同线程完成入队出队 -- [ ] 清除 TCP Header 中的 timestamp,有论文认为这可以被用来识别 NAT 后的多设备,劫持 NTP 服务器并不一定有效 - ## License [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FZxilly%2FUA2F.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FZxilly%2FUA2F?ref=badge_large) diff --git a/openwrt/Makefile b/openwrt/Makefile index e8f977cb..62500a7e 100644 --- a/openwrt/Makefile +++ b/openwrt/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=UA2F -PKG_VERSION:=4.4.1 +PKG_VERSION:=4.5.0 PKG_RELEASE:=1 PKG_LICENSE:=GPL-3.0-only