What's new

Kamoj Kamoj Add-on 5.1 Beta testing poll

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

Do you want to beta test Kamoj add-on v5.1b1?

  • No, I don't trust 3rd party software

    Votes: 0 0.0%
  • No, I don't use the Voxel firmware

    Votes: 0 0.0%
  • No, I don't like your add-on

    Votes: 0 0.0%

  • Total voters
    207
@kamoj take care of yourself! :)

Stay safe friend.
 
Kamoj

FYI
I am running Voxel 1.0.2.75.2 with Kamoj v5.2b2-5. Device list shows devices OK - both with & without "Show only Active Devices" checked.

Take care and I hope you are feeling well soon
 
  • Like
Reactions: KW.
Still only you that has reported this issue.
I suggest you uninstall, rebbot, install again, reboot.
If still not ok, use e.g. v5.2b2-3.
I'm not feeling well and can not help you more now.

Hello,

it works ! I've uninstall and delete old kamoj settings then reinstall ! it's perfect, vpnbypass working well both with devices on lan or wifi.
Thanks for your help, hope you will feeling well asap.
 
New beta available!

Changes in kamoj-addon beta version 5.2b3-2
------------------------------------------------------
- Bandwidth Monitor: New function added.
The function only use RAM for counters, and automatically makes
backup and restore from USB.
The statistics sampling will cause a slightly raised cpu while sampling.
The function can be disabled in Settings.
The counters can be reset in Settings.
(Made this "project" to learn more about iptables, and prepare for
future bandwidth limiting and data transfer limit functions, etc.)

Changes in kamoj-addon beta version 5.2b3-1
------------------------------------------------------
- This build was never relased for test
- Router Information: Added color coding of RSSI values
- Settings: Cleaned up html code a little bit. Still much to do
- OpenVPN Client: Renamed one of the 2 buttons with same name: "Start VPN with this" -> "Start VPN"
- Settings: flash info: Added "mean erase counter" if available
- Other minor fixes
 
New beta available!

Changes in kamoj-addon beta version 5.2b3-2
------------------------------------------------------
- Bandwidth Monitor: New function added.
The function only use RAM for counters, and automatically makes
backup and restore from USB.
The statistics sampling will cause a slightly raised cpu while sampling.
The function can be disabled in Settings.
The counters can be reset in Settings.
(Made this "project" to learn more about iptables, and prepare for
future bandwidth limiting and data transfer limit functions, etc.)

Changes in kamoj-addon beta version 5.2b3-1
------------------------------------------------------
- This build was never relased for test
- Router Information: Added color coding of RSSI values
- Settings: Cleaned up html code a little bit. Still much to do
- OpenVPN Client: Renamed one of the 2 buttons with same name: "Start VPN with this" -> "Start VPN"
- Settings: flash info: Added "mean erase counter" if available
- Other minor fixes

Hello @kamoj

Thank you for the new beta (I could see that I was the first to download it).

To install it, I uninstalled Kamoj add-on 5.2b2-5. Rebooted. Used tftp to transfer the new beta to the router. Installed it and rebooted. I made NO changes in the Voxel installation or settings; I did not change the password.

All of the problems that I previously reported are now fixed. Check boxes work, as do "show" boxes. The OpenVPN device list is now populated (it wasn't before).

Thank you for the update.
 
just also upgraded to 5.2b3-2

Is this a bug, or something I messed up locally??
Code:
root@R7800:~$ net-wall restart
Starting Firewall...
Done!
/opt/scripts/firewall-start-bwusage.sh: /opt/scripts/firewall-start-bwusage.sh: 2: /tmp/addons/addon_bwusage/firewall-start-bwusage.sh: not found
 
Thank you for the report!
My fault:oops:, should not effect anything else.

You can get rid of the error message by:
deleting the not needed file, eg:
Code:
\rm -f /opt/scripts/firewall-start-bwusage.sh
(Must be done after each reboot if you have Bandwidth monitoring enabled).
or creating the missing file, eg:
Code:
echo "#!/bin/sh" >/tmp/addons/addon_bwusage/firewall-start-bwusage.sh
chmod +x /tmp/addons/addon_bwusage/firewall-start-bwusage.sh
(Must be done after each reboot).
PS
I've prepared to move the Bandwidth Monitor iptables new CHAIN settings to a firewall-file (now missing)
in RAM, that shall be called from /opt/scripts/firewall-start-bwusage.sh.
I just missed to commit/check-in all files.
As it is now the Netgear/DNI firewall will be reset a couple of times per 24h,
and this missing file purpose is to restore the CHAIN, even though the iptables statistics counter will be lost for a few minutes.

just also upgraded to 5.2b3-2
Is this a bug, or something I messed up locally??
Code:
root@R7800:~$ net-wall restart
Starting Firewall...
Done!
/opt/scripts/firewall-start-bwusage.sh: /opt/scripts/firewall-start-bwusage.sh: 2: /tmp/addons/addon_bwusage/firewall-start-bwusage.sh: not found
 
Last edited:
Thank you for the report!
My fault:oops:, should not effects anything else.
Okay, I'll just ignore the message.

I myself a couple of weeks ago also looked into measuring traffic / bandwidth per device with iptables.
But I gave up as I couldn't produce accurate data.
For instance I would download a 2 GB file to a device, but according to iptables statistics, it maybe only showed a few MB of traffic to that device.

But I'll try the same with your monitor.
 
Thank you for all good input and feedback in this forum, really appreciate it!:)

The Netgear/DNI firewall resets the counters now and then so you need to pull them and reset often.
Also keep in mind that the shell "counters" are only 15-bits (2G / 2147483647) before wrapping.
awk uses floats that are usable for 15 digits. I've prepared for that in the script, since it might be needed
for those who have gbps networks. (The iptables counters are 64-bit so the problem must be Netgear/DNI firewall).
Example of my not so high tech but working code:
Code:
calcadd() {
# Handles up to 15 digits:
# Normal integer is max 2147483647
#--------------------------------------------------------------------------------
a=$1;b=$2;echo|awk -va=$a -vb=$b '{printf "%1.0f", a+b}'
}
Okay, I'll just ignore the message.

I myself a couple of weeks ago also looked into measuring traffic / bandwidth per device with iptables.
But I gave up as I couldn't produce accurate data.
For instance I would download a 2 GB file to a device, but according to iptables statistics, it maybe only showed a few MB of traffic to that device.

But I'll try the same with your monitor.
 
Mentioned also a while back, but only just had a look at it.
I'm running both OpenVPN Client and Server and this results in this false positive in the Kamoj Router Information:
OpenVPN Client Status
vpn_dis_connect.jpg
ERROR - Too many clients started (3) tun21: 176.67.xxx.xxx

So I looked at the code in /usr/bin/addon_info_update.sh and found this to be the cause:
Code:
NoO=$( ps w | grep -v grep | grep -c "/usr/sbin/openvpn" )
and this is thus also counting the server_tun and server_tap instances.
So better change it to something like:
Code:
NoO=$( ps w | grep -v grep | grep -c "/usr/sbin/openvpn --dev $tun" )
(if OpenVPN client is always launched with specifying the device to use)

or
Code:
NoO=$( ps w | grep -v server_tap | grep -v server_tun | grep -v grep | grep -c "/usr/sbin/openvpn" )
(to filter out both stock OpenVPN server instances)
(perhaps this can also be even neater with some regex, but that is not my strong poing)

Also a bit higher in the same script, this line needs to be altered likewise:
Code:
grep -q "$tun" /proc/net/dev && [ "$( ps w | grep -v grep | grep -c "/usr/sbin/openvpn")" -eq "1" ] && vpn_ok="0" || vpn_ok="1"

Perhaps even better, fix the NoO= line, move it to the top, and also use the NoO variable in both checks
 
Last edited:
New beta available!

Changes in kamoj-addon beta version 5.2b3-3
------------------------------------------------------
- Bandwidth Monitor: Recover from Netgear/DNI iptables reset (@R. Gerrits)
- Moved all cron jobs to /tmp and /var RAM to reduce nand wear
- Moved temporary files to /tmp and /var RAM to reduce nand wear
- OpenVPN Client: AzireVPN: Updated to Azire changes. New keys for Canada and USA
- OpenVPN Client: Fixed error to show 3 openvpn instances when server on (@R. Gerrits)
- Router Information: Fixed error to show 3 openvpn instances when server on (@R. Gerrits)
- Settings: Added: Set power LED off
- Wireguard Client: Set WAN LED to inform user VPN is started/stopped
 
This is a report for 5.2b3-3

Bandwidth Usage works better. How long is data collected before it is reset (and/or when is it reset)?

@kamoj, when I installed 5.2b3-2, I reported to you that all of my previously reported issues had been resolved. Unfortunately, that was only true for about 4 hours. After that, the radio buttons, check boxes, "Show" buttons, population of Open VPN devices, etc. all stopped working. Nothing had changed with the system (the browser window even remained open throughout, on Bandwidth Usage) ... only the passage of time. I thought that perhaps rebooting the router might reset the clock (so that the features would work for another 4 hours), but it didn't.

My guess is that the problem is some sort of authentication issue, but the Voxel/NG firmware continues to work fine, and the interface to the Voxel/NG firmware performs as expected. It never times out or goes non-functional.

Frustrating! I was so happy during the period when everything on the Kamoj add-on worked as expected.
 
Last edited:
My guess is that the problem is some sort of authentication issue

I must stay that I also noticed something related:
I'm using Safari on MacOS to connect to the router, and have saved the password in my keychain.
All the stock pages always work without entering a password.
But some of the add-on pages (if the were open for some time) suddenly ask for credentials. Almost if some pages / scripts use a different url or something, but I couldn't see what.

for me disabling the GUI timeout solved this issue.
 
New beta available!

Changes in kamoj-addon beta version 5.2b3-3
------------------------------------------------------
- Bandwidth Monitor: Recover from Netgear/DNI iptables reset (@R. Gerrits)
- Moved all cron jobs to /tmp and /var RAM to reduce nand wear
- Moved temporary files to /tmp and /var RAM to reduce nand wear
- OpenVPN Client: AzireVPN: Updated to Azire changes. New keys for Canada and USA
- OpenVPN Client: Fixed error to show 3 openvpn instances when server on (@R. Gerrits)
- Router Information: Fixed error to show 3 openvpn instances when server on (@R. Gerrits)
- Settings: Added: Set power LED off
- Wireguard Client: Set WAN LED to inform user VPN is started/stopped

Thanks for the update
Wireguard internet led working same as it does with opvpn now
Regards
 
New beta available!

Changes in kamoj-addon beta version 5.3b1
-------------------------------------------------
- AdGuard Home: New function added.
Be sure to read the FAQ.txt before asking any questions.
- Kamoj Menu: Additional fixes to the html code (@Droidrat)
- Hidden Menu: Connected Devices List: Added Automatic refresh
- OpenVPN Server: Bug fixed in vpn-firewall.sh (@R. Gerrits)
- Router Information: Adguard Home: Added
- Router Information: DNSCrypt Proxy v2: Removed Error in red when not started
- Router Information: WiFi information for R9000: Fixed some bugs
 
New beta available!

Changes in kamoj-addon beta version 5.3b1
-------------------------------------------------
- AdGuard Home: New function added.
Be sure to read the FAQ.txt before asking any questions.
- Kamoj Menu: Additional fixes to the html code (@Droidrat)
- Hidden Menu: Connected Devices List: Added Automatic refresh
- OpenVPN Server: Bug fixed in vpn-firewall.sh (@R. Gerrits)
- Router Information: Adguard Home: Added
- Router Information: DNSCrypt Proxy v2: Removed Error in red when not started
- Router Information: WiFi information for R9000: Fixed some bugs

Thank you @kamoj (and I appreciate the call-out for the html fixes).

Unfortunately, no change. Same issues as previously reported.
 
New beta available!
This one is for you that want to try out the Adguard DNS protection.
In short you get the same protection through the router for all devices.

Sorry for the missing configuration file in previous release.:oops:

Changes in kamoj-addon beta version 5.3b2
-------------------------------------------------
- AdGuard Home: New function added.
Be sure to read the FAQ.txt before asking any questions.
- AdGuard Home: Added default configuration
- AdGuard Home: Added adaption of firewall to AdGuard Home ports
- AdGuard Home: Added Erase configuration button
- AdGuard Home: Added AdGuard Home Setup shortcut in adv_index.htm
- Updated FAQ.txt


 

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