From c27c13d6171e90ab5b3509a0e62a54425b7e365e Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Mon, 7 Feb 2022 16:06:09 +0000 Subject: [PATCH] tweaking --- bin/blackhole.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/blackhole.sh b/bin/blackhole.sh index 4e2371b6..5484055f 100755 --- a/bin/blackhole.sh +++ b/bin/blackhole.sh @@ -30,11 +30,10 @@ mkdir -p /etc/blackhole cd /etc/blackhole myFILE="mass_scanner.txt" myURL="https://raw.githubusercontent.com/stamparm/maltrail/master/trails/static/mass_scanner.txt" -myBASELINE="3000" +myBASELINE="500" # Alternatively, using less routes, but blocking complete /24 networks #myFILE="mass_scanner_cidr.txt" #myURL="https://raw.githubusercontent.com/stamparm/maltrail/master/trails/static/mass_scanner_cidr.txt" -#myBASELINE="500" # Calculate age of downloaded list, read IPs if [ -f "$myFILE" ]; @@ -84,7 +83,8 @@ if [ "$1" == "add" ]; echo "Added $(ip r | grep "blackhole" -c) IPs to blackhole." echo echo "### Remember!" - echo "### Routes are not added permanently, if you wish a persistent solution add this script to /etc/rc.local to be started after boot." + echo "### As long as is not executed the routes will be re-added on T-Pot start through ." + echo "### Check with or if blackhole is enabled." echo exit fi