|
5 роки тому | |
---|---|---|
.github | 5 роки тому | |
luasrc | 5 роки тому | |
po | 5 роки тому | |
root | 5 роки тому | |
.gitattributes | 5 роки тому | |
.gitignore | 5 роки тому | |
Makefile | 5 роки тому | |
README.md | 5 роки тому |
复杂的AdGuardHome的openwrt的luci界面
计划任务(以下为默认值,时间和参数可以在计划任务中调整)
自动更新gfw列表并重启adh (3:30/天,无更新不重启)
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插件,请删除或者注释掉\etc\hotplug.d\iface\95-ddns的内容,如果还有其他来自本机的异常查询情况,高级玩家可以使用kmod来查找原因https://github.com/rufengsuixing/kmod-plog-port
如果出现需要多次提交才有反应的现象请及时提交issue
下载release,使用opkg安装即可
或者编译op时clone本项目加入软件包并勾选
本着较真的想法,我测试了在jffs2的压缩文件系统上进行upx压缩结果的内存占用与空间占用(单位kb,使用最好压缩)
文件大小
源文件 14112 使用upx 压缩后 5309
实际占用 6260 使用upx 压缩后 5324 差值为 936
VmRSS运存占用值
不压缩 14380 使用upx 压缩后 18496 差值 -4116
对于压缩文件系统来说开启收益有,但不大
如果是非压缩文件系统,性价比还是比较高的
所以压缩是用运存空间来换rom空间,觉得值得就可以开启
方法四gfw代理:dns重定向-重定向53端口到AdGuardHome,设置adh上游dns 为127.0.0.1:53
Complex openwrt AdGuardHome luci
backup workdir when shutdown
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 remove or comment \etc\hotplug.d\iface\95-ddns
download release,install it with opkg
or when make op,clone the code to the package path and set it as y or m