UA3F icon indicating copy to clipboard operation
UA3F copied to clipboard

新一代 HTTP User-Agent 修改方法实现 - Implementation of the new generation of HTTP User-Agent modification methodology.

Results 10 UA3F issues
Sort by recently updated
recently updated
newest added

RT 使用luci启动时日志显示偶尔有链接 但打不开国内网站 使用了[ua3f-global-enhance.yaml](https://cdn.jsdelivr.net/gh/SunBK201/UA3F@master/clash/ua3f-global-enhance.yaml)配置 使用service启动也是无法打开国内网站 日志差不多 ``` [2024-06-06 15:27:44][INFO]: UA3F v0.4.0 [2024-06-06 15:27:44][INFO]: Port: 1080 [2024-06-06 15:27:44][INFO]: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36...

打开ua3f酷安app里面的图片就加载不出来,dns应该是没问题的,因为各种网站也都能打开,关闭ua3f就正常了,我去试了试ua2f也是一样,不知道是什么问题

这个问题是不定时出现的,但是出现频率很高,经常用着用着就炸了,log文件我放下面,在大概21984行出现第一次`too many open files` ![image](https://github.com/user-attachments/assets/3f58a78d-0d8c-4a7f-945d-5ae1537a7b7f) [ua3f-2024-09-23-10-30-00.log](https://github.com/user-attachments/files/17096199/ua3f-2024-09-23-10-30-00.log) ## 软路由信息 ``` root@LUMINE-OPENWRT:~/ua3f# uname -a Linux LUMINE-OPENWRT 5.15.162 #0 SMP PREEMPT Mon Jul 15 22:14:18 2024 aarch64 GNU/Linux ``` ## UA3F配置 ``` root@LUMINE-OPENWRT:~/ua3f#...

clash正常设置,然后报warming ![image](https://github.com/user-attachments/assets/b55695ff-c747-42c2-b90d-92d6daa8306f) 然后ua3f无法正常启动 ![image](https://github.com/user-attachments/assets/27cee4de-4dfc-462c-9571-bea4ed27e3db) UA无法代理 ![image](https://github.com/user-attachments/assets/98c7620c-1920-4553-8be2-bff98d4a9c12) ![image](https://github.com/user-attachments/assets/9239b705-bf35-4d45-ba6d-d043a2b21bc8) 求帮助

![IMG_20240922_164344.jpg](https://github.com/user-attachments/assets/787f3f15-c384-4870-b82f-4a75fa38dcf2)

比如用正则表达式 或者比如可以按照括号外判断空格有几个,一旦检测到三个点...就补上原始UA空格后面的内容

就是这[一行](https://github.com/SunBK201/UA3F/blob/6bc8f0a87c1dac5e7cc293469683b7a6d1565167/cmd/ua3f.go#L416)为什么没有用包自带的, 就比如这样 ```go reader := bufio.NewReader(bytes.NewReader(buf[0:nr])) http.ReadRequest(reader) ``` 这里面是有什么坑么, 如果没有坑的话, 我感觉我可以改一下, 然后交一版pr看看

此外,还有很多warning [2024-09-19 05:47:11][WARNING]: Connect failed: dial dst:dial tcp: lookup pds-app-cn-beijing.cn-beijing.log.aliyuncs.com on [::1]:53: server misbehaving [2024-09-19 05:47:11][WARNING]: Connect failed: dial dst:dial tcp: lookup log.getadblock.com on [::1]:53: server misbehaving

百度,bing之类的打不开,能ping通,显示找不到DNS