What's new

Kamoj Kamoj Add-on Beta testing II

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

Thank you very much for the suggestion!

If you or anyone has specific examples of "pop-ups", I'm interested to add them to the add-on.
Probably it would be possible to link the pop-up text to e.g. the FAQ.txt.
(Normally people dislike pop-ups, so there need to be some opt-out functionality as well.)

I would also love to get help to structure and add info to the FAQ.txt!

There are already a number of such pop-ups in the add-on, but you might not have tried those functions yet!

Hello Kamoj, I have a question for you. Do you plan to establish communication between incompatible features in the future? With pop-up recommendations. For example, if I have a VPN client activated, then when Wireguard client is activated, a window immediately pops up with a warning that this is impossible. (And so on.) Pop-up windows can also be useful when configuring your application. For example, if I want to activate (Killswitch On), then a window with a description of this function immediately pops up. In Germany, such applications are very popular, even among professionals, because they are quick tuning and memory training. These applications are called (Kinderleicht). This means that even a child can customize the application!
This is not a recommendation, this is a simple question.
Best regards to your work!
Baursak
 
Changes in kamoj-addon beta version 2021-08-06 5.4b33
---------------------------------------------------------------
- Router Information: Added: Firmware's Version Information, with date information
- Router Information: Added: Aegis Version Information (if installed)
- System Information: Added: WiFi Information: 60 GHz (R9000)
- System Information: Added: WiFi 60 GHz Details (R9000)
- Settings: Added: Block local IPs from Internet/wan
- OpenVPN Client: Added: "data-ciphers " where missing (To avoid warnings in OpenVPN 2.4+)
- OpenVPN Client: Optimized start speed at boot
- OpenVPN Client: Enhanced handling and logging of bad .ovpn files (@R. Gerrits)
Now the add-on handles and recovers these 3 error cases:
+ The .ovpn file does not contains the line "auth-user-pass"
+ The .ovpn file contains the line "auth-user-pass" without giving password file name.
+ The .ovpn file contains the line "auth-user-pass" but with wrong password file name.
- VPN Clients: Added common file addon_killswitch.sh (@R. Gerrits)
- VPN Bypassing: Added: Interface (LAN/WiFi interface/Not connected) to displayed list of devices
- VPN Bypassing: Added: Allow devices using a certain WiFi network to bypass the VPN. See FAQ.txt (@baursak, @R. Gerrits)
- VPN Bypassing: Added: Force devices using a certain MAC address to use the VPN. See FAQ.txt (@R. Gerrits)
- VPN Bypassing: Updated: Allow devices using a certain interface (e.g. tun0) to bypass the VPN. See FAQ.txt
- VPN Bypassing: Kill Switch bypassing added for the new functions.
- VPN Bypassing: Corrected: "Reverse VPN bypassing", i.e. Default that all devices bypass the VPN. See FAQ.txt
- VPN Bypassing: Corrected: Bypassing stopped working. (@blueliner, @R. Gerrits)
- Minor fixes.
- FAQ.txt updated.

NOTA BENE: (@sppmaster)
The OpenVPN Client is automatically switched on with installation of this release.
If you don't use OpenVPN, please switch it off after install of the add-on:
ADVANCED: Kamoj Menu: OpenVPN Client: Click on the "big" green checkbox to disable OpenVPN Client.
 
Last edited:
Thanks for the latest b33.
From the previous b32 I experience the following:
After uninstalling the @kamoj add-on (b32, b33) and after the router reboot I can no longer SSH with my private key. It seems like the public key used to authenticate the SSH session was removed from the router memory. Then I have to copy the RSA public key again to the router in order to get access. The same behavior is observed after installing the add-on. Upon reboot I no longer have access.
I don't use OpenVPN but after installing the b33 I've found that OpenVPN was turned on in settings (I had it disabled from previous betas). Probably this was intended behavior considering the changes to the OpenVPN settings in latest b33.
 
Last edited:
Thank you for your report! :)

The add-on does (should not) not touch any SSH/keys, but an install of router Firmware (e.g. Voxel) erase it.
So I can not explain this behaviour. o_O
You should have your keys stored on USB for auto-restore after firmware update - as described elsewhere in several threads.

The OpenVPN thing was not intended behaviour. That was bad of me. Sorry for that. :oops:
Added to the release_notes that it has to be switched off manually.
Thanks for the latest b33.
From the previous b32 I experience the following:
After uninstalling the @kamoj add-on (b32, b33) and after the router reboot I can no longer SSH with my private key. It seems like the public key used to authenticate the SSH session was removed from the router memory. Then I have to copy the RSA public key again to the router in order to get access. The same behavior is observed after installing the add-on. Upon reboot I no longer have access.
I don't use OpenVPN but after installing the b33 I've found that OpenVPN was turned on in settings (I had it disabled from previous betas). Probably this was intended behavior considering the changes to the OpenVPN settings in latest b33.
 
Changes in kamoj-addon beta version 2021-08-06 5.4b34
---------------------------------------------------------------
- OpenVPN Client: Corrected: The OpenVPN Client is automatically switched on. (@sppmaster)
If you installed 5.4b33 and are not using OpenVPN client, please switch it off:
ADVANCED: Kamoj Menu: OpenVPN Client: Click on the "big" green checkbox to disable OpenVPN Client.
 
Thank you as always for your good reporting!
The downloading probably times out for you. What timeout do you use for downloads?
Don't know what about the bypassing is about.
Wish you had taken a screen dump of Router Information page. Its very informative...
Hello,

Have not been able to follow up until now...

Regarding the timeouts, the kamoj_download_timeout value is set at 90. However, it turns out my internet connection is much worse than normal. I get a lot of connection resets and socket errors on downloads. This is happening on both networks (R9000 running Voxel/Kamoj and R6300's on DD-WRT). Devices have the same problem on either network. Not sure what the problem may be, but I haven't had time to look. Other than checking my satellite dish alignment I don't know where to start...off topic, but suggestions are welcome!

I did check the router information page and Sytem Information before uninstalling 5.4b32 (and going back to 5.4b31). However, I forgot to take the screen dumps.... the only thing I noticed was the high MTD System Disk usage on 5.4b32. It is normaly in the ~40% range but was 90% when I took the screenshot. It rose even higher before I uninstalled 5.4b32. It was still high on 5.4b31, so I did a fresh install of the firmware and the Add-on. Its back to normal since then (40.1% today).

Best wishes,
BL
 
Changes in kamoj-addon beta version 2021-08-06 5.4b34
---------------------------------------------------------------
- OpenVPN Client: Corrected: The OpenVPN Client is automatically switched on. (@sppmaster)
If you installed 5.4b33 and are not using OpenVPN client, please switch it off:
ADVANCED: Kamoj Menu: OpenVPN Client: Click on the "big" green checkbox to disable OpenVPN Client.
Hello,

You must really be keeping yourself busy Kamoj! I will give 5.4b34 a try later today. The VPN changes will be very useful....thank you.

That reminds me of a question I wanted to ask....with there now being the Add-on variables:
kamoj_ping_timeout and kamoj_long_ping_timeout , does this mean that the variables
kamoj_restart_ping_timeout and kamoj_restart_long_ping_timeout are no longer used? That is the way I understand it after reading the updated FAQ, but I wasn't sure.

Best wishes,
BL
 
Yes, kamoj_restart_ping_timeout and kamoj_restart_long_ping_timeout are no longer used.
Hello,

You must really be keeping yourself busy Kamoj! I will give 5.4b34 a try later today. The VPN changes will be very useful....thank you.

That reminds me of a question I wanted to ask....with there now being the Add-on variables:
kamoj_ping_timeout and kamoj_long_ping_timeout , does this mean that the variables
kamoj_restart_ping_timeout and kamoj_restart_long_ping_timeout are no longer used? That is the way I understand it after reading the updated FAQ, but I wasn't sure.

Best wishes,
BL
 
The question is not connected to the add-on but as the screenshot is taken from it I post it here.
1628626301143.png

What do the UBI max/mean erase counters show?
 
They show how many times the flash memory blocks have been written to.

For more info, read this thread:
https://www.snbforums.com/threads/r...0-4-42hf-rebooting-randomly.64887/post-598860

Unsorted URL/link collection (where I found info to implement the info gathering in the add-on):

The question is not connected to the add-on but as the screenshot is taken from it I post it here.
View attachment 35639
What do the UBI max/mean erase counters show?
 
Changes in kamoj-addon beta version 2021-08-11 5.4b35
---------------------------------------------------------------
- VPN Killswitch: Corrected: The Killswitch was not working in 5.4b34.
- System Information: Aegis release info: Made auto-expanding.
 
Hi guys,

I have some issue with AdguardHome after 24 hours I restarted my router some applications on android taking long to load or to load the pictures like in the twitter. If I restart the router I have no issue for another 24 hour, but after it's starting again.
What I tried so far is wiping all the Kamoj settings and reinstall, use the default DNS settings and the block list, but doesn't work. Also, I tried to without block list, or with just 1 DNS server Cloudflare, same issue after 24 hours.

Uninstalled the add-on, and it's working flawlessly in the last 48 hours, so I can say Voxel firmware is good.

I have an R7800 and I tried with Voxel firmware V1.0.2.85SF -86SF and 87SF and Kamoj add-on b30, b32, b34. Also upgraded AdguardHome to the latest beta version, no change.

Also using Aegis 1.7.12.

Anyone any idea what it could be the issue, or I'm missing something?

Thanks,
 
Hi guys,

I have some issue with AdguardHome after 24 hours I restarted my router some applications on android taking long to load or to load the pictures like in the twitter. If I restart the router I have no issue for another 24 hour, but after it's starting again.
What I tried so far is wiping all the Kamoj settings and reinstall, use the default DNS settings and the block list, but doesn't work. Also, I tried to without block list, or with just 1 DNS server Cloudflare, same issue after 24 hours.

Uninstalled the add-on, and it's working flawlessly in the last 48 hours, so I can say Voxel firmware is good.

I have an R7800 and I tried with Voxel firmware V1.0.2.85SF -86SF and 87SF and Kamoj add-on b30, b32, b34. Also upgraded AdguardHome to the latest beta version, no change.

Also using Aegis 1.7.12.

Anyone any idea what it could be the issue, or I'm missing something?

Thanks,
Check memory and cpu usage.
And of course, check the AdGuard log file.
Run speedtest.sh from router command line to check internet speed.
 
Check memory and cpu usage.
And of course, check the AdGuard log file.
Run speedtest.sh from router command line to check internet speed.

Kamoj,
this thread reminded me I have been having trouble with the Okla Speed Test in your excellent addon. Below is a result for my r7800 with Voxel V87SF and kamojo 54b34, while running the Open VPN client for Pure VPN. It worked well previously, but the problem goes back to V86 and 54b31 or 54b32, although it does not occur when when not running OpenVPN.

2021-08-12 02:32:24 us=35101 Socket Buffers: R=[2097152->786432] S=[786432->786432]
R7800: Nearby servers: 19103 38371 17568 26327 8814 38367 38372 32632 16753 17394
Extern IP: AAA.BB.XX.YYY
Testing servers: 19103
Core: 0, Server: 19103
--- Test:1 Core:0 serverid=19103 ---
Deleting bad file...

Usually when this is done showing the Okla test results indicates that no test has been done.


However, I tried speedtest.sh from a telnet command line and got the following:

root@XXX:/$ speedtest.sh 3 auto all
2021-08-12 02:32:24 us=35101 Socket Buffers: R=[2097152->786432] S=[786432->786432]
R7800: Nearby servers: 43574 16754 911 4393 24707 8825 29136 32904 33945 31838
Extern IP: AAA.BB.XX.YYY
Testing servers: 43574 16754 911 4393 24707 8825 29136 32904 33945 31838
Core: 0, Server: 43574
--- Test:1 Core:0 serverid=43574 ---
--- Test:2 Core:0 serverid=43574 ---
serverid: 43574
isp: Bell Canada
latency: 160
download: 37968
upload: 4528
--- Test:3 Core:0 serverid=43574 ---
2021-08-12 10:07:07 #1: AAA.BB.XX.YYY ISP:Bell Canada, Server:43574,Canada. Core 0. Ping=160/160/160 ms, DL=37968/37968/37968, UL=4528/4528/4528 (Kbps)
Core: 0, Server: 16754
--- Test:1 Core:0 serverid=16754 ---
--- Test:2 Core:0 serverid=16754 ---
--- Test:3 Core:0 serverid=16754 ---
Deleting bad file...
Core: 0, Server: 911
--- Test:1 Core:0 serverid=911 ---
--- Test:2 Core:0 serverid=911 ---
--- Test:3 Core:0 serverid=911 ---
Deleting bad file...
Core: 0, Server: 4393
--- Test:1 Core:0 serverid=4393 ---
--- Test:2 Core:0 serverid=4393 ---
--- Test:3 Core:0 serverid=4393 ---
Deleting bad file...
Core: 0, Server: 24707
--- Test:1 Core:0 serverid=24707 ---
--- Test:2 Core:0 serverid=24707 ---
--- Test:3 Core:0 serverid=24707 ---
Deleting bad file...
Core: 0, Server: 8825
--- Test:1 Core:0 serverid=8825 ---
--- Test:2 Core:0 serverid=8825 ---
--- Test:3 Core:0 serverid=8825 ---
Deleting bad file...
Core: 0, Server: 29136
--- Test:1 Core:0 serverid=29136 ---
--- Test:2 Core:0 serverid=29136 ---
--- Test:3 Core:0 serverid=29136 ---
Deleting bad file...
Core: 0, Server: 32904
--- Test:1 Core:0 serverid=32904 ---
--- Test:2 Core:0 serverid=32904 ---
--- Test:3 Core:0 serverid=32904 ---
Deleting bad file...
Core: 0, Server: 33945
--- Test:1 Core:0 serverid=33945 ---
--- Test:2 Core:0 serverid=33945 ---
--- Test:3 Core:0 serverid=33945 ---
Deleting bad file...
Core: 0, Server: 31838
--- Test:1 Core:0 serverid=31838 ---
--- Test:2 Core:0 serverid=31838 ---
--- Test:3 Core:0 serverid=31838 ---
Deleting bad file...

Interestingly, now Show All for the Okla Speed Test shows the successfull Bell Canada result.
Anything more I can do to help to figure out why this is happening?

LSM
 
Kamoj,
this thread reminded me I have been having trouble with the Okla Speed Test in your excellent addon. Below is a result for my r7800 with Voxel V87SF and kamojo 54b34, while running the Open VPN client for Pure VPN. It worked well previously, but the problem goes back to V86 and 54b31 or 54b32, although it does not occur when when not running OpenVPN.

2021-08-12 02:32:24 us=35101 Socket Buffers: R=[2097152->786432] S=[786432->786432]
R7800: Nearby servers: 19103 38371 17568 26327 8814 38367 38372 32632 16753 17394
Extern IP: AAA.BB.XX.YYY
Testing servers: 19103
Core: 0, Server: 19103
--- Test:1 Core:0 serverid=19103 ---
Deleting bad file...

Usually when this is done showing the Okla test results indicates that no test has been done.


However, I tried speedtest.sh from a telnet command line and got the following:

root@XXX:/$ speedtest.sh 3 auto all
2021-08-12 02:32:24 us=35101 Socket Buffers: R=[2097152->786432] S=[786432->786432]
R7800: Nearby servers: 43574 16754 911 4393 24707 8825 29136 32904 33945 31838
Extern IP: AAA.BB.XX.YYY
Testing servers: 43574 16754 911 4393 24707 8825 29136 32904 33945 31838
Core: 0, Server: 43574
--- Test:1 Core:0 serverid=43574 ---
--- Test:2 Core:0 serverid=43574 ---
serverid: 43574
isp: Bell Canada
latency: 160
download: 37968
upload: 4528
--- Test:3 Core:0 serverid=43574 ---
2021-08-12 10:07:07 #1: AAA.BB.XX.YYY ISP:Bell Canada, Server:43574,Canada. Core 0. Ping=160/160/160 ms, DL=37968/37968/37968, UL=4528/4528/4528 (Kbps)
Core: 0, Server: 16754
--- Test:1 Core:0 serverid=16754 ---
--- Test:2 Core:0 serverid=16754 ---
--- Test:3 Core:0 serverid=16754 ---
Deleting bad file...
Core: 0, Server: 911
--- Test:1 Core:0 serverid=911 ---
--- Test:2 Core:0 serverid=911 ---
--- Test:3 Core:0 serverid=911 ---
Deleting bad file...
Core: 0, Server: 4393
--- Test:1 Core:0 serverid=4393 ---
--- Test:2 Core:0 serverid=4393 ---
--- Test:3 Core:0 serverid=4393 ---
Deleting bad file...
Core: 0, Server: 24707
--- Test:1 Core:0 serverid=24707 ---
--- Test:2 Core:0 serverid=24707 ---
--- Test:3 Core:0 serverid=24707 ---
Deleting bad file...
Core: 0, Server: 8825
--- Test:1 Core:0 serverid=8825 ---
--- Test:2 Core:0 serverid=8825 ---
--- Test:3 Core:0 serverid=8825 ---
Deleting bad file...
Core: 0, Server: 29136
--- Test:1 Core:0 serverid=29136 ---
--- Test:2 Core:0 serverid=29136 ---
--- Test:3 Core:0 serverid=29136 ---
Deleting bad file...
Core: 0, Server: 32904
--- Test:1 Core:0 serverid=32904 ---
--- Test:2 Core:0 serverid=32904 ---
--- Test:3 Core:0 serverid=32904 ---
Deleting bad file...
Core: 0, Server: 33945
--- Test:1 Core:0 serverid=33945 ---
--- Test:2 Core:0 serverid=33945 ---
--- Test:3 Core:0 serverid=33945 ---
Deleting bad file...
Core: 0, Server: 31838
--- Test:1 Core:0 serverid=31838 ---
--- Test:2 Core:0 serverid=31838 ---
--- Test:3 Core:0 serverid=31838 ---
Deleting bad file...

Interestingly, now Show All for the Okla Speed Test shows the successfull Bell Canada result.
Anything more I can do to help to figure out why this is happening?

LSM
I can only think about that the server "19103" dos not respond in an accurate way...
Or does it happen with other VPN servers as well?

You can recreate what is run from the GUI, and see what happens. E.g:
Code:
speedtest.sh 1 auto one
 
I can only think about that the server "19103" dos not respond in an accurate way...
Or does it happen with other VPN servers as well?

You can recreate what is run from the GUI, and see what happens. E.g:
Code:
speedtest.sh 1 auto one

OK, here is the result:

root@LS-Gateway:/$ speedtest.sh 1 auto one
2021-08-12 02:32:24 us=35101 Socket Buffers: R=[2097152->786432] S=[786432->786432]
R7800: Nearby servers: 19103 38371 17568 26327 8814 38367 38372 32632 16753 17394
Extern IP: AAA.BB.XX.YYY
Testing servers: 19103
Core: 0, Server: 19103
--- Test:1 Core:0 serverid=19103 ---
serverid: 19103
isp: Rogers Cable
latency: 147
download: 33062
upload: 4932
2021-08-12 11:33:12 #1: 172.94.34.148 ISP:Rogers Cable, Server:19103,Canada. Core 0. Ping=147/147/147 ms, DL=33062/33062/33062, UL=4932/4932/4932 (Kbps)

The plot thickens! 19103 appears to be from my ISP of Rogers Cable but I am running the kamoji Open VPN client with PureVPN. At the moment I am using a PureVPN server in Vancouver as the Toronto servers have been variable in reliability the last few weeks. The download speed above is in the range I get during the day from Vancouver, but the latency higher.

I just ran an Okla test from my browser and got ping: 78 ms, Download Mbps: 30.49, Upload Mbps 3.16. What is odd is that the browser test shows that the VPN is working as the address is from Performive in Vancouver (same service as PureVPN uses in Toronto) and a Rogers server is is not available to test in Vancouver with the Okla browser test. Although the above test shows Rogers as the isp, the speed is consistent with current openvpn using PureVPN, although a few weeks ago I was hitting 70ish Mbps DL in offpeak periods. Stock nonvpn Rogers download is about 300 Mbps.

LSM
 
OK, here is the result:

root@LS-Gateway:/$ speedtest.sh 1 auto one
2021-08-12 02:32:24 us=35101 Socket Buffers: R=[2097152->786432] S=[786432->786432]
R7800: Nearby servers: 19103 38371 17568 26327 8814 38367 38372 32632 16753 17394
Extern IP: AAA.BB.XX.YYY
Testing servers: 19103
Core: 0, Server: 19103
--- Test:1 Core:0 serverid=19103 ---
serverid: 19103
isp: Rogers Cable
latency: 147
download: 33062
upload: 4932
2021-08-12 11:33:12 #1: 172.94.34.148 ISP:Rogers Cable, Server:19103,Canada. Core 0. Ping=147/147/147 ms, DL=33062/33062/33062, UL=4932/4932/4932 (Kbps)

The plot thickens! 19103 appears to be from my ISP of Rogers Cable but I am running the kamoji Open VPN client with PureVPN. At the moment I am using a PureVPN server in Vancouver as the Toronto servers have been variable in reliability the last few weeks. The download speed above is in the range I get during the day from Vancouver, but the latency higher.

I just ran an Okla test from my browser and got ping: 78 ms, Download Mbps: 30.49, Upload Mbps 3.16. What is odd is that the browser test shows that the VPN is working as the address is from Performive in Vancouver (same service as PureVPN uses in Toronto) and a Rogers server is is not available to test in Vancouver with the Okla browser test. Although the above test shows Rogers as the isp, the speed is consistent with current openvpn using PureVPN, although a few weeks ago I was hitting 70ish Mbps DL in offpeak periods. Stock nonvpn Rogers download is about 300 Mbps.

LSM
Thank you for providing more info!

The server ip and ISP name comes directly from Ookla, not from the addon itself...
Make sure that "Router it-self bypass VPN" is not checked in VPN Bypassing.
Also update to addon v5.4b35+.
 
Thank you for providing more info!

The server ip and ISP name comes directly from Ookla, not from the addon itself...
Make sure that "Router it-self bypass VPN" is not checked in VPN Bypassing.
Also update to addon v5.4b35+.

OK, self-bypass VPN is not checked, and sorry for the mistake, but I am on V35 of your addon.

I tried the addon Okla Speed Test again. The first run worked fine, although it is yet another server number 39286. The next 3 tries failed as earlier twice on an new server number 5777, and once each of 38273 and 16724, also new numbers.

It seems as if PureVPN is listing some nearby server numbers that are not valid and are causing the speed check to choke when run from the addon.

LSM
 
OK, self-bypass VPN is not checked, and sorry for the mistake, but I am on V35 of your addon.

I tried the addon Okla Speed Test again. The first run worked fine, although it is yet another server number 39286. The next 3 tries failed as earlier twice on an new server number 5777, and once each of 38273 and 16724, also new numbers.

It seems as if PureVPN is listing some nearby server numbers that are not valid and are causing the speed check to choke when run from the addon.

LSM
It's Ookla that provides the server id's that are supposed to be near the "VPN exit node". Probably based on ping times.
If I could repeat this behaviour I could enhance the add-on, but for now I've to ask you to run speedtest.sh "by hand". Sorry for that!

Thank you again for reporting your findings and experiences here! :)
 
It's Ookla that provides the server id's that are supposed to be near the "VPN exit node". Probably based on ping times.
If I could repeat this behaviour I could enhance the add-on, but for now I've to ask you to run speedtest.sh "by hand". Sorry for that!

Thank you again for reporting your findings and experiences here! :)

No problem! It is both a pleasure and a privilage to provide any assistance to you I can. Your add-on is an excellent, very helpful item and this issue was a very minor one. However, I feel much better now knowing that.

LSM
 

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