
1 tomczhen 2022-03-13 13:10:18 +08:00 via Android 按逻辑推理可以得出结论:把 nginx 放容器跑来执行 lua 脚本就能让你觉得安全了。 |
2 Kinnice 2022-03-13 13:19:31 +08:00 拼接进 iptables 命令的参数是 ip 地址,而 ip 的各种正则,匹配都已经非常完善。你还想往里面加什么? |
3 wellsc 2022-03-13 13:21:45 +08:00 不安全 |
4 kingfalse 2022-03-13 14:45:54 +08:00 via Android 站在一个搞爬虫的角度来说,十秒换一批 IP 。。。。 |
5 rv54ntjwfm3ug8 OP @kingfalse #4 爬虫用的代理池应该不让用来 CC 攻击吧 |
7 bfdh 2022-03-15 10:46:19 +08:00 maybe you can try '-j SET --add-set' target to add illegal IPs to an ip-set, and use another iptables rule to drop related packets. |
8 julyclyde 2022-03-15 15:45:41 +08:00 你这个做法不对哦 |