Change User-Agent to F-string on OpenWRT router to prevent being detected.
Go to file
2023-04-21 21:26:27 +08:00
.github/workflows refactor: rewrite to support ipv6 2023-04-21 21:26:27 +08:00
files refactor: rewrite to support ipv6 2023-04-21 21:26:27 +08:00
src refactor: rewrite to support ipv6 2023-04-21 21:26:27 +08:00
.gitignore style: clean code 2023-04-12 22:08:34 +08:00
CMakeLists.txt refactor: rewrite to support ipv6 2023-04-21 21:26:27 +08:00
CODE_OF_CONDUCT.md chore: add code of conduct 2022-03-12 17:36:38 +08:00
LICENSE Update LICENSE 2021-01-06 15:18:01 +08:00
Makefile refactor: rewrite to support ipv6 2023-04-21 21:26:27 +08:00
README.md refactor: rewrite to support ipv6 2023-04-21 21:26:27 +08:00

UA2F FOSSA Status

暂时来说,懒得写 README请先参照 博客文章 完成操作

如果遇到了任何问题,欢迎提出 Issues但是更欢迎直接提交 Pull Request

由于新加入的 CONNMARK 影响,编译内核时需要添加 NETFILTER_NETLINK_GLUE_CT flag

uci command

# Enable the daemon
uci set ua2f.enabled.enabled=1
# At your option set fw rules
uci set ua2f.firewall.handle_fw=1
uci set ua2f.firewall.handle_tls=1
uci set ua2f.firewall.handle_mmtls=1
uci set ua2f.firewall.handle_intranet=1

# Apply your modifications
uci commit ua2f

service ua2f enable
# Start the daemon
service ua2f start

TODO

  • pthread 支持,由不同线程完成入队出队
  • 清除 TCP Header 中的 timestamp有论文认为这可以被用来识别 NAT 后的多设备,劫持 NTP 服务器并不一定有效

License

FOSSA Status