first version

This commit is contained in:
2021-08-01 00:03:25 +03:00
parent 231ca061ac
commit 5e38debcfd
13 changed files with 854 additions and 0 deletions

15
doc/README Normal file
View File

@ -0,0 +1,15 @@
Anti DDoS tool for kf2 servers
Usage: <kf2_logs_output> | kf2-antiddos [option]... <shell> <deny_script> <allow_script>
kf2_logs_output KF2 logs to redirect to stdin
shell shell to run deny_script and allow_script
deny_script firewall deny script (takes IP as argument)
allow_script firewall allow script (takes IPs as arguments)
Options:
-j, --jobs N allow N jobs at once
-o, --output MODE self|proxy|all|quiet
-dt, --deny-time TIME minimum ip deny TIME (seconds)
-mc, --max-connections N Skip N connections before run deny script
-v, --version Show version
-h, --help Show help