Commit Graph

35 Commits

Author SHA1 Message Date
aa8e5cf41a 添加cron定时解析配置,设定时间杀毒 2022-10-25 23:07:47 +08:00
07f551d5e4 添加病毒扫描 2022-10-22 18:41:00 +08:00
71e5cd59d7 完全静态编译 2022-10-14 10:46:34 +08:00
b8bd3f3afe 增加地域白名单 2022-10-13 18:01:06 +08:00
706299cd4c 增加IP白名单,增加显示封禁IP地域 2022-10-10 17:52:00 +08:00
15b093d3f6 优化 2022-10-08 14:39:22 +08:00
764491d70a Merge branch 'master' of https://git.aixiao.me/aixiao/denyhosts 2022-10-08 14:38:34 +08:00
9421d1f1eb 修改获取公网IP方法,优化配置打印
修改:     Makefile
	修改:     README.md
	修改:     conf.c
	修改:     conf.h
	修改:     denyhosts.sh
	修改:     libiptc.c
	修改:     libiptc.h
	修改:     rhost.c
	修改:     rhost.conf
	修改:     rhost.h
2022-10-08 14:28:05 +08:00
969927106e 修复iptc_add_rule("filter", "INPUT", IPPROTO_TCP, NULL, NULL, srcIp, 0, NULL, NULL, "DROP", NULL, 1); 参数src和dest写反的问题
修复int x_get_rule(const char *chain, struct xtc_handle *handle, char *ipv4);函数entry->ip.src写错
2022-09-29 17:18:25 +08:00
78ffb8d017 格式化风格 2022-09-29 14:45:29 +08:00
526aac6765 修复上次提交的mail发送错误 2022-09-29 14:13:07 +08:00
5bf87613f1 不在使用curl命令获取公网IP 2022-09-29 13:45:29 +08:00
a7ff1174c0 修复错误 2022-08-09 15:59:18 +08:00
a5baeac084 更新README.md 2022-08-09 15:30:38 +08:00
588f5aa26d 编译优化 2022-08-09 15:25:06 +08:00
6024acd745 更新README.md 2022-08-06 11:48:21 +08:00
0ad3df3770 优化 2022-07-13 11:27:22 +08:00
5ef0de5b85 修改: README.md 2022-07-08 09:16:58 +08:00
bb544a72de 使用libiptc下发规则 2022-07-07 16:52:24 +08:00
13d417727c 增加告警、优化 2022-06-26 19:49:00 +08:00
86d7bf5780 直接调用IPtables禁用IP地址. 2021-07-11 10:10:55 +08:00
014fb45b11 修改: README.md 2019-10-22 23:11:56 +08:00
bd1512047f 修改: README.md 2019-10-22 23:09:45 +08:00
36fa768f4a 修复没有10号数据bug 2019-10-22 23:08:05 +08:00
60524a3f68 modify README.md 2019-09-25 22:54:31 +08:00
89180c2757 modify README.md 2019-09-25 19:00:46 +08:00
3383293658 specification 2019-09-24 08:53:00 +08:00
9db01550c1 修改: README.md
修改:     mail.log.sh
2019-01-19 17:11:43 +08:00
aa0ab9faee 修改: mail.log.sh 2019-01-19 17:06:17 +08:00
niuyuling
faa713fe00 modified: README.md 2017-11-25 20:14:11 +08:00
niuyuling
e99e7900f9 modified: README.md 2017-11-25 20:00:40 +08:00
niuyuling
b5e4169a38 modified: README.md 2017-11-25 19:42:16 +08:00
niuyuling
c64b666b6c modified: README.md 2017-11-25 19:40:34 +08:00
niuyuling
7a8a900a43 new file: mail.log.sh 2017-11-25 19:36:42 +08:00
a1bfe9b3ec
Initial commit 2017-11-25 19:33:47 +08:00