Commit Graph

41 Commits

Author SHA1 Message Date
Alfonso
2af6fc275a
Update blocklist.sh 2023-05-25 13:17:01 +02:00
Alfonso
e2260312be
abuseip changed
Grab the abuseip list in plaintext
2023-04-20 17:24:23 +02:00
Alfonso
76ec2fd886
Update blocklist.sh 2023-02-06 15:45:07 +01:00
Alfonso
faab4f7384
Update blocklist.sh 2023-02-06 12:42:12 +01:00
Alfonso
055579093e
Update blocklist.sh 2023-02-06 12:19:59 +01:00
Alfonso
a48bd42238
Update blocklist.sh 2023-02-06 11:58:31 +01:00
Alfonso
a000daa412
Full path in the iptables command
When running as root in cron, the iptables command was not found, so a _search_ path command is used instead the single command
2023-02-06 11:45:21 +01:00
Alfonso
ccf63dec6f
Typo error
'iptables' word appeared on two checks. The correcto is iptables and ipset
2022-09-12 12:00:41 +02:00
Alfonso
93423c8bcb
Delete old-blocklist.sh 2022-03-01 09:24:13 +01:00
Alfonso
be146a9202
Update README.md 2022-03-01 09:23:46 +01:00
Alfonso
29713e228c
Merge pull request #1 from borekon/borekon-abuseipdb
Added abuseipdb
2022-03-01 09:05:18 +01:00
Alfonso
8ee728fd85
Update blocklist.sh
Typo error. Added link to API key from abusedb
2022-03-01 09:05:00 +01:00
Alfonso
960ff97176
Added abuseipdb
Added the AbuseIPDB source. API key needed
2022-03-01 08:51:56 +01:00
Alfonso
4e5a005439
Delete awk 2021-10-19 12:04:58 +02:00
borekon
a2f70b4fac modif 2021-10-19 12:04:02 +02:00
Alfonso
f950a89cea
Update blocklist.sh
Fixed typo in verbose info
2021-07-08 10:59:31 +02:00
borekon
7c4db3f011 Update blocklist.sh
Supress errors
2021-05-05 09:05:10 +02:00
borekon
f512982b1f Merge branch 'master' of https://github.com/borekon/Blocklist.de-Sync 2021-05-05 09:03:46 +02:00
borekon
53db536d61 Update blocklist.sh
Bugfix (ipsets are not created)
2021-05-05 09:03:32 +02:00
Alfonso
fff5fe27a7
Update README.md 2021-05-05 09:00:24 +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