文件操作 - znc-adminlog
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/fail2ban/tests/files/logs/znc-adminlog
编辑文件内容
# failJSON: { "time": "2018-10-27T01:40:55", "match": true , "host": "1.2.3.4" } [2018-10-27 01:40:55] [girst] failed to login from 1.2.3.4 # failJSON: { "match": false } [2018-10-27 01:40:17] [girst] connected to ZNC from 1.2.3.4 # failJSON: { "match": false } [2018-10-27 01:40:21] [girst] disconnected from ZNC from 1.2.3.4 # failJSON: { "time": "2019-09-08T15:53:19", "match": true , "host": "192.0.2.1", "desc": "port after IP" } [2019-09-08 15:53:19] [admin] failed to login from 192.0.2.1:65001 # filterOptions: {"logtype": "journal"} # failJSON: { "match": true , "host": "192.0.2.2", "desc": "systemd-journal entry, port after IP" } Test znc[37232]: [admin] failed to login from 192.0.2.2:65009
修改文件时间
将文件时间修改为当前时间的前一年
删除文件