Zxilly / UA2F

Change User-Agent to F-string on OpenWRT router to prevent being detected.
https://learningman.top/archives/304
GNU General Public License v3.0
419 stars 85 forks source link

j1900编译openwrt无法开启ua2f #101

Closed forgotfish closed 1 year ago

forgotfish commented 1 year ago

遇到一个非常奇怪的问题,编译成功,ua2f初始化成功,但是“service ua2f start”无反应,网页端查询ua2f已启动,本地终端查询service反馈为“/etc/init.d/ua2f enabled stopped”内核日志无报错,系统日志查询“ua2f”为无 C(IYWD BCY1ZZX$L9{12G3W N63H1 6Z93{)XY}@K4XJ%XP {`K7QSIUO3DYN$UVIF4K7B9 6TP99H(PZ2}ZO1MWU3})UXC

Zxilly commented 1 year ago

系统日志你应该发最后那段而不是系统还在初始化的日志

Zxilly commented 1 year ago

service ua2f start 本来就没有回显

forgotfish commented 1 year ago

确实没有生效,同样的固件在上一台x86_64设备上生效了(上一台烧坏了,才换的这台)

V$9BO %_9I_LHMAEXZT D(1

这张是系统日志的最后一段 AZLV_{YTS$06GVVZD0E_OKI

Zxilly commented 1 year ago

command -v nft 看下输出

forgotfish commented 1 year ago

7R(PU)OL1RQGE20G6~COQ@H 没有反馈...

Zxilly commented 1 year ago

cat /etc/config/ua2f

forgotfish commented 1 year ago

6WPM93CL(XI38N$RYGB4Q(4 如图

Zxilly commented 1 year ago

你没启用 ua2f

uci set ua2f.enabled.enabled=1
uci commit
service ua2f restart
forgotfish commented 1 year ago

P7%J_SUFD`8@@CP00KXFP6Q 好奇怪...

Zxilly commented 1 year ago

service 打错了,你自己改一下

forgotfish commented 1 year ago

哦哦哦,才看到,service

forgotfish commented 1 year ago

感谢感谢