What's new
  • 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!

Status
Not open for further replies.
Here you go =)
Cron:
Cron job(s) info:
AB-Solution sets these cron jobs when service is on:

AB_UpdateHosts: a is on, updates blocking file, weekly
AB_RotateLogs: l is on, rotates log files, daily
AB_WeeklyStats: rs is on, sends stats, weekly
AB_AutoBackup: bu is on, sends backup files
AB_ABupdateNotify: un is on, checks for AB-Solution updates

The following cron jobs are set (cru l):
---------------------------------------------------

ls: /tmp/var/spool/cron/crontabs: No such file or directory
(there are no cron jobs set at the moment)
---------------------------------------------------
That's NOT good.
How about listing them directly in the terminal:
Code:
cru l
(lower case L)
 
cru l
00 3 * * Fri /tmp/mnt/Asus/adblocking/addon/update-hosts.add cronjob #AB_UpdateH osts#
25 2 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware#
25 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate#
0 * * * * sh /jffs/scripts/firewall save #Skynet_save#
 
cru l
00 3 * * Fri /tmp/mnt/Asus/adblocking/addon/update-hosts.add cronjob #AB_UpdateH osts#
25 2 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware#
25 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate#
0 * * * * sh /jffs/scripts/firewall save #Skynet_save#
That's better, do you have logging disabled in AB?
 
Yes, if i enable and get dnsmasq error router will be unresponsive untill i pull the usb and restart. (log will become several GB in size.)
No problem.
Two more things of interest to me, output of:
Code:
find / -name crontabs
And if you go into the location when found, is there a file in it with your router username in the crontabs directory?
 
Sure thing =)
/var/spool/cron/crontabs
Yes, the file exists.
OK, thanks. That differs from 380.x which is /tmp/var/spool/cron/crontabs/
 
Sure thing =)
/var/spool/cron/crontabs
Yes, the file exists.
What about dnsmasq version?
Code:
dnsmasq -v
 
Dnsmasq version 2.78 Copyright (c) 2000-2017 Simon Kelley
Compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth DNSSEC no-ID loop-detect no-inotify
 
Dnsmasq version 2.78 Copyright (c) 2000-2017 Simon Kelley
Compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth DNSSEC no-ID loop-detect no-inotify
The only difference is the no-ID compile option which I cant find in the Dnsmasq documentation.
 
Sure thing =)
/var/spool/cron/crontabs
Yes, the file exists.
Another test, just verifying it's not the pipe I use for the cj function:
Code:
cru l | sed -e 's/^/ /'
This should indent the cron jobs by one character.
 
Another test, just verifying it's not the pipe I use for the cj function:
Code:
cru l | sed -e 's/^/ /'
This should indent the cron jobs by one character.
cru l | sed -e 's/^/ /'
00 3 * * Fri /tmp/mnt/Asus/adblocking/addon/update-hosts.add cronjob #AB_UpdateHosts#
25 2 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware#
25 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate#
0 * * * * sh /jffs/scripts/firewall save #Skynet_save#
 
cru l | sed -e 's/^/ /'
00 3 * * Fri /tmp/mnt/Asus/adblocking/addon/update-hosts.add cronjob #AB_UpdateHosts#
25 2 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware#
25 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate#
0 * * * * sh /jffs/scripts/firewall save #Skynet_save#
Alright, got that nailed down.

The cron errors should be gone in 382.x and the cj function will properly display them.
I'm waiting for a reply by Merlin concerning the Dnsmasq errors.
Depending on his findings I can push an update for AB-Solution.
 
@.TT. can you run 22 in the AB UI , then scroll up and post the complete "checking AB-Solution installation".
And then in the sub menu the rc function, also posting the output.
 
@.TT. can you run 22 in the AB UI , then scroll up and post the complete "checking AB-Solution installation".
And then in the sub menu the rc function, also posting the output.
22

checking AB-Solution installation

checking /jffs/scripts/dnsmasq.postconf

jffs file check, passed:
/jffs/scripts/dnsmasq.postconf
file found
content looks good

checking /jffs/scripts/post-mount

jffs file check, passed:
/jffs/scripts/post-mount
file found
content looks good

checking ab_dnsmasq_postconf.sh
file found
content looks good

checking white and black list
files found, no further checks

checking blocking_file
file found
content looks good

checking ab-solution.cfg
file found
content looks good

checking update-hosts.add
file found
content looks good

checking rotate-logs.add
file found
content looks good

checking cron job blocking file update
ls: /tmp/var/spool/cron/crontabs: No such file or directory
grep: /tmp/var/spool/cron/crontabs/admintomas: No such file or directory

checking symlink state
file found
content looks good

checking shell history state
file found
content looks good

checking /etc/dnsmasq.conf
file found
adblocking state looks good
 
@.TT. can you run 22 in the AB UI , then scroll up and post the complete "checking AB-Solution installation".
And then in the sub menu the rc function, also posting the output.
Router check RT-AC86U @ 192.168.2.1
---------------------------------------------------

checking internet access with Level 3 DNS
(209.244.0.3)
Level 3 responded, Internet access OK

checking Administration/Operation Mode:
Router is in Wireless Router mode

checking /jffs, Administration/System/
Persistent JFFS2 partition:
- Enable JFFS custom scripts and configs:
Custom scripts are enabled
- Format JFFS partition at next boot:
No /jffs/ formatting is scheduled
- read/write capability to /jffs:
Device /jffs/scripts test passed

checking AiProtection/Network Protection:
Network Protection is disabled
(even when enabled, this has no impact on
AB-Solution functionality)

checking AiProtection/Parental Controls:
Parental Controls is disabled
(even when enabled, this has no impact on
AB-Solution functionality)

checking AiProtection/DNS Filtering:
DNS-based Filtering is enabled
Depending on your settings, AB-Solution may
not work for devices in the Filter list

checking LAN/DHCP Server,
Enable the DHCP Server:
DHCP Server enabled

checking LAN/DHCP Server,
DNS Server 1 and DNS Server 2:
Both LAN-DNS Server fields are empty

checking LAN/DHCP Server,
Forward local domain queries to upstream DNS:
Forward to upstream DNS disabled

checking AiCloud/Settings,
AiCloud Web access port:
(only relevant when pixelserv-tls is installed)
AiCloud not in use or port not set to 443

checking USB Application/Download Master,
(only relevant when Entware and
pixelserv-tls is installed)
Download Master is not installed

checking read/write capability to
/tmp/mnt/Asus:
Device /tmp/mnt/Asus test passed

checking for device label for
/tmp/mnt/Asus:
Device has a label and is not named by system

checking for other scripts,
they may add additional log file entries:
no redirects found

checking for common other scripts in use,
they may block additional domains or IP's:
These scripts were detected:
/jffs/scripts/firewall

Be aware they block IP addresses and domains
outside of the control of AB-Solution

AB-Solution has built in procedures to work well with
detected scripts and may auto exchange lists with them
NOTE checking AiProtection/Network Protection is incorrect.
"AIProtection - Two-Way IPS" is on
"AIProtection - Infected Device Prevention and Blocking" is on
 
Router check RT-AC86U @ 192.168.2.1
---------------------------------------------------

checking internet access with Level 3 DNS
(209.244.0.3)
Level 3 responded, Internet access OK

checking Administration/Operation Mode:
Router is in Wireless Router mode

checking /jffs, Administration/System/
Persistent JFFS2 partition:
- Enable JFFS custom scripts and configs:
Custom scripts are enabled
- Format JFFS partition at next boot:
No /jffs/ formatting is scheduled
- read/write capability to /jffs:
Device /jffs/scripts test passed

checking AiProtection/Network Protection:
Network Protection is disabled
(even when enabled, this has no impact on
AB-Solution functionality)

checking AiProtection/Parental Controls:
Parental Controls is disabled
(even when enabled, this has no impact on
AB-Solution functionality)

checking AiProtection/DNS Filtering:
DNS-based Filtering is enabled
Depending on your settings, AB-Solution may
not work for devices in the Filter list

checking LAN/DHCP Server,
Enable the DHCP Server:
DHCP Server enabled

checking LAN/DHCP Server,
DNS Server 1 and DNS Server 2:
Both LAN-DNS Server fields are empty

checking LAN/DHCP Server,
Forward local domain queries to upstream DNS:
Forward to upstream DNS disabled

checking AiCloud/Settings,
AiCloud Web access port:
(only relevant when pixelserv-tls is installed)
AiCloud not in use or port not set to 443

checking USB Application/Download Master,
(only relevant when Entware and
pixelserv-tls is installed)
Download Master is not installed

checking read/write capability to
/tmp/mnt/Asus:
Device /tmp/mnt/Asus test passed

checking for device label for
/tmp/mnt/Asus:
Device has a label and is not named by system

checking for other scripts,
they may add additional log file entries:
no redirects found

checking for common other scripts in use,
they may block additional domains or IP's:
These scripts were detected:
/jffs/scripts/firewall

Be aware they block IP addresses and domains
outside of the control of AB-Solution

AB-Solution has built in procedures to work well with
detected scripts and may auto exchange lists with them
NOTE checking AiProtection/Network Protection is incorrect.
"AIProtection - Two-Way IPS" is on
"AIProtection - Infected Device Prevention and Blocking" is on
AiProtection/DNS Filtering is set to on on your router, for AiProtection/Network Protection I check these values:
Code:
nvram get wrs_cc_enable
nvram get wrs_mals_enable
nvram get wrs_vp_enable
If one of them is set to 1 then I see it as enabled.
 
I have:
nvram get wrs_cc_enable 1
nvram get wrs_mals_enable 0
nvram get wrs_vp_enable 1

checking AiProtection/Network Protection:
Network Protection is disabled
 
I have:
nvram get wrs_cc_enable 1
nvram get wrs_mals_enable 0
nvram get wrs_vp_enable 1

checking AiProtection/Network Protection:
Network Protection is disabled
OK, that is a coding error, thanks for reporting.
 
Status
Not open for further replies.

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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