Page 1 of 1

Name for Quotas

Posted: Thu Apr 30, 2020 10:22 am
by agrohe21
The Quota Usage screen just shows the IPs in the range for a quota. Would be nice to be able to give it a name. Given that these quotas are create for a range of IPs for a user. Bob's devices, Suzy, servers, smarthome, voip, etc...

Re: Name for Quotas

Posted: Thu Apr 30, 2020 10:35 am
by ispyisail
a solution was submitted but never accepted

https://github.com/ericpaulbishop/gargoyle/pull/403

Re: Name for Quotas

Posted: Thu Apr 30, 2020 10:49 am
by agrohe21
that is a shame that it seemed to die on the vine.

Re: Name for Quotas

Posted: Thu Apr 30, 2020 6:07 pm
by Lantis
I keep looking at reviving that request. Unfortunately it needs a full rewrite.
And now in the context on IPv6, it's a bit more work too.
But I do have half an eye on it.

Re: Name for Quotas

Posted: Tue May 05, 2020 1:32 pm
by agrohe21
would be awesome. thx

Re: Name for Quotas

Posted: Wed May 06, 2020 12:51 am
by fifonik
You can provide multiple address entries per quota.
I'm entering it this way:
Quota 1:

Code: Select all

192.168.1.20
192.168.1.21-192.168.1.29
Quota 2:

Code: Select all

192.168.1.30
192.168.1.31-192.168.1.39
Etc (I think you've got the idea).

Then on stats quota's usage page you will see the name of the IP addresses 192.168.1.20, 192.168.1.30 etc:

Code: Select all

fifonik
192.168.1.21-192.168.1.29

son
192.168.1.31-192.168.1.39

Re: Name for Quotas

Posted: Wed May 06, 2020 12:54 am
by Lantis
That's a good tip and a good workaround for the time being :)

Re: Name for Quotas

Posted: Thu May 07, 2020 9:54 am
by agrohe21
Yes, that is a nice hack. Helps me not remember everyone's IP range!!