Search squid archive

Re: Squid bandwidth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> badaim2 wrote:
> > Hello,
> >
> > We planned to configure a new squid proxy server in FreeBSD. We want to
> > implement bandwidth management in squid by using delaypool. We having
> > 6mbps DSL connection. We going to give totally 300MB limited net usage
> > for every one per day. If a single user reached his limit 300mb then that
> > user should not able to access net for few hours. He should be informed
> > via web site, that he reached his limit for a while. Like this we want to
> > implement bandwidth management.
> >
> > Any real time example squid code is there for my bandwidth configuration?
>

For this purposes there are several other projects. Usually it's a log 
analyzer program that parses squid's access.log and accumulate statistics 
information in RDBMS, like MySQL or PostgreSQL. After log analyser setup you 
must write squid redirector program, that checks accumulated statistics and, 
optionally, redirect user to deny page.

See this page http://www.squid-cache.org/Scripts/ for additional information.
Hope that helps.

WBR. Igor.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux