Re: [squid-users] retrieve amount of traffic by username

2017-06-06 Thread Leonardo Rodrigues
Em 06/06/17 10:45, Janis Heller escreveu: Seems like parsing would be what I need. Is the size (consumed bandwith) and the usernams (timestamp can be generated by my parser) being written to this file? Could you show me a sample output of this file? the already existing documentation is

Re: [squid-users] retrieve amount of traffic by username

2017-06-06 Thread Janis Heller
com> Gesendet: Dienstag, 6. Juni 2017 15:40:18 An: Janis Heller; squid-users@lists.squid-cache.org Betreff: Re: [squid-users] retrieve amount of traffic by username On 06/06/2017 06:10 AM, Janis Heller wrote: > Is there some easy way, since I would need to store the > generated traffic o

Re: [squid-users] retrieve amount of traffic by username

2017-06-06 Thread Alex Rousskov
On 06/06/2017 06:10 AM, Janis Heller wrote: > Is there some easy way, since I would need to store the > generated traffic of a user per month (for being able to deny access on > my custom backend script). If parsing Squid access.log entries is easy for you, then there is an easy way -- either

Re: [squid-users] retrieve amount of traffic by username

2017-06-06 Thread FredB
My answer was only for this point > Would be necessary for me to do so for including some traffic based > limitations for each user I don't known radius with Squid but I guess you have an acl like this acl radius-auth proxy_auth REQUIRED ?? (or something close) In this case I guess you can

Re: [squid-users] retrieve amount of traffic by username

2017-06-06 Thread Janis Heller
by a user when he's disconnecting. Polling the generated traffic in an interval won't be the best way I think. All the best; Janis Von: FredB <fredbm...@free.fr> Gesendet: Dienstag, 6. Juni 2017 13:09:22 An: Janis Heller Betreff: Re: AW: [squid-users] retrieve

Re: [squid-users] retrieve amount of traffic by username

2017-06-06 Thread Amos Jeffries
On 06/06/17 21:36, Janis Heller wrote: Dear SQUID users; what’s the best way to retrieve the amount of a user connected to SQUID server by using his username as an identifier? Would be necessary for me to do so for including some traffic based limitations for each user (would send traffic

Re: [squid-users] retrieve amount of traffic by username

2017-06-06 Thread FredB
delay_pool mixed with an acl like this acl ldap_auth proxy_auth REQUIRED delay_access 1 allow ldap_auth delay_access 1 deny all A delay_class 4 should be good Fred ___ squid-users mailing list squid-users@lists.squid-cache.org

[squid-users] retrieve amount of traffic by username

2017-06-06 Thread Janis Heller
Dear SQUID users; what’s the best way to retrieve the amount of a user connected to SQUID server by using his username as an identifier? Would be necessary for me to do so for including some traffic based limitations for each user (would send traffic amount generated by a user back to some