“ConfigFiles”的版本间的差异
来自WFilter上网行为管理系统文档和指南
| 第6行: | 第6行: | ||
WSG的配置文件格式采用的是Unified Configuration Interface,请参考:[https://openwrt.org/docs/guide-user/base-system/uci Unified Configuration Interface] | WSG的配置文件格式采用的是Unified Configuration Interface,请参考:[https://openwrt.org/docs/guide-user/base-system/uci Unified Configuration Interface] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
= 配置文件列表 = | = 配置文件列表 = | ||
| 第50行: | 第44行: | ||
|} | |} | ||
| + | = 用命令行查看配置文件 = | ||
| + | |||
| + | 在“模块”->“其他”->“命令行”里面,用uci命令可以查看、修改、删除配置。 | ||
| + | |||
| + | * uci show查看文件 | ||
| + | |||
| + | [[文件:config_uci.png|800px]] | ||
| + | |||
| + | * uci set修改配置文件内容,uci commit保存修改 | ||
| + | |||
| + | [[文件:config_uci_set.png|800px]] | ||
| + | |||
= 用API修改配置文件 = | = 用API修改配置文件 = | ||
2023年9月27日 (三) 18:21的版本
1 概述
本文档描述WSG内置的配置文件列表及一部分格式。
1.1 配置文件格式
WSG的配置文件格式采用的是Unified Configuration Interface,请参考:Unified Configuration Interface
2 配置文件列表
2.1 行为管理配置文件
| 行为管理 | |
|---|---|
| wfilter-groups | 组配置 |
| wfilter-times | 时间段配置 |
| wfilter-appcontrol | 应用过滤 |
| wfilter-webfilter | 网页过滤 |
| wfilter-exception | 例外放行 |
| wfilter-imfilter | 聊天过滤 |
| wfilter-mailfilter | 邮件过滤 |
| wfilter-sslinspect | SSL监控 |
| wfilter-natdetector | 共享检测 |
| wfilter-webpush | 网页推送 |
3 用命令行查看配置文件
在“模块”->“其他”->“命令行”里面,用uci命令可以查看、修改、删除配置。
- uci show查看文件
- uci set修改配置文件内容,uci commit保存修改