What's new

Solved Logging not working after reboot or use of OVPN Director

  • 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!

skeal

Part of the Furniture
Hi @Adamm long time since I spoke to you last. Can you help me with this problem? In the end it may be a Scribe issue but I would like your opinion please.

Skynet issue
386.5_2
AX88U with Skynet, Diversion, Scribe, and Scribe UI, in addition Diskcheck script built into amtm.

When I reboot logging never resumes on its own. I have to login to Skynet via ssh and then it starts logging right away. Below logs show right after the reboot and the second shows when I got logging to start with a ssh access to Skynet. Its like the ssh wakes it up. From there everything usually works fine. Sometimes starting and stopping my vpn client will stop it from logging as well. Again if I login to skynet via ssh logging begins right away.

logs after reboot and before ssh access to Skynet
Apr 12 17:41:54 RT-AX88U-E770 Skynet: [*] Lock File Detected (start skynetloc=/tmp/mnt/titosam/skynet) (pid=2590) - Exiting (cpid=4702)
Apr 12 17:42:13 RT-AX88U-E770 Skynet: Mounting Skynet Web Page As user2.asp

SSH into the router launch amtm then skynet and as soon as skynet loads (it's in green print) finally logging starts. This happens everytime I reboot, and sometimes starting and stopping a vpn using the director page.
Apr 12 17:53:45 RT-AX88U-E770 kernel: [BLOCKED - INBOUND] IN=eth0 OUT= MAC=24:4b:fe:09:e7:70:00:00:5e:00:01:09:08:00 SRC=45.146.164.88 DST=204.83.127.134 LEN=40 TOS=0x00 PREC=0x00 TTL=242 ID=2377 PROTO=TCP SPT=47414 DPT=3364 SEQ=121142251 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0 MARK=0x8000000
Apr 12 17:53:45 RT-AX88U-E770 kernel: [BLOCKED - INBOUND] IN=eth0 OUT= MAC=24:4b:fe:09:e7:70:00:00:5e:00:01:09:08:00 SRC=194.165.16.25 DST=204.83.127.134 LEN=40 TOS=0x00 PREC=0x00 TTL=244 ID=64537 PROTO=TCP SPT=44745 DPT=921 SEQ=514818054 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0 MARK=0x8000000
Apr 12 17:53:49 RT-AX88U-E770 kernel: [BLOCKED - INBOUND] IN=eth0 OUT= MAC=24:4b:fe:09:e7:70:00:00:5e:00:01:09:08:00 SRC=185.196.220.27 DST=204.83.127.134 LEN=40 TOS=0x00 PREC=0x00 TTL=243 ID=39035 PROTO=TCP SPT=41464 DPT=6921 SEQ=1365572852 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0 MARK=0x8000000
Apr 12 17:53:54 RT-AX88U-E770 kernel: [BLOCKED - INBOUND] IN=eth0 OUT= MAC=24:4b:fe:09:e7:70:00:00:5e:00:01:09:08:00 SRC=194.165.16.25 DST=204.83.127.134 LEN=40 TOS=0x00 PREC=0x00 TTL=244 ID=23439 PROTO=TCP SPT=44745 DPT=914 SEQ=3111331739 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0 MARK=0x8000000

Log from Skynet when logging in with ssh
Router Model; RT-AX88U
Skynet Version; v7.2.8 (19/10/2021) (cd9e05f9b3897f144dd71260906a761a)
iptables v1.4.15 - (eth0 @ 192.168.50.1)
ipset v7.6, protocol version: 7
IP Address; (204.83.127.134)
FW Version; 386.5_2 (Mar 25 2022) (4.1.51)
Install Dir; /tmp/mnt/titosam/skynet (11.7G / 14.6G Space Available)
SWAP File; /tmp/mnt/titosam/myswap.swp (2.0G)

31046 IPs (+0) -- 1407 Ranges Banned (+0) || 26 Inbound -- 0 Outbound Connectio!


Skynet Diagnostics

Router Model; RT-AX88U
Skynet Version; v7.2.8 (19/10/2021) (cd9e05f9b3897f144dd71260906a761a)
iptables v1.4.15 - (eth0 @ 192.168.50.1)
ipset v7.6, protocol version: 7
IP Address; (204.83.127.134)
FW Version; 386.5_2 (Mar 25 2022) (4.1.51)
Install Dir; /tmp/mnt/titosam/skynet (11.7G / 14.6G Space Available)
SWAP File; /tmp/mnt/titosam/myswap.swp (2.0G)
Syslog Location; (/opt/var/log/skynet-0.log) (/tmp/syslog.log-1)
Uptime; 0 days, 0 hours, 30 minutes.
Ram Available; (433M / 882M)


--------------- | ------------ | ---------------
| Device Name | | | Local IP | | | MAC Address |
--------------- | ------------ | ---------------

23 devices


-------------------- | ----------
| Test Description | | | Result |
-------------------- | ----------

Internet-Connectivity | [Passed]
Write Permission | [Passed]
Config File | [Passed]
Firewall-Start Entry | [Passed]
Services-Stop Entry | [Passed]
Service-Event Entry | [Passed]
Profile.add Entry | [Passed]
SWAP File | [Passed]
Cron Jobs | [Passed]
NTP Sync | [Passed]
IPSet Comment Support | [Passed]
Log Level 5 Settings | [Passed]
Duplicate Rules In RAW | [Passed]
IPSets | [Passed]
IPTables Rules | [Passed]
Local WebUI Files | [Passed]
Mounted WebUI Files | [Passed]
MenuTree.js Entry | [Passed]


----------- | ----------
| Setting | | | Status |
---------- | ----------

Skynet Auto-Updates | [Enabled]
Malware List Auto-Updates | [Enabled]
Logging | [Enabled]
Filter Traffic | [Enabled]
Unban PrivateIP | [Enabled]
Log Invalid Packets | [Disabled]
Import AiProtect Data | [Enabled]
Secure Mode | [Enabled]
Fast Switch List | [Disabled]
Syslog Location | [Custom]
IOT Blocking | [Disabled]
Country Lookup For Stats | [Enabled]
CDN Whitelisting | [Enabled]
Display WebUI | [Enabled]

18/18 Tests Sucessful


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


[#] 31046 IPs (+0) -- 1407 Ranges Banned (+0) || 86 Inbound -- 0 Outbound Conne]



Press Enter To Continue...
 
Bump
 
@skeal did you solved this? I have the same problem.

1661439425021.png


Stops to "mounting skynet web page.." after that dead silent log.

I will call @Adamm and @cmkelley is this problem caused by scribe?

Once skynet opened from AMTM then log continues to populate again:

1661440044624.png
 
Last edited:
@skeal did you solved this? I have the same problem.

View attachment 43817

Stops to "mounting skynet web page.." after that dead silent log.

I will call @Adamm and @cmkelley is this problem caused by scribe?

Once skynet opened from AMTM then log continues to populate again:

View attachment 43819
What I did is this in the firewall-start script. It's dirty but it works.
Code:
#!/bin/sh

sh /jffs/scripts/firewall start skynetloc=/tmp/mnt/4gig/skynet # Skynet

sh /jffs/scripts/scribe restart # Restarts Scribe after Skynet
sh /jffs/addons/diversion/type65blocking.div # Added by Diversion
 

Sign Up For SNBForums Daily Digest

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