Closed interduo closed 1 year ago
defaultClassCapacityDownloadMbps and defaultClassCapacityUploadMbps are deprecated and no longer part of ispConfig.example.py. You need to use generatedPNDownloadMbps and generatedPNUploadMbps. Please see here.
Ok deprecated - so now we dont have opportunity to limit default class (users outside ShapedDevices.csv)?
Ok deprecated - so now we dont have opportunity to limit default class (users outside ShapedDevices.csv)?
Yes, you still can using generatedPNDownloadMbps and generatedPNUploadMbps
I would like to limit all unknown circuits (to 50M/50M). Can I just set those values to 50M?
That is a feature we can add. We could have the program add a generated circuit for every IP that is not already listed in ShapedDevices.csv, but that IS within some defined subnet of possible IPs.
The only downside here is it may add many filters, depending on how large the subnet of possible IPs is.
How big of a subnet of possible IPs do you have to work with? /20?
Maybe we could add a filter on whole interface and then add normal filters over it? (so the unknown circuits would have some filter attached and known circuits will also have filters)
And then we could just make some class for defaultClassCapacityDownloadMbps
and defaultClassCapacityUploadMbps
again? It was dropped due to code refactoring right?
I don't think that is possible. We have to define an individual qdisc for every IP involved, or else they will share traffic ceilings and enforcing 50Mbps per unknown circuit / IP for example would not work.
But we can definitely automatically create a class/qdisc for every possible IP. For /19 subnets and smaller it would be viable.
For example a user could have
automaticAddIPs = [100.64.0.0/20]
automaticAddIPsRateDL = 50
automaticAddIPsRateUL = 20
So for any IP within the range 100.64.0.0/20, if that IP is not already defined in ShapedDevices.csv, it will now be added with its own circuit at the default Rate
But we can definitely automatically create a class/qdisc for every possible IP. For /19 subnets and smaller it would be viable.
Some facts before implementing that:
Is this still an issue?
Yes
@interduo are you still experiencing this issue in recent versions now that it supports arbitrary prefix length?
@rchac What limit should have Circuit without plan defined in ShapedDevices.csv?
@interduo If a circuit is not defined in ShapedDevices.csv it will not have speed limited. It will pass through.
If we assume that behavior is good then the queues are created propperly.
LibreQoS.py doesn't generate proper rates for default queue.
It creates:
tc class show dev ens16np0 | less