Author Topic: limiting bandwidth  (Read 609 times)

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
limiting bandwidth
« on: 2 January 2003, 21:58 »
Is there any way I can setup my redhat box so that a user can not download/upload more than X bits in Y ammount of time? I want to set up a server so that when i get dsl back again i can start allowing users, but i dont want them to hog all my bandwidth. Thanks.

dulcipher

  • Newbie
  • *
  • Posts: 1
  • Kudos: 0
    • http://www.angelfire.com\\droid\\gerber
limiting bandwidth
« Reply #1 on: 2 January 2003, 18:55 »
Yes,

Are u using Apache?  There is a tool in it that allows you to limit the amount of bytes that a particular connection can download from you, but be careful, it goes by IP, so if people are using a proxy, there coulld be some problems.
Let it never be said that your anal retentative attention to detail never yieled positive results..

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
limiting bandwidth
« Reply #2 on: 2 January 2003, 23:02 »
i think it depends on the program. Are you giving them FTP access? I think ProFTP has a setting somewhere to limit the bandwith.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
limiting bandwidth
« Reply #3 on: 3 January 2003, 02:54 »
I was looking for more of a kernel feature of some sort. I want to block all connections from too much bandwidth. I don't have ftp as it is not very secure, i let them ftp out if they want. And as for apache, i do use it, but most people aren't into making web pages. Most people that I let use it are using it to make a MUD and they need a place to host it. And it's theirs so i can't just add code in there, and if i did they'd see it. (not to mention it's morally wrong)

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
limiting bandwidth
« Reply #4 on: 3 January 2003, 04:37 »
Could this be achieved with the 'limit' module in iptables?
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
limiting bandwidth
« Reply #5 on: 3 January 2003, 04:39 »
quote:
Originally posted by flap:
Could this be achieved with the 'limit' module in iptables?


i know nothingi about iptables, i'm using ipchains. i'll play around with it later, but i dont know.