regarding the AdGuard issues, I also had some.
I'm still running b34 of Kamoj (so not the latest) and use a beta version of AdGuard Home (v0.107.0-b.13).
So some might already be solved in newer add-on version, but I didn't have time to install that yet.
...
My guess: when curl tries to fetch cloudfare.com, it doesn't do this via AdGuard Home, but via the dns-servers in resolv.conf or dnsmasq.
But still, if Router Information has detected that AdGuard is stopped, then the Supervision should have noticed the same.
...
/tmp/log had 2 big kamoj_addons.log files (19 MB)
I deleted the kamoj_addons.log.bak
(does this .bak file automatically get created when the log gets bigger than 10 MB ??)
Thank you for your replies and extended answer!
In next version (5.5 ) many issues are corrected, the supervision is re-worked, and the logging much extended (with eg iptables, cpu load etc).
And yes, the log is split into 2 when >10 MB, so maximum will be 20 MB.
If you are happy with b34, stay with it until 5.5 is up!
PS
The preliminary changes in 5.5, as per today:
Changes in kamoj-addon beta version 2021-mm-dd 5.5x
---------------------------------------------------------------
- Router Information: Fixed date of "New Voxel Release" (Was always today...)
- Router Information: Added "QoS Information" for R9000 (
@danlat1415)
- Router Information: MTD Flash Usage: Check flash chip at every boot. (
@sppmaster)
- Router Information: Added: "5G Speed". Also Max speed (Since boot)
- Router Information: Added: "2G Speed". Also Max speed (Since boot)
- Router Information: Added: "OpenVPN Client Speed". Added Max speed (Since boot) and Max speed Ever.
- Router Information: OpenVPN Client Status: Improved "down" detection.
- Router Information: Added: "Wireguard Client Speed". Added Max speed (Since boot) and Max speed Ever.
- Router Information: Wireguard Client Status: Improved "down" detection.
- Router Information: Added: "Iptables Information"
- Router Information: NTP synchronized: Reworked with more information at failure.
- Router Information: DNS status: Changed to test all servers (nvram get kamoj_ping_www).
- Router Information: Internet connection status: Changed to test all servers (nvram get kamoj_ping_ip).
- Router Information: Added: "WAN Speed". Added Max speed (Since boot) and Max speed Ever.
- System Information: Added: upnp info
- System Information: Voxel release info: Added date for releases.
- System Information: flash info: Added: Help button + More info: (URL collection) (
@sppmaster)
- OpenVPN Client: VPN tunnel Status: Improved "down" detection.
- OpenVPN Client: Added "Restart at DNS failure".
- Wireguard Client: VPN tunnel Status: Improved "down" detection. (
@jberry,
@primitivo,
@blueliner)
- Wireguard Client: Added "Restart at DNS failure".
- Settings: Rewritten "Show idle devices in device lists" to lower cpu usage
- DNS Privacy/Ad-Blocking: Updated AdGuard Home to v0.106.3
- VPN Bypassing: Corrected bug that made IP's ending with only 1-2 digit(s) in the last octet to refuse being moved.
- VPN Bypassing: Corrected bug that made some IP's appear more than once.
- Shorter Add-on start up time.
- kamoj_fast_openvpn_supervision: removed
- addon_fast_supervision.sh: Added.
nvram variable name: kamoj_fast_openvpn_supervision changed to: kamoj_fast_restart_supervision
This new supervision is performed in a more efficient way to faster detect errors.
When a restart/reboot is needed, it will be logged as e.g:
[FAST_SUPERVISION] 2021-09-19 16:24:09 4772.27 addon_fast_supervision.sh 6514: RESTART: openvpn 6 Cpu load: 4.1 %. Processes: 80. Threads: 180. iptables: ipv4 rules: 154. ipv6 rules: 15. System Load Average: 1.23 1.17 0.98. brwan: Rx: 7.671 KB/s, Tx: 6.342 KB/s. tun21: Rx: 4.370 KB/s, Tx: 2.537 KB/s.
If highs cpu load is detected, the log will also include the
the top cpu hogs, kernel stack backtrace, and the end of the message-log.
If this function is used (nvram set kamoj_fast_restart_supervision=1),
the normal restart_supervision will only be used for ipv6 and WiFi.
addon_fast_supervision supervises (and restarts if so enabled):
DNS:
dnsmasq
dnscrypt2
stubby
adguard
VPN:
openvpn_client
wireguard_client
CONNECTION:
internet connection
dhcp gateway connection
- Added new nvram parameters for controlling (timeout) of downloading files:
kamoj_download_connect_timeout
kamoj_download_max_time
- System Information: Ookla Speed Test, test next server if first gives bad result! (
@LSM)
- ping_guard.sh: Changed to test all servers (nvram get kamoj_ping_ip) in parallel.
To use ping_guard.sh : nvram set kamoj_ping_guard=1;nvram commit; reboot
Log to: /var/log/ping_guard.log
WARNING: Not tested with R9000.
WARNING: Use addon_fast_supervision, unless you need the extensive logging.
- addon_bwusage and addon_bypassvpn:
Corrected atomic lock function
- timeout command changed to not output result as a string
- removed/replaced nvram parameters:
nvram get kamoj_download_timeout
nvram get kamoj_restart_long_ping_timeout (replaced by kamoj_restart_ping_timeout at reboot)
- Changed to a single md5 file for all ipks etc
- FAQ.txt updated.