Hello, guys!

I'm defining traffic quota for users in a network.
We have approximately 80 hosts in it and the idea is that each host is
allowed 1GB of download per day. From the moment each host reaches that
quota, they are only able to access external hosts that are part of a *.gov
domain.
I was able o achieve that effect by using ACL and delay pools in Squid and
have been able to monitor each host's traffic amount with squidclient in
the terminal.

However, (1) didn't find a web interface for graphically visualizing that
data, such as ntopng, for instance; (2) had to set cron to reset Squid
everyday at 0:00 so the daily traffic amount register for each user is
reset, as I didn't find any other automated way; (3) the opposite of #2,
when it is needed to intentionally reset Squid during work-hours and,
consequently, the register for each host's traffic amount in the day is
lost and I would like that it was restored, and; (4) when a host reaches
their quota and tries to access www.youtube.com, for example, the page
keeps "loading", even though the connection isn't being allowed any
traffic, and I'd like that some "You have already reached your daily
traffic quota for today." page is loaded instead.

Has anybody ever have this experience and is able to help me with a better
or more adequate solution?
I have a feeling that Squid isn't the most propper way to do this.

Thanks a lot.

Best regards,

*Thales Vaz Maciel*
Bacharel em Sistemas de Informação - Universidade da Região da Campanha,
Bagé, RS, Brasil
Especialista em Sistemas Distribuídos - Universidade Federal do Pampa,
Bagé, RS, Brasil
Mestrando em Engenharia de Computação - Universidade Federal do Rio Grande,
Rio Grande, RS, Brasil
Informata de Nível Superior - Prefeitura Municipal de Bagé, Bagé, RS, Brasil
http://lattes.cnpq.br/7166030596636868
F: +55 (53) 99419258 (novo)
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to