Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ua2f在immwrt24.10不生效,无报错,就是ua没没有被修改 #149

Open
AviderMin opened this issue Feb 16, 2025 · 20 comments
Open
Labels
bug Something isn't working

Comments

@AviderMin
Copy link

不止我一个有这个情况,不知道是不是ua2f的问题

@Zxilly
Copy link
Owner

Zxilly commented Feb 16, 2025

给的信息太少了,修不了

@Zxilly Zxilly added the question Further information is requested label Feb 16, 2025
@AviderMin
Copy link
Author

设备是小米路由器4A千兆版,版本是24.10.0 (r32824-6a73dae98c9c),ua2f是4.9.6-r1,在使用命令启动service ua2f start,命令行内无报错,但是ua未被修改,如何去找log日志,请告诉我,我去看看

@AviderMin
Copy link
Author

我是在imm的软件包里直接安装ua2f的,防火墙用的是nftables

@AviderMin
Copy link
Author

已经关闭了关闭全锥形NAT和软件流量分载

@Zxilly
Copy link
Owner

Zxilly commented Feb 16, 2025

启动ua2f以后把syslog打出来看看

@AviderMin
Copy link
Author

我现在在23.05,ua2f正常,我找时间到24.10复现

@Yalimasnei
Copy link

我之前编译的时候也这样,后面切23.05再编译就正常了

@DragonYH
Copy link

DragonYH commented Feb 23, 2025

我也在24.10遇到了问题

Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Git commit: unknown
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Git branch: unknown
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Git tag: unknown
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Statistics initialized.
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Using embed user agent string: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.68
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Handler initialized.
Sun Feb 23 15:38:27 2025 syslog.warn UA2F[7023]: Kernel does not support packet timestamps
Sun Feb 23 15:38:27 2025 syslog.info UA2F[7023]: Cache lock initialized
Sun Feb 23 15:38:27 2025 syslog.info UA2F[7023]: Cleanup thread created
Sun Feb 23 15:38:27 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:31 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:31 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:37 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:44 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:44 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:45 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.

@DragonYH
Copy link

我也在24.10遇到了问题

Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Git commit: unknown
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Git branch: unknown
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Git tag: unknown
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Statistics initialized.
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Using embed user agent string: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.68
Sun Feb 23 15:38:25 2025 syslog.info UA2F[7023]: Handler initialized.
Sun Feb 23 15:38:27 2025 syslog.warn UA2F[7023]: Kernel does not support packet timestamps
Sun Feb 23 15:38:27 2025 syslog.info UA2F[7023]: Cache lock initialized
Sun Feb 23 15:38:27 2025 syslog.info UA2F[7023]: Cleanup thread created
Sun Feb 23 15:38:27 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:31 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:31 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:37 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:43 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:44 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:44 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.
Sun Feb 23 15:38:45 2025 syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.

似乎是新版本的防火墙改为了nftables,而不是老版本的iptables

@Zxilly
Copy link
Owner

Zxilly commented Feb 23, 2025

但是应该能够继续正常工作才对,只是会打印出警告,我做了额外的检测的。
而且为啥你这版本字符串全是空的?
24.10 是不是不用 opkg 了改用 apk 了?我怀疑是这个的问题。

@DragonYH
Copy link

我直接在immortalwrt编译的,具体什么原因我也不清楚。opkg还是能用的

@mcshijian
Copy link

我用kwrt编译的24.10日志也是一直syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules.

@mah1618
Copy link

mah1618 commented Feb 26, 2025

我也遇到了相同的问题版本是 无报错,UA不改变 LEDE R24.11.11 / LuCI openwrt-23.05 branch git-25.046.24133-2ef1f31

@mah1618
Copy link

mah1618 commented Feb 26, 2025

LEDE编译的

@Zxilly Zxilly added bug Something isn't working and removed question Further information is requested labels Feb 26, 2025
@Zxilly
Copy link
Owner

Zxilly commented Feb 26, 2025

应该是24.10的兼容问题,但是我最近应该没空修,看看有哪个路过的有心情研究一下吧

@Zxilly Zxilly pinned this issue Feb 26, 2025
@mcshijian
Copy link

试了下在24.10中使用ua2f 4.9.6版本就会报syslog.warn UA2F[7023]: Received non-tcp packet. You may set wrong firewall rules. 而使用4.8.3就正常使用且没报错

@Zxilly
Copy link
Owner

Zxilly commented Feb 27, 2025

逻辑都是一样的,只是以前没有打这条错误日志

@mcshijian
Copy link

但在24.10上4.8.3确实就能正常改ua了

@Zxilly
Copy link
Owner

Zxilly commented Feb 27, 2025

能正常工作吗?那我回头检查下

@Yalimasnei
Copy link

Yalimasnei commented Feb 27, 2025

当时我测的时候是运行了一下马上挂了,4.8.3不清楚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants