
例如屏蔽 IP 仅在添加后的两天内生效,之后自动放行。
1 Daylight1993 2021-12-07 09:30:56 +08:00 Fail2ban 试试 |
2 dier 2021-12-07 09:51:07 +08:00 crontab+/etc/hosts.deny 试试? |
3 ihipop 2021-12-07 10:10:07 +08:00 via Android ipset with ttl |
4 acbot 2021-12-07 10:14:56 +08:00 iptables *** -m time --datestart 2021-3-19T17:40:08 --datestop 2021-3-19T17:59:50 -j DROP 用脚本计算时间然后添加,清理过期规则或者是自己开发模块 |
6 wang9571 2021-12-07 14:24:21 +08:00 可以的吧,我记得有--timeout 选项 |
7 iqoo 2021-12-07 14:27:45 +08:00 ipset 自带超时功能 |
8 maxbon 2021-12-07 17:51:23 +08:00 ipset 呀 |
9 yanqiyu 2021-12-09 15:39:08 +08:00 ipset 的超时可以用,也可以跟踪下 https://github.com/firewalld/firewalld/issues/868 |