FlexQoS FlexQoS - Flexible QoS Enhancement Script for Adaptive QoS

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

BigTim

New Around Here
Uninstalled FlexQoS, setup for reformat JFFS partition on reboot. Rebooted, reinstalled FlexQoS. Still not working.

Cat command does toss this now:

ASUSWRT-Merlin RT-AX58U 386.1_alpha3-g874b3ed69d Fri Nov 13 23:15:12 UTC 2020
[email protected]:/tmp/home/root# cat /tmp/flexqos_tcrules.log
cat: can't open '/tmp/flexqos_tcrules.log': No such file or directory


[email protected]:/tmp# ls
D4:5D:64:9A:56:C8.cap nat_rules
allwclientlist.json nat_rules_eth4_eth4
aplist.json nc
asusfbsvcs netool
avahi nmp_cache.js
bwdpi notify
ce0.log obstatus
ce0.log.bak obvsie
chanspec_all.json ppp
chanspec_avbl.json ps_sock
chanspec_avbl.txt redirect_rules
chanspec_private.json relist.json
clientlist.json resolv.conf
confmtd resolv.dnsmasq
current_wired_client_list.json run_lldpd.sh
db settings
dev share
dhcp6c sig_upgrade.log
dm syslog.log
ebtables.lock udhcpc
etc udhcpc0.expires
filter.default update_url
filter_ipv6.default usb.log
filter_rules var
flexqos.lock watchdog_heartbeat
flexqos_iprules wchannel.json
home wiredclientlist.json
hw_auth_clm wl0_hapd.conf
inadyn.cache wl1_hapd.conf
lld2d.conf wpa_cli
mastiff.pid wpa_ctrl_2218-1
mastiff_log wpa_ctrl_2218-2
menuTree.js zcip
mnt
[email protected]:/tmp#
 

dave14305

Part of the Furniture
Still not working.
Run ls -l /jffs/signature/ to check the date of the Trend Micro signatures. If not there, initiate a signature update from the Firmware page. You issue doesn’t seem to have anything to do with FlexQoS yet. Get Adaptive QoS and the Merlin Classification tab working before advancing to FlexQoS.
 

dave14305

Part of the Furniture
@dave14305 : is it possible to implement a button in GUI to temporary switch off all modifications from FlexQOS and custom rules ?
Anything is possible. How would you use this? Disable things for a few minutes, hours, days? The current disable function in the CLI will remove the webpage, so just wondering how to rethink enabling/disabling FlexQoS via the GUI.
 

Milan

Senior Member
i mean
Anything is possible. How would you use this? Disable things for a few minutes, hours, days? The current disable function in the CLI will remove the webpage, so just wondering how to rethink enabling/disabling FlexQoS via the GUI.
I mean button that will disable FlexQOS and mine rules and change to enable for enabling back - all done manually.
Reason for it is to test the original rules after update to check if I don't have duplicate rule there (for games f.e.)
 

dave14305

Part of the Furniture
Pre-release version 1.0.6 on the develop branch.
  • Removed support to migrate legacy FreshJR_QOS rules to new FlexQoS format. Separate script migrate_FreshJR.sh available on Github if needed.
  • Revert am_get_webui_page function to Merlin's version. Allows support for 20 addon webpages in 386.1.
  • Reworked service-event handler functions.
  • Removed ability to disable conntrack flushing.
  • Merge update and install functions between CLI and webui.
  • Add startup check to ensure JFFS scripts are enabled.
  • Skip applying custom bandwidth settings if Adaptive QoS automatic bandwidth is enabled.
  • Detect WAN interface internally instead of relying on firewall-start passing it as argument.
  • Trigger FlexQoS on service restart_qos as well as restart_firewall. This will allow easier integration with spdMerlin and AutoBW in the future.
Users with non-standard WAN setups highly sought after. If you have Dual-WAN, pppoe, pptp or l2tp WAN connections, please test and be sure the iptables rules work correctly. If not, run flexqos debug and let me know how your WAN interface is reported.

If you're on the develop branch already, use flexqos update
If you're on the stable branch and feel adventurous, run flexqos develop
If you change your mind or something is broken for you, you can switch back to the stable version with flexqos stable
 
Last edited:

QuikSilver

Very Senior Member
Pre-release version 1.0.6 on the develop branch.
  • Removed support to migrate legacy FreshJR_QOS rules to new FlexQoS format. Separate script migrate_FreshJR.sh available on Github if needed.
  • Revert am_get_webui_page function to Merlin's version. Allows support for 20 addon webpages in 386.1.
  • Reworked service-event handler functions.
  • Removed ability to disable conntrack flushing.
  • Merge update and install functions between CLI and webui.
  • Add startup check to ensure JFFS scripts are enabled.
  • Skip applying custom bandwidth settings if Adaptive QoS automatic bandwidth is enabled.
  • Detect WAN interface internally instead of relying on firewall-start passing it as argument.
  • Trigger FlexQoS on service restart_qos as well as restart_firewall. This will allow easier integration with spdMerlin and AutoBW in the future.
Users with non-standard WAN setups highly sought after. If you have Dual-WAN, pppoe, pptp or l2tp WAN connections, please test and be sure the iptables rules work correctly. If not, run flexqos debug and let me know how your WAN interface is reported.

If you're on the develop branch already, use flexqos update
If you're on the stable branch and feel adventurous, run flexqos develop
If you change your mind or something is broken for you, you can switch back to the stable version with flexqos stable
Still showing 1.05...
1605491385497.png
 

Vexira

Part of the Furniture
just switched to dev now it worked the first time
 

NGI

Occasional Visitor
Pre-release version 1.0.6 on the develop branch.

Users with non-standard WAN setups highly sought after. If you have Dual-WAN, pppoe, pptp or l2tp WAN connections, please test and be sure the iptables rules work correctly. If not, run flexqos debug and let me know how your WAN interface is reported.
Thanks for the new release Dave. I use PPPoE WAN and I have been playing with 1.0.6 for a while and so far all the traffic is classified correctly. Great job.
 

chris.at

Regular Contributor
Pre-release version 1.0.6 on the develop branch.
Installed right after release, everything is looking good so far. Had a wan failover to usb but was at night (won't do it manually at day atm because all of us are home-working/schooling) and therefore couldn't do tests, at least there were no error messages in syslog and classification after failback is still done correctly. Great job, thank you :)
 

marko

New Around Here
Hi,
Since the last update it seems that gaming rule has been some kind of nerfed, and I have set gaming rule for PS4 console. Even though gaming rule has been set to !80,443, some protocols end up in game downloads.

Also, upload on PS4 is not stable anymore, I dont know if it has something to do with latest flexqos update, and before it was constant. Any help?

One more thing, since I dont know if it is possible or if i have set everything as it should be, for the gaming rule, here is SS of my FlexQoS page.

1605793765432.png


1605793801592.png


Additional question, does this mean that Net Control Packets are the highest priority, and if it is does it have to be like that. If not, how and where can i change priorities?

Thanks
 

dave14305

Part of the Furniture
Hi,
Since the last update it seems that gaming rule has been some kind of nerfed, and I have set gaming rule for PS4 console. Even though gaming rule has been set to !80,443, some protocols end up in game downloads.

Also, upload on PS4 is not stable anymore, I dont know if it has something to do with latest flexqos update, and before it was constant. Any help?
The Gaming rule only acts on things that are Untracked (000000). If the signatures from Trend Micro now do a better job, then the Gaming rule might not pick up as much traffic. You have to show the connections from the device to see how they are classified.
One more thing, since I dont know if it is possible or if i have set everything as it should be, for the gaming rule, here is SS of my FlexQoS page.
I would delete the Sony PlayStation AppDB rule since it is Gaming by default.
Additional question, does this mean that Net Control Packets are the highest priority, and if it is does it have to be like that. If not, how and where can i change priorities?
Yes, Net Control Packets is the highest priority and cannot be changed.
 

marko

New Around Here
The Gaming rule only acts on things that are Untracked (000000). If the signatures from Trend Micro now do a better job, then the Gaming rule might not pick up as much traffic. You have to show the connections from the device to see how they are classified.
1605820514473.png


Does something like this work for you?

P.S.
Thanks for the detailed answers on the prev post
 

dave14305

Part of the Furniture
View attachment 27793

Does something like this work for you?

P.S.
Thanks for the detailed answers on the prev post
One option is to change the "000000" in the gaming rule to "!08****". That will make any traffic from the PS4 that's not already classified as Gaming and force it to Gaming, except if on ports 80 or 443.
 

dave14305

Part of the Furniture
Version 1.0.6 Released 20-Nov-2020
  • Removed support to migrate legacy FreshJR_QOS rules to new FlexQoS format. Separate script migrate_FreshJR.sh available on Github if needed.
  • Revert am_get_webui_page function to Merlin's version. Allows support for 20 addon webpages in 386.1.
  • Simplified service-event handler functions.
  • Removed ability to disable conntrack flushing (always enabled)
  • Combine update and install functions between CLI and webui.
  • Add startup check to ensure JFFS scripts are enabled.
  • Skip applying custom bandwidth settings if Adaptive QoS automatic bandwidth is enabled.
  • Detect WAN interface name internally instead of relying on firewall-start passing it as argument.
  • Trigger FlexQoS on service restart_qos as well as restart_firewall. This will allow easier integration with spdMerlin 4.0 with AutoBW in the future.
Update process was reworked significantly behind the scenes so if your update fails, you might need to just install again. Hopefully it works the first time. ;)

Nothing terribly visibly sexy in this release, but I'm starting to rework a lot of the code for the next major release to be leaner and better documented. More chance of things breaking in this release than looking different.
 
Last edited:

L&LD

Part of the Furniture
@dave14305 I have about 36 seconds of experience now with v1.06, and things look great! :)

Everything works, nothing broke from v1.05.

Functional is very 'sexy' to me. ;)
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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