Here is the debug output...
#############################################################################################################
# #
# ███████╗██╗ ██╗██╗ ██╗███╗ ██╗███████╗████████╗ ██╗ ██╗███████╗ #
# ██╔════╝██║ ██╔╝╚██╗ ██╔╝████╗ ██║██╔════╝╚══██╔══╝ ██║ ██║╚════██║ #
# ███████╗█████╔╝ ╚████╔╝ ██╔██╗ ██║█████╗ ██║ ██║ ██║ ██╔╝ #
# ╚════██║██╔═██╗ ╚██╔╝ ██║╚██╗██║██╔══╝ ██║ ╚██╗ ██╔╝ ██╔╝ #
# ███████║██║ ██╗ ██║ ██║ ╚████║███████╗ ██║ ╚████╔╝ ██║ #
# ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝ #
# #
# Router Firewall And Security Enhancements #
# By Adamm -
https://github.com/Adamm00/IPSet_ASUS #
# 01/12/2020 - v7.2.3 #
#############################################################################################################
+ export LC_ALL=C
+ mkdir -p /tmp/skynet/lists
+ mkdir -p /jffs/addons/shared-whitelists
+ ntptimer=0
+ nvram get ntp_ready
+ [ 1 = 0 ]
+ [ 0 -ge 300 ]
+ grep -vE ^#
+ awk {print $1}
+ grep+ cut -c 11-
-ow skynetloc=.* # Skynet /jffs/scripts/firewall-start
+ skynetloc=/tmp/mnt/sda1/skynet
+ skynetcfg=/tmp/mnt/sda1/skynet/skynet.cfg
+ skynetlog=/tmp/mnt/sda1/skynet/skynet.log
+ skynetevents=/tmp/mnt/sda1/skynet/events.log
+ skynetipset=/tmp/mnt/sda1/skynet/skynet.ipset
+ date +%s
+ stime=1609436264
+ [ -z /tmp/mnt/sda1/skynet ]
+ [ ! -d /tmp/mnt/sda1/skynet ]
+ nvram get wan0_proto
+ [ dhcp = pppoe ]
+ nvram get wan0_ifname
+ iface=eth0
+ [ -z ]
+ Load_Menu
+ . /tmp/mnt/sda1/skynet/skynet.cfg
+ Display_Header 9
+ printf \n\n===================================================================================================n
=============================================================================================================
+ echo Router Model;
Router Model;
+ Filter_Date
+ grep -m1 -oE [0-9]{1,2}([/][0-9]{1,2})([/][0-9]{1,4})
+ + awk {print $1}
md5sum /jffs/scripts/firewall
+ echo Skynet Version; (01/12/2020) (358a0e65e85afa8425897a993eb84b8c)
Skynet Version; (01/12/2020) (358a0e65e85afa8425897a993eb84b8c)
+ iptables --version
+ nvram get lan_ipaddr
+ echo iptables v1.4.15 - (eth0 @ 192.168.1.1)
iptables v1.4.15 - (eth0 @ 192.168.1.1)
+ ipset -v
ipset v7.6, protocol version: 7
+ nvram+ Is_PrivateIP
+ grep -qE ^(0\.|10\.|100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\.|127\.|169\.254\.|172\.1[6-9]\.|172\.2[0-9]\)
get wan0_ipaddr
+ nvram get wan0_ipaddr
+ nvram get ipv6_service
+ [ dhcp6 != disabled ]
+ nvram get ipv6_prefix
+ nvram get ipv6_prefix_length
+ echo - (2607:fea8:a7c0:f::/64)
+ echo IP Address;
IP Address;
+ nvram get buildno
+ nvram get extendno
+ + uname -v
awk {printf "%s %s %s\n", $5, $6, $9}
+ uname -r
+ echo FW Version; 386.1_beta4-gde99bc07fd (Dec 31 2020) (4.1.51)
FW Version; 386.1_beta4-gde99bc07fd (Dec 31 2020) (4.1.51)
+ df -h /tmp/mnt/sda1/skynet
+ xargs
+ awk {printf "%s / %s\n", $11, $9}
+ echo Install Dir; /tmp/mnt/sda1/skynet (50.7G / 56.2G Space Available)
Install Dir; /tmp/mnt/sda1/skynet (50.7G / 56.2G Space Available)
+ [ -n ]
+ [ -n ]
+ [ -f /tmp/skynet.lock ]
+ sed -n 2p /tmp/skynet.lock
+ [ -d /proc/29954 ]
+ echo
+ Check_Connection
+ + grepgrep -qvE -E ^#
start.* # Skynet /jffs/scripts/firewall-start
+ [ -w /tmp/mnt/sda1/skynet ]
+ Check_Swap
+ grep -qF file /proc/swaps
+ + crugrep l
-c Skynet
+ [ 2 -lt 2 ]
+ Check_IPSets
+ ipset -L -n Skynet-Whitelist
+ ipset -L -n Skynet-Blacklist
+ ipset -L -n Skynet-BlockedRanges
+ ipset -L -n Skynet-Master
+ ipset -L -n Skynet-IOT
+ [ -n ]
+ Check_IPTables
+ [ = all ]
+ [ = inbound ]
+ [ = all ]
+ [ = outbound ]
+ nvram get sshd_enable
+ [ 2 = 1 ]
+ [ = enabled ]
+ [ = enabled ]
+ [ -n ]
+ [ = enabled ]
+ [ != 1 ]
+ Print_Log minimal
+ oldips=
+ oldranges=
+ grep -Foc add Skynet-Black /tmp/mnt/sda1/skynet/skynet.ipset
+ blacklist1count=49994
+ grep -Foc add Skynet-Block /tmp/mnt/sda1/skynet/skynet.ipset
+ blacklist2count=1865
+ unset fail
+ Check_IPTables
+ [ = all ]
+ [ = inbound ]
+ [ = all ]
+ [ = outbound ]
+ nvram get sshd_enable
+ [ 2 = 1 ]
+ [ = enabled ]
+ [ = enabled ]
+ [ -n ]
+ [ != outbound ]
+ iptables -xnvL PREROUTING -t+ raw
grep -Fv LOG
+ grep -F Skynet-Master src
+ awk {print $1}
+ hits1=
+ [ != inbound ]
+ iptables -xnvL PREROUTING+ -tgrep raw
-Fv LOG
+ grep -F Skynet-Master dst
+ awk {print $1}
+ iptables -xnvL OUTPUT -t+ raw
grep -Fv LOG
+ grep -F Skynet-Master dst
+ awk {print $1}
/jffs/scripts/firewall: line 1: arithmetic syntax error