Re: Throttling network interface traffic



In message <df1rb2$n7c$1@xxxxxxxxxxxxxxx>, Gordon Henderson <gordon@xxxxxxxxxxxxxxx> writes
In article <df1qhq$m9p$2$8302bc10@xxxxxxxxxxxxxxxx>,
Colin McKinnon  <colin.deletethis@xxxxxxxxxxxxxxxx> wrote:
Bernard Peek wrote:

I have broadband with a static IP address and want to hang a web-server
on the network. I've got a machine loaded with Ubuntu.

Can I throttle the network interface back to say 64Kb to stop it

erm mod_throttle?

Type 'throttle apache' into google then click on 'I feel lucky'. If you've
go apache 2 you might want to try 'throttle apache2' and look thu all of
the first page.

The OP didn't want to throttle apache, but all stuff coming out of that particular server.

You might want to look at "wondershaper" and run that on the firewall box -
it's not perfect, but it's a start.

The firewall is a hardware device and doesn't have any traffic-shaping options. I don't really want to run another PC 24 hours a day which is why I want to throttle the system at the server.



Understanding how the Linux kernel does traffic shaping is a rather intersing excercise in itself, but it's very do-able and efficient.

I'm sure there's a way. The question is whether I can get my head around it, I haven't been using Linux very long and I'm definitely not a programmer.





-- Bernard Peek London, UK. DBA, Manager, Trainer & Author.

.



Relevant Pages

  • Re: Simulating Low Bandwidth
    ... environment. ... Does anyone know of any tools that I can use to throttle down a Windows ...
    (microsoft.public.windows.server.general)
  • Re: Counterexample
    ... Keyboard is not a throttle for server systems very often. ... 64-bit back-end server to google without actually realizing it. ... Randy Howard ...
    (comp.programming)
  • Re: Copying files across network
    ... A file *is* a byte array. ... set up an internal FTP server (this is built into Windows Server as an ... If you need to throttle the transfer, ... up's have made that decision) Web service is the last option to ...
    (microsoft.public.dotnet.languages.vb)
  • Testing "real world" two tier apps..
    ... server to provide the business rules and dataaccess. ... For development purposes the client and server portions are both running on ... I don't however want to throttle my external network connection!! ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Lemon goes pear-shaped!
    ... But my server also works on port 8021 - which they ... don't throttle. ... Prior to calling them, I was leaving Lemon, now, guess what? ...
    (comp.sys.acorn.misc)