URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID12
Нить номер: 5243
[ Назад ]

Исходное сообщение
"squid - limit net speed."

Отправлено eXtremer , 23-Ноя-07 12:21 
How to limit speed for an IP ?
I don't wont that user to have more that 50 Kb/s.
Example if possible.
Thanks in advance.

P.S. Reply language doesn't matter.


Содержание

Сообщения в этом обсуждении
"squid - limit net speed."
Отправлено idle , 23-Ноя-07 12:41 
>How to limit speed for an IP ?
>I don't wont that user to have more that 50 Kb/s.
>Example if possible.
>Thanks in advance.
>
>P.S. Reply language doesn't matter.

http://blog.edu.cn/user1/765/archives/2005/1026799.shtml


"squid - limit net speed."
Отправлено eXtremer , 23-Ноя-07 12:54 
>>How to limit speed for an IP ?
>>I don't wont that user to have more that 50 Kb/s.
>>Example if possible.
>>Thanks in advance.
>>
>>P.S. Reply language doesn't matter.
>
>http://blog.edu.cn/user1/765/archives/2005/1026799.shtml

This is a joke or what ?
Or you didn't like that I wrote in English ?!


"Reply language doesn't matter." - meaning English or Russian !!!

P.S. Not so funny...

Still waiting for reply...


"squid - limit net speed."
Отправлено idle , 23-Ноя-07 13:02 
>>>How to limit speed for an IP ?
>>>I don't wont that user to have more that 50 Kb/s.
>>>Example if possible.
>>>Thanks in advance.
>>>
>>>P.S. Reply language doesn't matter.
>>
>>http://blog.edu.cn/user1/765/archives/2005/1026799.shtml
>
>This is a joke or what ?

А чо, китайский традиционный не катит?

>Or you didn't like that I wrote in English ?!

Мне как бы по барабану, но форум-то русский, зачем писать не по русски?

>"Reply language doesn't matter." - meaning English or Russian !!!

Так-бы и говорили, а то doesn't matter...


"squid - limit net speed."
Отправлено eXtremer , 23-Ноя-07 14:16 
>[оверквотинг удален]
>А чо, китайский традиционный не катит?
>
>>Or you didn't like that I wrote in English ?!
>
>Мне как бы по барабану, но форум-то русский, зачем писать не по
>русски?
>
>>"Reply language doesn't matter." - meaning English or Russian !!!
>
>Так-бы и говорили, а то doesn't matter...

Da ne magu ea pisati na ruskom, vot shto tak lu4e ? ..pisati latinskami bukvami ?!
Ne imeet zna4enie yazik, Eng ili Rus, shtob poinili drug drug, i vsio !



"squid - limit net speed."
Отправлено ipmanyak , 23-Ноя-07 14:14 
>How to limit speed for an IP ?
>I don't wont that user to have more that 50 Kb/s.
>Example if possible.
>Thanks in advance.
>
>P.S. Reply language doesn't matter.

Read wiki  http://wiki.squid-cache.org about delay pool


"squid - limit net speed."
Отправлено ipmanyak , 23-Ноя-07 14:20 
acl special_users src 192.168.1.12
http_access allow special_users
delay_pools 1
delay_class 1 1
delay_access 1 allow special_users
delay_access 1 deny all
delay_parameters 1 50000/50000

Squid must be compiled with option  enable-delay-pools
./configure  --enable-delay-pools



"squid - limit net speed."
Отправлено eXtremer , 23-Ноя-07 15:02 
>acl special_users src 192.168.1.12
>http_access allow special_users
>delay_pools 1
>delay_class 1 1
>delay_access 1 allow special_users
>delay_access 1 deny all
>delay_parameters 1 50000/50000
>
>Squid must be compiled with option  enable-delay-pools
>./configure  --enable-delay-pools

ipmanyak, this example is for my case ? (50 Kb/s)


"squid - limit net speed."
Отправлено ipmanyak , 23-Ноя-07 16:32 
>[оверквотинг удален]
>>delay_pools 1
>>delay_class 1 1
>>delay_access 1 allow special_users
>>delay_access 1 deny all
>>delay_parameters 1 50000/50000
>>
>>Squid must be compiled with option  enable-delay-pools
>>./configure  --enable-delay-pools
>
>ipmanyak, this example is for my case ? (50 Kb/s)

разумеется !  почти! Если kb  в твоем понимании килобайт, а не кбит.  Если именно килобайты,  то точнее так:
50 kb =50 * 1024 = 51200 байт


"squid - limit net speed."
Отправлено eXtremer , 23-Ноя-07 18:02 
>[оверквотинг удален]
>>>delay_parameters 1 50000/50000
>>>
>>>Squid must be compiled with option  enable-delay-pools
>>>./configure  --enable-delay-pools
>>
>>ipmanyak, this example is for my case ? (50 Kb/s)
>
>разумеется !  почти! Если kb  в твоем понимании килобайт, а
>не кбит.  Если именно килобайты,  то точнее так:
>50 kb =50 * 1024 = 51200 байт

Spasiba ipmanyak.