From a57fe83db853aae262afa0b9d696ea4d1a7feec5 Mon Sep 17 00:00:00 2001 From: Adamm <28355318+Adamm00@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:59:48 +1000 Subject: [PATCH] v7.5.9 Increase blacklist ipset maxelem to 1,048,576 #145 Remove alientcault list as its no longer maintained #144 --- filter.list | 1 - firewall.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/filter.list b/filter.list index f79d482..0f9225b 100644 --- a/filter.list +++ b/filter.list @@ -1,4 +1,3 @@ -https://iplists.firehol.org/files/alienvault_reputation.ipset https://iplists.firehol.org/files/bds_atif.ipset https://iplists.firehol.org/files/cybercrime.ipset https://iplists.firehol.org/files/dyndns_ponmocup.ipset diff --git a/firewall.sh b/firewall.sh index 09ed018..5a66e94 100644 --- a/firewall.sh +++ b/firewall.sh @@ -10,7 +10,7 @@ # # # Router Firewall And Security Enhancements # # By Adamm - https://github.com/Adamm00/IPSet_ASUS # -# 07/02/2024 - v7.5.8 # +# 17/04/2024 - v7.5.9 # ############################################################################################################# @@ -3922,7 +3922,7 @@ case "$1" in if [ -f "$skynetipset" ]; then ipset restore -! -f "$skynetipset"; else logger -st Skynet "[i] Setting Up Skynet"; touch "$skynetipset"; fi if ! ipset -L -n Skynet-Whitelist >/dev/null 2>&1; then ipset -q create Skynet-Whitelist hash:net hashsize 64 maxelem "$((65536 * 6))" comment; fi if ! ipset -L -n Skynet-WhitelistDomains >/dev/null 2>&1; then ipset -q create Skynet-WhitelistDomains hash:ip hashsize 64 maxelem "$((65536 * 8))" comment timeout 86400; fi - if ! ipset -L -n Skynet-Blacklist >/dev/null 2>&1; then ipset -q create Skynet-Blacklist hash:ip hashsize 64 maxelem "$((65536 * 8))" comment; fi + if ! ipset -L -n Skynet-Blacklist >/dev/null 2>&1; then ipset -q create Skynet-Blacklist hash:ip hashsize 64 maxelem "$((65536 * 16))" comment; fi if ! ipset -L -n Skynet-BlockedRanges >/dev/null 2>&1; then ipset -q create Skynet-BlockedRanges hash:net hashsize 64 maxelem "$((65536 * 6))" comment; fi if ! ipset -L -n Skynet-Master >/dev/null 2>&1; then ipset -q create Skynet-Master list:set; ipset -q -A Skynet-Master Skynet-Blacklist; ipset -q -A Skynet-Master Skynet-BlockedRanges; fi if ! ipset -L -n Skynet-MasterWL >/dev/null 2>&1; then ipset -q create Skynet-MasterWL list:set; ipset -q -A Skynet-MasterWL Skynet-Whitelist; ipset -q -A Skynet-MasterWL Skynet-WhitelistDomains; fi