What's new

Skynet New Skynet 7.5.9 Release

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Read this post:
Found it.
Worked great to add to whitelist.
All working fine now - thanks
 
HI, 2 days ago start to dont show the stats, i think cuz uninstall and install again. But all time sayed "give this time to generate" and past hours and nothing. In GUI sayed no data to display.
 
I just noticed something strange.
I was bored and decided to enable logging and watch the logging in debug mode (All IPs)
When I stopped watching (Ctrl+c) and disabled logging again, I saw that +12 IPs where added:
Before I watched the log, I did a manual update of the blocklist at 20:18:09:
Code:
Feb 18 20:18:09 Skynet: [#] 449379 IPs (+498) -- 18428 Ranges Banned (-179) || 15485 Inbound -- 3458 Outbound Connections Blocked! [banmalware] [65s]
Feb 18 20:19:27 Skynet: [#] 449379 IPs (+0) -- 18428 Ranges Banned (+0) || 15488 Inbound -- 3458 Outbound Connections Blocked! [settings] [2s]
Feb 18 20:25:22 Diversion: restarted Dnsmasq to apply settings
Feb 18 20:25:58 Skynet: [#] 449391 IPs (+12) -- 18428 Ranges Banned (+0) || 15519 Inbound -- 3458 Outbound Connections Blocked! [banmalware] [58s]
Feb 18 20:25:59 Skynet: [#] 449391 IPs (+12) -- 18428 Ranges Banned (+0) || 15519 Inbound -- 3458 Outbound Connections Blocked! [debug] [372s]
Feb 18 20:26:35 Skynet: [#] 449391 IPs (+0) -- 18428 Ranges Banned (+0) || 15522 Inbound -- 3458 Outbound Connections Blocked! [settings] [2s]
So, why were +12 IPs added just from watching the log?
 
Hi, anyone can say me why dont show data in the ghaphics. I cant found a solution for this, thx.
1708465936290.png
 
Have you enabled logging in Skynet settings? I guess logging is disabled.
 
Have you enabled logging in Skynet settings? I guess logging is disabled.
Hi, yes its enable, but nothing dont show anythink. Even i try to disable and enable again and wont show nothing.
 
Hi, yes its enable, but nothing dont show anythink. Even i try to disable and enable again and wont show nothing.
Run these commands and post the output.
Code:
grep -ow "skynetloc=.* # Skynet" /jffs/scripts/firewall-start 2>/dev/null | grep -vE "^#" | awk '{print $1}' | cut -c 11-
ls -l /tmp/mnt/*/skynet/skynet.log
head -n 5 /tmp/mnt/*/skynet/skynet.log
tail -5 /tmp/mnt/*/skynet/skynet.log
ps ww | grep logd
nvram get message_loglevel
nvram get log_level
 
Run these commands and post the output.
Code:
grep -ow "skynetloc=.* # Skynet" /jffs/scripts/firewall-start 2>/dev/null | grep -vE "^#" | awk '{print $1}' | cut -c 11-
ls -l /tmp/mnt/*/skynet/skynet.log
head -n 5 /tmp/mnt/*/skynet/skynet.log
tail -5 /tmp/mnt/*/skynet/skynet.log
ps ww | grep logd
nvram get message_loglevel
nvram get log_level
hi, this show me.

Code:
stolker@GT-AXE11000:/tmp/home/root# ls -l /tmp/mnt/*/skynet/skynet.log
-rw-rw-rw-    1 stolker  root             0 Feb 17 16:18 /tmp/mnt/stolker/skynet/skynet.log
stolker@GT-AXE11000:/tmp/home/root# head -n 5 /tmp/mnt/*/skynet/skynet.log
stolker@GT-AXE11000:/tmp/home/root# tail -5 /tmp/mnt/*/skynet/skynet.log
stolker@GT-AXE11000:/tmp/home/root# ps ww | grep logd
 1173 stolker   3424 S    /sbin/syslogd -m 0 -S -O /tmp/syslog.log -s 512 -l 3
 1175 stolker   3424 S    /sbin/klogd -c 5
530463 stolker   5972 S    grep logd
stolker@GT-AXE11000:/tmp/home/root# nvram get message_loglevel
2
stolker@GT-AXE11000:/tmp/home/root# nvram get log_level
 
hi, this show me.

Code:
stolker@GT-AXE11000:/tmp/home/root# ls -l /tmp/mnt/*/skynet/skynet.log
-rw-rw-rw-    1 stolker  root             0 Feb 17 16:18 /tmp/mnt/stolker/skynet/skynet.log
stolker@GT-AXE11000:/tmp/home/root# head -n 5 /tmp/mnt/*/skynet/skynet.log
stolker@GT-AXE11000:/tmp/home/root# tail -5 /tmp/mnt/*/skynet/skynet.log
stolker@GT-AXE11000:/tmp/home/root# ps ww | grep logd
 1173 stolker   3424 S    /sbin/syslogd -m 0 -S -O /tmp/syslog.log -s 512 -l 3
 1175 stolker   3424 S    /sbin/klogd -c 5
530463 stolker   5972 S    grep logd
stolker@GT-AXE11000:/tmp/home/root# nvram get message_loglevel
2
stolker@GT-AXE11000:/tmp/home/root# nvram get log_level
Set your syslog levels back to “notice“ and “debug” on the System Log page.
 
Set your syslog levels back to “notice“ and “debug” on the System Log page.
Sorry but where i must do that?, in the options settings in skynet?

OMG, sorry i was blind hahaha, i do it and now report. I dont know it is for the logs in the asusrouter option. Thx for the help!! x1000
 
Last edited:
For those using PuTTY, CRITICAL UPDATE : please use the new version 0.81.


 
Not sure what happened, but my RT-AX86U Pro went a little haywire after updating Skynet through AMTM. The SSH terminal shell became unresponsive when I tried to quit out of AMTM, so I quit the shell and tried again but couldn't log in. The router's GUI also became unresponsive. Solved by turning the router off and on, and the Skynet update appears to be working just fine.
 
Hello everybody, I faced strange issue and can't find out the reason or fixing method. Do anybody have an idea where to dig and how to fix that?

The Skynet installed on new system after reseting router, changing pluged to the router hdd, formating it and reinstalled Entware, amtm etc.

Code:
[1-5]: 2

Input Custom Filter List URL:

[URL]: https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/filter.list

[$] /jffs/scripts/firewall banmalware https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/filter.list

=============================================================================================================

killall: syslog-ng: no process killed

[i] Custom Filter Detected: https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/filter.list

[i] Downloading filter.list | [0s]

[i] Refreshing Whitelists | [7s]

[i] Consolidating Blacklist | [0s]

[*] List Content Error Detected - Stopping Banmalware

=============================================================================================================

[#] 1 IPs (+0) -- 0 Ranges Banned (+0) || 0 Inbound -- 0 Outbound Connections Blocked! [banmalware] [7s]

[i] Press Enter To Continue...

P.s. any other links (ViktorJp or Somewhere Over The Raibow) are not working too
 
Hello everybody, I faced strange issue and can't find out the reason or fixing method. Do anybody have an idea where to dig and how to fix that?

The Skynet installed on new system after reseting router, changing pluged to the router hdd, formating it and reinstalled Entware, amtm etc.

Code:
[1-5]: 2

Input Custom Filter List URL:

[URL]: https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/filter.list

[$] /jffs/scripts/firewall banmalware https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/filter.list

=============================================================================================================

killall: syslog-ng: no process killed

[i] Custom Filter Detected: https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/filter.list

[i] Downloading filter.list | [0s]

[i] Refreshing Whitelists | [7s]

[i] Consolidating Blacklist | [0s]

[*] List Content Error Detected - Stopping Banmalware

=============================================================================================================

[#] 1 IPs (+0) -- 0 Ranges Banned (+0) || 0 Inbound -- 0 Outbound Connections Blocked! [banmalware] [7s]

[i] Press Enter To Continue...

P.s. any other links (ViktorJp or Somewhere Over The Raibow) are not working too

This is what it's getting hung on in the script... if anyone has any reasoning why it's doing this for @ukrainer here, but nobody else?

Code:
if ! grep -qE '^(((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])\.){3}(25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(\/(1?[0-9]|2?[0-9]|3?[0-2]))?)$' "${skynetloc}"/lists/* 2>/dev/null; then
  result="$(Red "[$(($(date +%s) - btime))s]")"
  printf '%-8s\n' "$result"
  printf '%-35s\n' "[*] List Content Error Detected - Stopping Banmalware"
  nocfg="1"
  result="1"
fi
 
This is what it's getting hung on in the script... if anyone has any reasoning why it's doing this for @ukrainer here, but nobody else?

Code:
if ! grep -qE '^(((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])\.){3}(25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(\/(1?[0-9]|2?[0-9]|3?[0-2]))?)$' "${skynetloc}"/lists/* 2>/dev/null; then
  result="$(Red "[$(($(date +%s) - btime))s]")"
  printf '%-8s\n' "$result"
  printf '%-35s\n' "[*] List Content Error Detected - Stopping Banmalware"
  nocfg="1"
  result="1"
fi
I saw the same problem reports on different threads here but didn't see any working solution. As I understood this issue happens during years on different devices with different versions of software and firmware. So it should have some relation to temp files/caches/settings etc or any old libs, not changed during years scripts/algorithms etc.
 
Clicking on "Adaptives QoS" in router main menu and then switching to Syslog causes Skynet to restart.
Can someone confirm?
And is that a normal behaviour?
 
This is what it's getting hung on in the script... if anyone has any reasoning why it's doing this for @ukrainer here, but nobody else?

Code:
if ! grep -qE '^(((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])\.){3}(25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(\/(1?[0-9]|2?[0-9]|3?[0-2]))?)$' "${skynetloc}"/lists/* 2>/dev/null; then
  result="$(Red "[$(($(date +%s) - btime))s]")"
  printf '%-8s\n' "$result"
  printf '%-35s\n' "[*] List Content Error Detected - Stopping Banmalware"
  nocfg="1"
  result="1"
fi
I have the same problem with Skynet on an RT-AX88U like him as well. It is quite interesting that Skynet is working fine with Adamm default filter list, or list imported years before. However, when trying to import your list or Somewhere Over The Rainbow, the script shows a "List Content Error" message, and refused to use the new firewall list.
I was succeed with importing Somewhere Over The Rainbow list about 2 weeks ago, but now it may not work anymore. Therefore, I supposed the cause would be either Skynet itself, or the way Github formats their file storage @@
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top