borekon
53db536d61
Update blocklist.sh
...
Bugfix (ipsets are not created)
2021-05-05 09:03:32 +02:00
borekon
913cfd9a5d
Quicker and dirtier script
...
Just donwload ip ranges and add them to two separate ipset
2021-05-05 08:59:08 +02:00
Alfonso
8ee25e89f1
Create blocklist.sh
...
The same file but with no mail log
2021-05-05 08:45:50 +02:00
borekon
1db3b6b267
Update blocklist-update.sh
...
Added the shodan ip range
2021-05-05 08:44:55 +02:00
borekon
13e271e9c6
Update README.md
...
Added links to other IP lists
2021-05-05 08:34:09 +02:00
Alfonso
609ceaea64
Typo error
2021-04-26 01:01:18 +02:00
Alfonso
bb2682ef6b
Don't exit if mail command not found
...
Sending mail is not mandatory, so removed the exit when mail command is not found
2021-04-23 12:14:32 +02:00
borekon
04ccadaa59
Chmod +x to executable
2020-10-04 09:37:36 +02:00
Alfonso
9496dca373
Variable hostname should not be in parentheses
...
It's a variable, not a command
2020-06-04 23:22:25 +02:00
Alfonso
234ebffec8
Update blocklist-update.sh
...
unary operator expected error in line 28
2020-04-27 10:03:13 +02:00
Alfonso
8a2007ec80
Ask for mail
...
Now the script asks to user for an email to send the log file. Timeout of 15 seconds. That is for cron purposes.
If the timeout ocurrs, the default address will be ($whoami)@$HOSTNAME
2020-04-19 23:38:49 +02:00
Alfonso
9719872522
Update blocklist-update.sh
2020-04-19 22:36:00 +02:00
Alfonso
34636d0faa
Update blocklist-update.sh
2020-04-19 22:33:43 +02:00
Alfonso
75b5b4d5a5
Update blocklist-update.sh
2020-04-15 09:53:32 +02:00
Alfonso
7191699d89
Update blocklist-update.sh
2020-04-15 09:51:12 +02:00
Alfonso
4724f60741
Update blocklist-update.sh
...
Improved existing executables check.
Autodetection of mail sender
2020-04-11 16:33:02 +02:00
Alfonso
8348448448
Update blocklist-update.sh
...
Added statement to return if there's no matching ip. We should not accept non-matching ip; returning to keep beíng proccessed (ie fail2ban).
2020-04-11 10:44:21 +02:00
Alfonso
a0e9c6c7c3
Update README.md
2020-04-11 00:13:40 +02:00
Alfonso
652f1de07a
Update blocklist-update.sh
...
Update from LEXO blog with minor changes
2020-04-11 00:12:31 +02:00
Josef 'veloc1ty' Stautner
73ffeee0d1
Full path to iptables
2015-10-27 18:28:46 +01:00
Josef 'veloc1ty' Stautner
ddaead417f
Stuff corrected
2015-01-23 12:38:12 +01:00
Josef 'veloc1ty' Stautner
70e9969059
Initial commit
2015-01-23 12:29:24 +01:00