Skip to content

Instantly share code, notes, and snippets.

View yoyojacky's full-sized avatar
🍉
Life is short, why am i coding?

yoyojacky yoyojacky

🍉
Life is short, why am i coding?
View GitHub Profile
@yoyojacky
yoyojacky / autodeny.sh
Created March 12, 2018 07:58 — forked from nickfox-taterli/autodeny.sh
auto ip deny script
#!/bin/bash
#检测时间
SLEEP_TIME=10
#禁用阈值
NO_OF_CONNECTIONS=50
#禁用时长
BAN_PERIOD=300
#白名单
IGNORE_IP_LIST=/root/autodeny/allow_ip.txt