[squid-users] Re: split the connexion using Squid

2014-07-08 Thread Yemen SAYOUR



Hello Dear,

Thank you for taking your time to help me with my problem.

I have a modem DSL with connexion up to 6 MB/s, 30 Pcs are connected 
at the same time to the network via cables and wifi. The problem is 
the users cannot use equally the connexion.


My question : how can i limit the connexion using squid between Pcs, 
Although there are Pcs connected via wifi (each pc has a portion of 
the bandwidth)?


I have a Debian Wheezy as OS for servers and Ubuntu 12.04 for clients.

Thank you




--
Yemen SAYOUR
Responsable Technique Locale
Campus Numérique Francophone (CNF) Tripoli
Agence universitaire de la Francophonie
Tél : +(961) 6 205 280
Fax : +(961) 6 205 281
yemen.say...@auf.org



Re: [squid-users] Re: split the connexion using Squid

2014-07-08 Thread Antony Stone
On Tuesday 08 July 2014 at 12:18:09, Yemen SAYOUR wrote:

 I have a modem DSL with connexion up to 6 MB/s, 30 Pcs are connected
 at the same time to the network via cables and wifi. The problem is
 the users cannot use equally the connexion.
 
 My question : how can i limit the connexion using squid between Pcs,
 Although there are Pcs connected via wifi (each pc has a portion of
 the bandwidth)?
 
 I have a Debian Wheezy as OS for servers and Ubuntu 12.04 for clients.

You're probably better off looking at http://www.lartc.org/ for an answer to 
this.

Squid will just use whatever routing the underlying operating system provides.


Regards,


Antony.

-- 
The Royal Society for the Prevention of Cruelty to Animals was formed in 1824.
The National Society for the Prevention of Cruelty to Children was not formed 
until 1884.
That says something about the British.

 Please reply to the list;
   please don't CC me.


[squid-users] Re: split the connexion using Squid

2014-07-08 Thread babajaga
For a very first beginning, you might look into the delay_pools of squid, to
distribute and limit download speed, at least. Works only for proxied
traffic, of course, so torrents etc. are not throttled.
But easy to implement. 



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-split-the-connexion-using-Squid-tp4666739p4666742.html
Sent from the Squid - Users mailing list archive at Nabble.com.


Re: [squid-users] Re: split the connexion using Squid

2014-07-08 Thread Yemen SAYOUR

Thank you,

But by limiting the download speed, can i attribute for each @IP a 
portion of bandwidth? (exemple 2%)


Le 08/07/2014 14:29, babajaga a écrit :

For a very first beginning, you might look into the delay_pools of squid, to
distribute and limit download speed, at least. Works only for proxied
traffic, of course, so torrents etc. are not throttled.
But easy to implement.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-split-the-connexion-using-Squid-tp4666739p4666742.html
Sent from the Squid - Users mailing list archive at Nabble.com.



--
Yemen SAYOUR
Responsable Technique Locale
Campus Numérique Francophone (CNF) Tripoli
Agence universitaire de la Francophonie
Tél : +(961) 6 205 280
Fax : +(961) 6 205 281
yemen.say...@auf.org



[squid-users] Re: split the connexion using Squid

2014-07-08 Thread babajaga
Not percentagewise, only in absolute values.

I had problems myself to vaguely understand at least the doc about
delay_pools, look into the documented squid.conf. So somebody else should
answer your detailed questions, if any.
However,
I use it to put an upper limit of 125kbit/s  download speed to every user
having this simple config (squid2.7):
.
delay_pools 1 #Just one pool
delay_class 1 2 #class 2
delay_access 1 allow all #everybody will be throttled; you might set up
another pool allowing higher badwidth
delay_parameters 1 -1/-1 125000/125000 #125kbit/s; no bursts. You might
allow
#delay_parameters 1 -1/-1 125000/25 #... 250kbit/s burst rate, for
initial page load

which should be adequate for interactive browsing. As you have 6MBit WAN,
this should also leave quite some spare bandwidth for non-proxied traffic,
as not all of your 30 users will be hitting the enter button
simultaneously to load another page.




--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-split-the-connexion-using-Squid-tp4666739p4666745.html
Sent from the Squid - Users mailing list archive at Nabble.com.


Re: [squid-users] Re: split the connexion using Squid

2014-07-08 Thread Nyamul Hassan
Yemen, what router do you use for going to the internet?  Regular
linux box?  Or something else?

Regards
HASSAN


On Tue, Jul 8, 2014 at 8:18 PM, babajaga augustus_me...@yahoo.de wrote:
 Not percentagewise, only in absolute values.

 I had problems myself to vaguely understand at least the doc about
 delay_pools, look into the documented squid.conf. So somebody else should
 answer your detailed questions, if any.
 However,
 I use it to put an upper limit of 125kbit/s  download speed to every user
 having this simple config (squid2.7):
 .
 delay_pools 1 #Just one pool
 delay_class 1 2 #class 2
 delay_access 1 allow all #everybody will be throttled; you might set up
 another pool allowing higher badwidth
 delay_parameters 1 -1/-1 125000/125000 #125kbit/s; no bursts. You might
 allow
 #delay_parameters 1 -1/-1 125000/25 #... 250kbit/s burst rate, for
 initial page load

 which should be adequate for interactive browsing. As you have 6MBit WAN,
 this should also leave quite some spare bandwidth for non-proxied traffic,
 as not all of your 30 users will be hitting the enter button
 simultaneously to load another page.




 --
 View this message in context: 
 http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-split-the-connexion-using-Squid-tp4666739p4666745.html
 Sent from the Squid - Users mailing list archive at Nabble.com.