Limiting "Unknown IP Addresses" #340
Replies: 4 comments 13 replies
-
You might get a faster response on the matrix chat, I re-posted this discussion there. I'm unsure how to answer myself. I know if you have devices in ShapedDevices.csv that don't have a parent there is an ispConfig.py setting for those, but your saying if there is traffic that is totally unrecognized by LibreQoS. I wonder if ShapedDevices.csv is parsed from the top down and the first matching row taken? If so you could add a row at the bottom for your entire subnet and set it to 1Mbps. I'm not sure how tc would setup the queues with that. Waiting for smarter people to show up here. |
Beta Was this translation helpful? Give feedback.
-
The generatedPNDownloadMbps and generatedPNUploadMbps values in the ispConfig.py are what your after i think.
|
Beta Was this translation helpful? Give feedback.
-
So I've listed all my usable IPs from my lab subnet in the ShapedDevices.csv file, and am able to limit them that way. It would be nice to limit entire subnets until a specific IP gets a different speed package. IE, Limit 10.0.0.0/22 to 2x2, and once someone DHCPs an IP define their new speeds while leaving the rest at the lower limited rate. |
Beta Was this translation helpful? Give feedback.
-
They need to be non-exact matches. So you can't have two 192.168.1.1
entries, but you can have a 192.168.1.0/24 subnet and a 192.168.1.2/32 -
they aren't duplicates, and the LPM search is smart enough to pick the most
exact match.
…On Wed, Apr 19, 2023 at 4:01 PM Lake Linx ***@***.***> wrote:
Doesnt it require the IPs to be unique and have no duplicates?
i.e. 192.168.0.0/24 and 192.168.0.1/32 would be conflicting.
If im understanding @mpeenie <https://github.com/mpeenie> s request, he
is looking for a catchall if they dont match elsewhere. Kind of like
mikrotik simple queues, works from the top down, if the ip is found above,
it takes precedence, otherwise they fall into the "group" at the bottom
—
Reply to this email directly, view it on GitHub
<#340 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADRU435XAWS77QOBOUKXQUTXCBHDVANCNFSM6AAAAAAXEQBQXA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Is there a way for me to throttle ALL unknown IPs until they are associated with a client? I'd like to limit every unknown to 1.5x0.5 until I associate them with an account. Currently in my testing if I assign myself to an unknown IP I am unthrottled.
I am trying to lab up all possibilities with LibreQoS, and we are hoping to integrate with UISP in the near future, but for now I'd like the added security of the limiting in case someone slips through.
Beta Was this translation helpful? Give feedback.
All reactions