Downloading Prob...

Protecting your Linux box
Post Reply
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Downloading Prob...

Post by mudasir »

Hi...
i have a problem...i have configured my linux box with SQUID 2.5 STABLE 12....and few IPTABLES rules.....
now the prob is that....i have configured DELAY_POOLS tag to limit downloading speed and to fix http bandwidth per user....now if any one tries to download any thing from our local multimedia server that we have here...it limits the bandwidth on that also...means downloading from local site easily gives 3 to 5 MBps speed....now it is giving the specified amount of bandwidth that i have specified in DELAY_POOLS tag....

what i want to do is that....not to limit bandwidth while downloading from any of our local sites....but the delay_pools should be applied to downloading from internet

i hope i will get some replies not like my previous post..... :(
only farrukh bhai replied .....

hope to get replies soon....
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
osrc_server_expert
Lance Naik
Posts: 30
Joined: Sun Nov 12, 2006 11:20 am

Re: Downloading Prob...

Post by osrc_server_expert »

Salam

You can create a separate acl for your internal websites/ipaddresses and exclude it in the delay_pools tag.

Regards,
www.osrc.org.pk
Call now for free consultation
+92-51-9208748
nayyares
Battalion Quarter Master Havaldaar
Posts: 237
Joined: Tue Dec 13, 2005 10:47 pm
Location: JNB, SA
Contact:

Post by nayyares »

Hello,
You can even write a redirection rule for multimedia machine on squid, so if the traffic comes for multimedia machine it will redirect it, before it goes to SQUID.

thanks
Nayyar Ahmad
RHCE, CCNA, OCP DBA
nayyares aT fedoraproject DoT org
blogs: nayyares.blogspot.com
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear mudasir,
Salam,

I will recommened you not to cache local websites :)

Best Regards.
Farrukh Ahmed
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

AOA...

first of all thnx for the reply guyz...

i have solved this porblem of local downloading by creating an ACL in squid and allowing that acl unlimited bandwidth.....

now the problem that is coming in delay_pools is that it is giving a lot delay in opening a page..
like when i enter any address and press enter....it takes about 8 to 10 seconds to start loading any page.....now can any one tell me how to remove this delay.....


if you want i can post my squid.conf file....

and can any one give me the best configuration for rc.local....for a cable net guy.....
cause CHAT MESSENGERS are not working.......none of the messengers are working....

please help me out...
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
nayyares
Battalion Quarter Master Havaldaar
Posts: 237
Joined: Tue Dec 13, 2005 10:47 pm
Location: JNB, SA
Contact:

Post by nayyares »

Hello,
and can any one give me the best configuration for rc.local....for a cable net guy.....
cause CHAT MESSENGERS are not working.......none of the messengers are working....
btw, rc.local is not made for this pupose :twisted: there are thousand other reasons for this file, in fact you are suppose to ask for IPTABLES rules not rc.local. :wink:

cheers
Nayyar Ahmad
RHCE, CCNA, OCP DBA
nayyares aT fedoraproject DoT org
blogs: nayyares.blogspot.com
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Thanks for the reply guyz....

Dear Nayyares,
basicaaly i am looking for some rules by which i will be able to open all CHAT messengers Like
MSN, YAHOO, EYEBALL, PALTALK, ICQ, AOL, etc.....
....
and something related to BANDWIDTH RESTRICTION......

hope you guyz help me out....
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Post Reply