Blowing up the/mnt/asturw/stat/var/www/admin php files did the trick...  The 
CAKE option now appears and I've enabled it for uplink only. 
Thank you.

Dan
On Wed, Dec 15, 2021 at 04:21 PM, Lonnie Abelbeck  wrote:
Hi Dan,

In general, any .php file output of 'show-union' should not be there.

Files in /mnt/asturw/ is the way files can be written over top read-only 
/mnt/asturo/ (unionfs). So if "/mnt/asturw/stat/var/www/admin/firewall.php" 
exists then the firmware "/mnt/asturo/stat/var/www/admin/firewall.php" will not 
be used.

For my systems:
--
show-union | grep '.php$'
--
(no output)

For sure any /mnt/asturw/stat/var/www/admin/*.php should be removed...
(unless you know why you do not want the latest firmware files!)
--
rm /mnt/asturw/stat/var/www/admin/*.php
--
if there are some more "/mnt/asturw/stat/var/www/" .php/.inc files remaining, 
they should be removed as well.  All web interface stuff.

As far as the "/mnt/asturw/stat/var/lib/asterisk/agi-bin/" files, they are not 
used in the later versions of AstLinux (1.3.10+).  If you need those AGI files 
make a "/mnt/kd/custom-agi/" directory and place AGI files in there.  Then 
reference them as custom-agi/foo.agi in the dialplan, for example:
--
exten => 
s,n,AGI(custom-agi/weather.agi,http://www.weather.gov/xml/current_obs/KMLE.xml 
(http://www.weather.gov/xml/current_obs/KMLE.xml))
--

Good luck.

Lonnie

On Dec 15, 2021, at 2:44 PM, Dan Ryson  wrote:

Hi Lonnie,

Yes, show-union reveals a great number of files (I had to use "more") including 
these .php files: 

/mnt/asturw/stat/var/www/admin/wireguard.php
/mnt/asturw/stat/var/www/admin/network.php
/mnt/asturw/stat/var/www/admin/firewall.php
/mnt/asturw/stat/var/lib/asterisk/agi-bin/cnam.php
/mnt/asturw/stat/var/lib/asterisk/agi-bin/test.php
/mnt/asturw/stat/var/lib/asterisk/agi-bin/asterisk_tuner_caller.php
/mnt/asturw/stat/var/lib/asterisk/agi-bin/kill_remote_ffmpeg.php

Regarding directory paths, I had NOTHING entered for the HTTP Server Directory 
and both HTTP CGI and Allow Listing were unchecked.  Changing this and 
rebooting didn't alter my symptom:  CAKE options are still MIA.

Hi Michael,

Clearing browser cache didn't help.  I even tried a different broswer and got 
the same results. 

Thanks,

Dan

On Wed, Dec 15, 2021 at 03:22 PM, Lonnie Abelbeck  wrote:
Hi Dan,

Hmmm ... first look at
--
# show-union
--
are there any .php files showing there?

You are using the standard web server directory paths? (Network tab) like:
Are you using the official AstLinux release, or are you building a custom image?

Lonnie

On Dec 15, 2021, at 1:43 PM, Dan Ryson  wrote:

Hi Lonnie,

Thanks for the prompt response and recommendations.

Sip.conf already had the TOS settings so no change was necessary there.  

Right off the bat, a discrepancy is apparent between your screen shot (below) 
and what I'm observing.  Although the GUI is reporting that I'm running version 
1.4.4, there's no [cake] option available in the Traffic Shaping pull-down.  
The only options are Disabled, Enabled [htb], and Enabled [hfsc].  Furthermore, 
I'm seeing no CAKE Tuning Options, Link Layer Tuning, or ACK Filter.  I've 
rebooted twice since upgrading both Runnix and AstLinux.

What am I missing?  (No, wait.  Don't answer that!)

Dan

On Wed, Dec 15, 2021 at 02:19 PM, Lonnie Abelbeck  wrote:
Hi Dan!

When we added CAKE support ... after much testing, I concluded CAKE is the best 
choice for many.

There are no UDP/TCP port based shaping rules when using CAKE (a person needs 
hsfc or htb to support that), as configured CAKE uses DiffServ QoS markings.

So in sip.conf be sure to enable at least:
--
tos_sip=cs3                     ; Sets TOS for SIP packets.
tos_audio=ef                    ; Sets TOS for RTP audio packets.
--

Personally I have a 100/20 Mbps (down/up) DOCSIS cable modem (slightly more 
tested with Speedtest), here is my setting.
In general you should never enable Downlink shaping.

While there is a method to apply Downlink shaping using CAKE via an ifb device, 
it does not offer much benefit with many complications.  If you enable Downlink 
shaping it will drop packets to limit the speed, which applies equally to all 
shaping types.  Best not to enable Downlink shaping.

Let me know how it goes for you.

Lonnie

On Dec 15, 2021, at 11:44 AM, Dan Ryson  wrote:

Hi Team,

And thanks for your continuing efforts with AstLinux and 1..4.4 in particular.  

'Tis the season to be streamin' and I'm facing new challenges with Traffic 
Shaping.  Specifically, we're missing syllables on incoming voice traffic.  
Might CAKE help?  Can you point to any guidance on using CAKE in a VoIP context 
of the other provided Traffic Shaping tools?

Best wishes,

Dan

On Tue, Nov 2, 2021 at 11:58 AM, Lonnie Abelbeck  wrote:
Announcing AstLinux Release: 1.4.4

More Info: AstLinux Project
https://www.astlinux-project.org/ (https://www.astlinux-project.org/)

AstLinux 1.4.4 Highlights:
* Asterisk Versions: 13.38.3, 16.21.1
* Added SIP threats blocklist 'apiban', requires an API Key in 
/mnt/kd/apiban.conf via https://apiban.org/ (https://apiban.org/)
* Traffic Shaping, add CAKE support, both "Network -> Firewall -> Traffic 
Shaping" and "Network -> WAN Failover"
* 2.5G ethernet support for Intel i225 (igc) and Realtek RTL8125 (r8125) NICs
* '13se' version now uses Asterisk 13.38.3, "Security Fixes Only" version for 
Asterisk 13

_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net 
(mailto:Astlinux-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/astlinux-users 
(https://lists.sourceforge.net/lists/listinfo/astlinux-users)

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org (mailto:pay...@krisk.org)..

_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net 
(mailto:Astlinux-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/astlinux-users 
(https://lists.sourceforge.net/lists/listinfo/astlinux-users)

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org (mailto:pay...@krisk.org).

_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net 
(mailto:Astlinux-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/astlinux-users 
(https://lists.sourceforge.net/lists/listinfo/astlinux-users)

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org (mailto:pay...@krisk.org).

_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net 
(mailto:Astlinux-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/astlinux-users 
(https://lists.sourceforge.net/lists/listinfo/astlinux-users)

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org (mailto:pay...@krisk.org).
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to