Restrict Download Bandwidth

Protecting your Linux box

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
majidnazeer
Naik
 
Posts: 60
Joined: Wed Oct 05, 2005 12:37 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...).
abakali
Naik
 
Posts: 91
Joined: Wed Jun 01, 2005 5:38 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
nomankhn
Colonel
 
Posts: 714
Joined: Wed Aug 07, 2002 8:00 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...).
abakali
Naik
 
Posts: 91
Joined: Wed Jun 01, 2005 5:38 pm

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?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

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
AcidEYE
Havaldaar
 
Posts: 115
Joined: Mon Feb 28, 2005 5:41 pm
WLM: a_flame@msn.com
Yahoo Messenger: acid_eye69@yahoo.com
AOL: none
Location: Lahore (Pakistan)

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
ather_36
Naik
 
Posts: 97
Joined: Thu Jul 31, 2003 11:38 am
Website: http://www.linuxpakistan.net
WLM: ather_36@hotmail.com
Yahoo Messenger: ather_36@yahoo.com
Location: karachi

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
syedbilalmasaud
Naib Subedar
 
Posts: 347
Joined: Thu Aug 18, 2005 9:25 am
WLM: bm1984@hotmail.com
Yahoo Messenger: syedbilalmasaud@yahoo.com
Location: Attock

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
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad


Return to “%s” Security

Who is online

Users browsing this forum: No registered users and 1 guest