Restrict Download Bandwidth

Protecting your Linux box
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

Restrict Download Bandwidth

Postby majidnazeer » Thu Jul 12, 2007 11:14 am

Hi All

I want to restrict download bandwidth per user or ip through squid or iptables. I want user can not get download speed more than 6k. I use 512K bandwidth. Anybody know and help me about it.

Thanks

abakali
Naik
Posts: 91
Joined: Wed Jun 01, 2005 5:38 pm

Re: Restrict Download Bandwidth

Postby abakali » Thu Jul 12, 2007 2:08 pm

majidnazeer wrote:Hi All

I want to restrict download bandwidth per user or ip through squid or iptables. I want user can not get download speed more than 6k. I use 512K bandwidth. Anybody know and help me about it.

Thanks


http://www.linuxpakistan.net/forum2x/vi ... compucated
Asif Bakali !
Feel free to contact me (flames about my english and the useless of this driver will be redirected to /dev/null, oh no, it's full...).

nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Postby nomankhn » Thu Jul 12, 2007 6:38 pm

Dear Asif,

The link you mentioned is not reliable, lambda also said in previous posts that ,that links is not reliable because we dont know the source code, whats going on inside that and we can not control thing properly i also tested that thing, that is meaning less.

Regards
Noman Liaquat Khanzada

abakali
Naik
Posts: 91
Joined: Wed Jun 01, 2005 5:38 pm

Re: Restrict Download Bandwidth

Postby abakali » Tue Jul 17, 2007 12:01 pm

majidnazeer wrote:Hi All

I want to restrict download bandwidth per user or ip through squid or iptables. I want user can not get download speed more than 6k. I use 512K bandwidth. Anybody know and help me about it.

Thanks


Hello

need solution Source Ping me !
Asif Bakali !

Feel free to contact me (flames about my english and the useless of this driver will be redirected to /dev/null, oh no, it's full...).

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Tue Jul 17, 2007 12:13 pm

ping you? are there actually people sitting around, waiting for someone to ask for a traffic shaper?

AcidEYE
Havaldaar
Posts: 115
Joined: Mon Feb 28, 2005 5:41 pm
Location: Lahore (Pakistan)
Contact:

Postby AcidEYE » Tue Jul 17, 2007 12:43 pm

Traffic Shaping in FreeBSD is hell easy, use ipfw with dummynet, you can get everything.
in linux i found traffic shapping is tough.
Linux Addicted

ather_36
Naik
Posts: 97
Joined: Thu Jul 31, 2003 11:38 am
Location: karachi
Contact:

Postby ather_36 » Tue Jul 17, 2007 3:32 pm

Salam
Use squid delaypools for restricting bandwidth for only downloading.It works very well.If u need any further help see link below for squid configuration.
http://www.wbitt.com/urducbts/
Thanks & Regards
Athar Hussain

syedbilalmasaud
Naib Subedar
Posts: 347
Joined: Thu Aug 18, 2005 9:25 am
Location: Attock
Contact:

Postby syedbilalmasaud » Sun Sep 02, 2007 7:29 pm

use cbqinit scripts and tcp traffic varriables it is a little hard to do but its works very good
Cheers :)

:D B I L A L :D

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Delay Pools

Postby x2oxen » Tue Oct 30, 2007 1:48 pm

If you want to say within squid then delay pools are a good option but not best.. I will suggest MikroTik for bandwidth shaping..
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com


Return to “Security”

Who is online

Users browsing this forum: No registered users and 2 guests