Using Quotas range vs fixed IP

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

darkfibre
Posts: 17
Joined: Mon Nov 09, 2015 10:35 am
Location: Christmas Island

Using Quotas range vs fixed IP

Postby darkfibre » Fri Nov 20, 2015 11:20 pm

Hi people,

Just trying to shortcut some testing.

I will be installing Gargoyle on quite a few devices, and I am currently making up some generic rules based on IPs so when I flash a router I can restore some generic rules.

If I have a rule for a range (192.168.1.10-192.168.1.20) that restricts bandwidth after say 100mb, if 1 single device hits the limit, the rule is enforced for the whole group? If so I will stick to single rules.


Another question, which file are the rules stored on?

Ta.

Lantis
Moderator
Posts: 5012
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Using Quotas range vs fixed IP

Postby Lantis » Fri Nov 20, 2015 11:37 pm

My thought is that the rule applies to the group as a whole.

I believe stored in /usr/data/quotas
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

darkfibre
Posts: 17
Joined: Mon Nov 09, 2015 10:35 am
Location: Christmas Island

Re: Using Quotas range vs fixed IP

Postby darkfibre » Sat Nov 21, 2015 1:01 am

I found the quota files, and worked out the files well enough, but when I add a new ip quota file it does not come up in the rules. Saving changes deletes the new rule. Rebooting does not delete the rule but is still not showing in the interface.


Every day I can drive this thing better, but not there yet.

nworbnhoj
Posts: 914
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Using Quotas range vs fixed IP

Postby nworbnhoj » Sat Nov 21, 2015 2:45 am

"Only the following hosts" applies to all the IP addresses (range or indiv) as a group. When the group hits the combined limit, all are blocked.

I suspect that you will have to add quota values programatically to uci BUT this will be at risk of messing up the quota's logic. For example there is logic to prevent an IP address being restricted by more than a single quota at any given time of the day/week/month etc. And robustness to roughly cope if a conflict slips thru.

Sorry do not have time for a full answer now - tomorrow perhaps
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E


Return to “Monitoring / Quota / QoS Issues”

Who is online

Users browsing this forum: No registered users and 2 guests