Skip to content
/ UA2F Public
forked from Zxilly/UA2F

Change User-Agent to F-string on OpenWRT router to prevent being detected.

License

Notifications You must be signed in to change notification settings

YL2209/UA2F

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Change User-Agent to F-string on OpenWRT router to prevent being detected.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.5%
  • Shell 2.9%
  • Other 1.6%