Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 15 November 2024, 09:12:45 am

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14255 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  Reduce download speed for only SAME client...
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Reduce download speed for only SAME client...  (Read 21096 times)
martec
Full Member
***
Offline Offline

Posts: 34


« on: Thursday 18 June 2009, 06:26:28 pm »

Hi at all,

i need to decrease download speed at some client on my network (because the user, when i cut off emule, have found megaupload and some service about this...) ...

This user stay many time to download, and the internet surfing result too slow for others...

Can i stop this? (no,  i understund but "kill" in my country it's a crime  Wink )

Thanks at all!
Bye.
Logged
Steve
Sr. Member
****
Offline Offline

Posts: 108



WWW
« Reply #1 on: Thursday 18 June 2009, 07:29:49 pm »

There is no easy way to do this yet.
All you can do is assign a priority to a port, but this will affect all users.

In the next version release (v2.3) traffic shaping will be replaced by QOS.
I'm not sure how extensive this will be.
Logged

                          
StephanSch
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #2 on: Friday 19 June 2009, 03:08:24 am »

If your Clients are using the proxy for the downloads you can do it with the squid.conf.
I don't know whether you can do it with the 2.2 final on the webinterface but you can in the /etc/squid/squid.conf.tmpl
Logged
slawekgl
Jr. Member
*
Offline Offline

Posts: 1


« Reply #3 on: Friday 19 June 2009, 04:56:15 am »

Hi,
adapt the limits ,address range, and of course the ip of the "evil user" Grin and put it into your /etc/squid/squid.conf.tmpl:

Code:
#This is the most important part for shaping incoming traffic with Squid
#For detailed description see squid.conf file or docs at http://www.squid-cache.org
 
#define your LAN., It will get unlimited inet access
acl unlimited url_regex -i 192.168.1
 
#define  downloader
acl limited src 192.168.1.20

#create two different delay_pools
delay_pools 2
 
#First delay pool
delay_class 1 2
 
#-1/-1 means that there are no limits.
delay_parameters 1 -1/-1 -1/-1
 
#let your LAN users go  without limits
delay_access 1 allow unlimited

#Second delay pool.
delay_class 2 2
 
#The numbers here are values in bytes;
#50000/15000000 are values for the whole network
#50000/10000000 are values for the single IP
delay_parameters 2 50000/15000000 50000/10000000

#limit download speed for the evil user
delay_access 2 allow limited

greetings
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.078 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com