This website requires JavaScript.
75b8e2fb6c
Refactoring.
feature/continent-and-network
Manuel Friedli
2021-07-15 22:02:57 +0200
4147d03607
Fix error handling. Well, actually ... implement it :)
Manuel Friedli
2021-07-15 21:56:32 +0200
5a7dfe7e3c
Fix stupid typo that crashes Country DB lookups.
Manuel Friedli
2021-07-15 21:55:10 +0200
0062ae0b2b
Try some refactoring. Needs testing.
Manuel Friedli
2021-07-15 21:51:14 +0200
f7f833e289
Add the possibility to return continent code and network in CIDR notation in addition to the country code. Needs error handling.
Manuel Friedli
2021-07-14 03:37:50 +0200
9b4a55dfb2
Merge pull request 'Don't call python3.8, but python.' (#6 ) from feature/fix-python into master
master
v3.0.1
Manuel Friedli
2021-06-09 00:45:22 +0200
64918328c9
Don't call python3.8, but python.
Manuel Friedli
2021-06-08 22:45:25 +0200
22bc52d665
Merge pull request 'feature/handle-python-exceptions' (#5 ) from feature/handle-python-exceptions into master
v3.0.0
Manuel Friedli
2020-11-24 23:10:37 +0100
31f0901134
Fix bugs and improve command line argument parsing and error handling.
Manuel Friedli
2020-11-24 23:07:38 +0100
70d41673f7
Try and handle python exceptions more gracefully.
Manuel Friedli
2020-11-24 22:04:38 +0100
a1d5821cc7
Merge pull request 'Fix silly, SILLY syntax error.' (#4 ) from bugfix/syntax-error into master
Manuel Friedli
2020-11-24 22:09:58 +0100
b3afda4932
Fix silly, SILLY syntax error.
Manuel Friedli
2020-11-24 22:06:59 +0100
142db098be
Merge pull request 'feature/config-file' (#3 ) from feature/config-file into master
Manuel Friedli
2020-11-24 21:35:12 +0100
5078363348
Harmonize parameter processing order.
Manuel Friedli
2020-11-24 21:21:44 +0100
f5180a5e57
Improve parameter validation.
Manuel Friedli
2020-11-24 21:15:37 +0100
11ad1b471a
Change the way default parameters are set.
Manuel Friedli
2020-11-24 21:28:28 +0100
8e0f22da8f
Make it actually work. To do: validate input from config file.
Manuel Friedli
2020-11-24 20:42:11 +0100
0871a25bf7
Add the possibility of using a config file instead of CLI parameters.
Manuel Friedli
2020-11-24 21:28:15 +0100
d1e0115800
Try and support blocking IPv6 addresses. Doesn't work if you choose 8, 16 or 24bit IPv4 base blocking.
feature/ipv6
Manuel Friedli
2020-08-10 00:33:01 +0200
b65bd6ea55
Merge pull request 'feature/ss-instead-of-netstat' (#2 ) from feature/ss-instead-of-netstat into master
Manuel Friedli
2020-09-18 14:24:41 +0200
36a5fbc2e5
Remove leftover comment.
Manuel Friedli
2020-09-18 14:16:42 +0200
2f58a65f7b
Cosmetics.
Manuel Friedli
2020-09-16 16:42:41 +0200
877a2723e5
Minor bugfix: Don't trip if there is NOTHING to block.
Manuel Friedli
2020-08-10 00:34:29 +0200
7f3432672b
Complete the frame :)
Manuel Friedli
2020-08-05 02:51:36 +0200
265507452c
Omit empty lines.
Manuel Friedli
2020-08-04 18:14:49 +0200
11c246b02c
Use ss instead of netstat.
Manuel Friedli
2020-08-04 18:00:22 +0200
3a15ac1ba3
Fiddling around with ss and grep.
Manuel Friedli
2020-08-04 17:46:23 +0200
c4600f34b6
Add the magic command as a comment. Now we can build upon that.
Manuel Friedli
2020-08-04 17:35:41 +0200
0c2f8efe6d
Merge pull request 'Update description.' (#1 ) from feature/fix-description into master
Manuel Friedli
2020-09-18 14:11:38 +0200
8fa1414f18
Update description.
Manuel Friedli
2020-09-18 14:06:30 +0200
f2c8ad8b9d
Fix typo.
Manuel Friedli
2020-09-18 00:38:38 +0200
e8280e5916
Reword help message.
Manuel Friedli
2020-09-15 23:37:42 +0200
bfbbe0c976
Reformatting.
Manuel Friedli
2020-09-15 23:34:21 +0200
a396d1cf4e
Add .editorconfig file and implement dependency check that can be invoked from the command line.
Manuel Friedli
2020-09-15 23:28:48 +0200
7328bbac8f
Support a list of countries to ban.
v2.1.0
Manuel Friedli
2020-09-15 14:06:54 +0200
131f847d6a
Make the port configurable, defaulting to 443.
Manuel Friedli
2020-09-15 13:51:03 +0200
6ca00b6bc6
Show the duration of the run in seconds when the scripts exits sucessfully.
Manuel Friedli
2020-08-18 23:54:37 +0200
70e98dd26d
Correctly invoke geoip-lookup.py with respect to the CWD.
v2.0.0
Manuel Friedli
2020-08-04 17:21:45 +0200
fa489db45f
Output country when not banning.
Manuel Friedli
2020-08-04 04:39:11 +0200
b081efa877
Typo.
Manuel Friedli
2020-08-04 04:25:34 +0200
fd3b719cb2
Bugfix.
Manuel Friedli
2020-08-04 04:22:16 +0200
758e53a270
Implement local DB queries instead of whois.
Manuel Friedli
2020-08-04 04:08:24 +0200
df9f54dcab
Check for python to be installed.
Manuel Friedli
2020-08-04 03:52:33 +0200
30e53268f5
Prepare reading the database path from the command line.
Manuel Friedli
2020-08-04 03:49:21 +0200
d735372872
Add python script for GeoIP2 database lookup.
Manuel Friedli
2020-08-04 03:11:35 +0200
e46a378460
"Cherry-pick" (manually) some of the refactoring.
Manuel Friedli
2020-08-03 13:32:32 +0200
c5dc76f8eb
Rename some functions, list prerequisites.
Manuel Friedli
2020-08-03 13:19:18 +0200
ea0fae026a
FIx it, use sponge.
v1.0.0
Manuel Friedli
2020-07-30 13:44:04 +0200
8d193c0122
Filter already banned addresses in order to avoid unnecessary work.
Manuel Friedli
2020-07-30 13:19:03 +0200
e12361472b
Implement command line option to specify the fail2ban jail to use.
Manuel Friedli
2020-07-25 00:06:48 +0200
d33c43030d
Omit the use of sudo
when running as root.
Manuel Friedli
2020-07-24 02:52:35 +0200
771531167c
Nicer output formatting and early abort when the autopilot limit is reached.
Manuel Friedli
2020-07-23 21:36:50 +0200
4ef0b60ed1
Rename/move superscript.sh to ddos-mitigator.sh.
Manuel Friedli
2020-07-23 21:16:09 +0200
9b82a8944d
Suppress output of popd
and implement the help text.
Manuel Friedli
2020-07-23 21:12:48 +0200
9a929d440c
Suppress output of dirs
when calling pushd
.
Manuel Friedli
2020-07-23 20:53:18 +0200
a92e7a90b5
Add autopilot mode and CLI parameter selection of to-be-banned subnet class. Help needs to be implemented.
Manuel Friedli
2020-07-23 20:45:19 +0200
c97d3172aa
If country = CN and source = APNIC, show a red alert message.
Manuel Friedli
2020-07-21 21:37:43 +0200
d27842fa4e
cleanup
Manuel Friedli
2020-06-23 03:10:12 +0200
498c367f26
Add comments.
Manuel Friedli
2020-06-23 03:07:09 +0200
a18272ac23
update ddos-mitigator.sh
Manuel Friedli
2020-06-23 02:16:37 +0200
1a3f09c047
Superscript!
Manuel Friedli
2020-06-23 02:16:06 +0200
e84381825b
add http-lister.sh
Manuel Friedli
2020-06-22 20:50:19 +0200
172a8a92a4
rename
Manuel Friedli
2020-06-16 11:09:19 +0200
31d67ed735
Add a script to scrape all IP addresses and group and count them.
Manuel Friedli
2020-09-17 11:46:38 +0200