1

Suppose I were to build proxy server using squid with multiple accounts. Is there a way to determine how much data has been consumed by each account?

By data I mean total sum of all bytes which are sent as a result of a request. So if a webpage is requested, the count should include all bytes (images, html, js, flash, movies, etc).

I could not find it in the squid doc. Is there a programming hook I can use? Or another program?

1
1

You can use SARG:

Sarg - Squid Analysis Report Generator is a tool that allow you to view "where" your users are going to on the Internet. Sarg provides many informations about Squid users activities: times, bytes, sites, etc...

Sample reports.

Manpage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.