LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-26-2012, 09:56 PM   #1
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 81

Rep: Reputation: 15
Question Slow down connection speed with a website at a particular time of the day


Hello everybody,

I need to slow considerably down (I plan to something like 56 kbps download speed) a connection with a certain website at a certain time of the day. My objective is to discourage the user to browse that website at that period of time. Not to show that the website is not available, no. I want to let the user to navigate in this website, but restrict speed to discourage the use of it.

For example, slow down the connection with http://www.website.com at 4 am to something like 48 or 56 kbps. And then at 11 am let it flow at the normal speed of the network.

Graphic:

4:00 - 11:00 am = connection with http://www.website.com - down speed 56 kbps.
rest of the day = connection with http://www.website.com - down speed 3024 kbps.


Is this possible to do easily? Will I need to create a complex script (what I'm not capable of) for this? or will any available programs for Linux (I use Ubuntu 10.04 on this computer) help me?

Sorry for my ignorance, and thank you very much in advance.
 
Old 02-27-2012, 04:12 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,714

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
I am thinking that tc would do it but I didn't see a great web page how to. Some are very technical. Keep looking for tc bandwidth shaping throttling control and such.
 
Old 02-27-2012, 07:45 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,910

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
I've never tried to make the network connection run more slowly, but wouldn't squid and delay pools do it?
 
Old 02-27-2012, 08:43 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,714

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
salasi may be correct too so follow up on that.
 
  


Reply

Tags
connections, restrict, speed, website


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
Opening a website on my VPS really slow from time to time. dragon1te Linux - Networking 2 01-25-2011 03:16 AM
Slow Firefox start time, how do I speed it up ? H_TeXMeX_H Linux - Software 4 07-08-2010 09:56 AM
Very slow connection speed G00fy Linux - Networking 1 07-12-2007 11:56 AM
Newbie help with slow connection speed FrederikVds Linux - Networking 2 07-01-2006 03:19 PM
slow internet connection speed 666 Mandriva 12 09-24-2005 09:54 AM


All times are GMT -5. The time now is 10:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration