The first quota that is set has the option of throttling speed to a specified data rate once the quota is reached.
Code: Select all
cat /overlay/upper/etc/config/firewall
config quota 'quota_1'
option combined_limit '53687091200'
option exceeded_up_speed '128'
option exceeded_down_speed '512'
option reset_interval 'month'
option ip 'ALL'
option id 'ALL'
option reset_time '1818000'
option enabled '1'
I later want to adjust the quota previously established. If I Edit the quota, or if I delete it and create a new one, the new quota has the option of throttling speed to a specified QoS service class when the quota is reached. I don't think that makes sense. The option of throttling speed to a specified data rate once the quota is reached is not present. If no throttling is chosen in the form:
Code: Select all
cat /overlay/upper/etc/config/firewall
config quota 'quota_1'
option combined_limit '107374182400'
option reset_interval 'month'
option ip 'ALL'
option id 'ALL'
option reset_time '1821600'
option enabled '1'
If instead the quota is edited and a QoS service class is selected (such as VoIP) and the configuration Saved, when I then went to Firewall/QoS, my classification rules had all been lost.
It looks to me like the software that handles configuration of Quota is incorrectly reading QoS data (when I try to Edit a quota) and writing (over) QoS data when I submit changes based on this unexpected state.
I have set things up again now, and am reluctant to try it again. It might have just been a one-off. I might have done something stupid and not noticed. But I think it's worth looking through what the Quota read/write routines are doing to check if they are interacting with QoS at all / correctly.
Thanks!