Commit graph

21 commits

Author SHA1 Message Date
30e53268f5 Prepare reading the database path from the command line. 2020-09-17 11:47:43 +02:00
d735372872 Add python script for GeoIP2 database lookup. 2020-09-17 11:47:43 +02:00
e46a378460 "Cherry-pick" (manually) some of the refactoring. 2020-09-17 11:47:43 +02:00
c5dc76f8eb Rename some functions, list prerequisites. 2020-09-17 11:47:43 +02:00
ea0fae026a FIx it, use sponge. 2020-09-17 11:47:43 +02:00
8d193c0122 Filter already banned addresses in order to avoid unnecessary work. 2020-09-17 11:47:42 +02:00
e12361472b Implement command line option to specify the fail2ban jail to use. 2020-09-17 11:47:42 +02:00
d33c43030d Omit the use of sudo when running as root. 2020-09-17 11:47:42 +02:00
771531167c Nicer output formatting and early abort when the autopilot limit is reached. 2020-09-17 11:47:42 +02:00
4ef0b60ed1 Rename/move superscript.sh to ddos-mitigator.sh. 2020-09-17 11:47:42 +02:00
9b82a8944d Suppress output of popd and implement the help text. 2020-09-17 11:47:42 +02:00
9a929d440c Suppress output of dirs when calling pushd. 2020-09-17 11:47:42 +02:00
a92e7a90b5 Add autopilot mode and CLI parameter selection of to-be-banned subnet class.
Help needs to be implemented.
2020-09-17 11:47:42 +02:00
c97d3172aa If country = CN and source = APNIC, show a red alert message. 2020-09-17 11:47:42 +02:00
d27842fa4e cleanup 2020-09-17 11:47:42 +02:00
498c367f26 Add comments. 2020-09-17 11:47:42 +02:00
a18272ac23 update ddos-mitigator.sh 2020-09-17 11:47:42 +02:00
1a3f09c047 Superscript! 2020-09-17 11:47:42 +02:00
e84381825b add http-lister.sh 2020-09-17 11:47:42 +02:00
172a8a92a4 rename 2020-09-17 11:47:42 +02:00
31d67ed735 Add a script to scrape all IP addresses and group and count them. 2020-09-17 11:46:38 +02:00