LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2005, 07:39 AM   #1
b:z
Member
 
Registered: Mar 2005
Posts: 146

Rep: Reputation: 15
Squid proxy(2)-How to limit connection make by Flashget, DAP, IDM,..--please help me


I have charged my local network with over 50 users, however they usually use the programs as FlashGet, DAP, IDM to get file from Internet. They open more connection ( 10 connections/time download).
So, how can i limit those programs or how can i limit connection get data of user with Squid proxy.

Thanks so much.
 
Old 04-03-2005, 10:28 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Use Iptables ( -m limit option).
 
Old 04-03-2005, 10:34 AM   #3
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Also try limiting bandwidth using "delay" in squid.

http://www.faqs.org/docs/Linux-HOWTO...ing-HOWTO.html
 
Old 04-03-2005, 10:52 PM   #4
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Thanks for your reply,

Quote:
Use Iptables ( -m limit option).
Can you give me some example about --iptabless with -m limit option -- ? I am not clear about.

Quote:
Also try limiting bandwidth using "delay" in squid.

http://www.faqs.org/docs/Linux-HOWT...ting-HOWTO.html
The first time, i also use bandwith limit with Squid proxy, however having something not to be suitable for my localnetwork's working purpose.
Here is my delay configuration:

=====================================================
# nolimit download in localnet
acl nolimit-localnet url_regex -i 192.168.
#
# nolimit download from specific users in localnet
acl nolimit-users url_regex -i 192.168.1.80 192.168.1.81 192.168.1.90 192.168.1.20
#
# nolimit download from specific site
acl web-permit url_regex -i abc.com
#
# limit download from Internet
acl limit-internet url_regex -i .wmv .wma .mp3 .mpg .wma .avi .asf .rm .zip .rar .ram .iso .raw .dat .cab .rar .rpm .exe .vq .pdf .tar .rpm .tar.gz .bin .cue#
# the buckets require for gameloft policy
delay_pools 1
#We want to limit bandwidth during the day, and allow
#full bandwidth during the night
#Caution! with the acl below your downloads are likely to break
#at 23:59. Read the FAQ in this bandwidth if you want to avoid it.
delay for download in localnet
acl gameloft_hours time MTWHF 08:00-19:00
#
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow nolimit-localnet
#
delay_class 2 2
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow nolimit-users
#
delay_class 3 2
delay_parameters 1 -1/-1 -1/-1
delay_access 3 allow web-permit
#
# delay for internet from internet
delay_class 1 2
delay_parameters 1 5000/150000 5000/120000
delay_access 1 allow limit-internet
===============================================================================

Are there something wrong configuration in my delay above? Please show me the problem of my configuration.
Thank you very much.
 
Old 04-05-2005, 10:34 PM   #5
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Everybody, please help me. (
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make azureus (or any port forwarding) works in my suse 9.3 box and squid proxy efm Linux - Newbie 0 10-31-2005 02:22 AM
Squid proxy (3) - Bandwidth limit questions --please help me b:z Linux - Networking 1 04-07-2005 06:11 AM
setting download limit in squid proxy jomy Linux - Networking 2 12-06-2004 08:13 AM
slow squid proxy connection with https sides Sammy2ooo Linux - Newbie 0 10-09-2003 03:43 PM
Squid proxy/cache on a dail-up internet connection manaskb Linux - Networking 1 01-14-2003 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration