|
5 жил өмнө | |
---|---|---|
.github | 5 жил өмнө | |
luasrc | 5 жил өмнө | |
po | 5 жил өмнө | |
root | 5 жил өмнө | |
.gitattributes | 5 жил өмнө | |
.gitignore | 5 жил өмнө | |
Makefile | 5 жил өмнө | |
README.md | 5 жил өмнө |
复杂的AdGuardHome的openwrt的luci界面
系统升级保留程序和配置(查询日志和数据库可选保留)
db数据库不支持放在不支持mmap的文件系统上比如 jffs2 data-stk-oo,请修改工作目录,本软件如果检测到jffs2会自动ln(软连接)到/tmp,将会导致重启丢失dns数据库
AdGuardHome 不支持ipset 设置,在使用ipset的情况下,无法替代dnsmasq只能作为dnsmasq上游存在,如果你想要这个功能就去投票吧
https://github.com/AdguardTeam/AdGuardHome/issues/1191
反馈出现大量127.0.0.1查询localhost的请求,问题出现原因是ddns插件,如果不用ddns插件,请删空ddns插件中的所有规则,插件中的每一个规则会在一秒钟产生一个这样的请求(只出现在mips上)
下载release,使用opkg安装即可
或者编译op时clone本项目加入软件包并勾选
本着较真的想法,我测试了在jffs2的压缩文件系统上进行upx压缩结果的内存占用与空间占用(单位kb,使用最好压缩)
文件大小
源文件 14112 使用upx 压缩后 5309
实际占用 6260 使用upx 压缩后 5324 差值为 936
VmRSS运存占用值
不压缩 14380 使用upx 压缩后 18496 差值 -4116
对于压缩文件系统来说开启收益有,但不大
如果是非压缩文件系统,性价比还是比较高的
所以压缩是用运存空间来换rom空间,觉得值得就可以开启
Complex openwrt AdGuardHome luci
Keep bin file and config when system upgrade (database and querylog can be choose)
db database not support filesystem which not support mmap such as jffs2 and data-stk-oo,please modify work dir,if jffs2 is found,will auto ln (soft link)the dbs to /tmp ,will lost dns database after reboot
AdGuardhome not support ipset,when we use ipset ,it can`t be the repacement of dnsmasq but the upstream of dnsmasq ,if you want it,vote for it.
https://github.com/AdguardTeam/AdGuardHome/issues/1191
find so many localhost query from 127.0.0.1,the ddns plugin is the reason,if you don`t use ddns,please del all the rules in it,every rules in it will make a such query every one second (just on mips)
download release,install it with opkg
or when make op,clone the code to the package path and set it as y or m