Partitioning Bandwidth Using Mac OS X? 61
dasboy has this query: "I was wondering if anyone knew of away to partition bandwidth amongst a group of computers running Mac OS X? I have a [few Macintosh machines] at home all on the same LAN and all on the same Internet connection. One of these machines is used by my daughter when she's home from school. The biggest problems happen when she begins downloading large files (I'll let you guess what she downloads <grin!>). I was wondering if there are any cool BSDish ways of constricting the amount of bandwidth her computer uses?"
Eep! (Score:4, Funny)
I'll leave it up to everyone else with perverted minds to guess what _I_ thought of when I first read that.
I feel like a bad person now.
Re:Eep! (Score:3, Funny)
Re:Eep! (Score:4, Funny)
Recipes for making babies...
Guess what she's downloading? (Score:2, Funny)
Porn :rolleyes: (Score:4, Funny)
4 posts so far, 3 implying she downloads porn. You did ask for it you know
QoS on the router would be the best bet in my uninformed opinion. Other then that a download manager that throttles her bandwidth
Wonderful (Score:5, Informative)
try these? (Score:5, Informative)
Ralf
QoS (Score:4, Interesting)
Re:QoS (Score:2, Informative)
IPFW (Score:4, Informative)
IPFW and Dummynet (Score:5, Informative)
Doing this should limit the connection to 300Kbit/s. If you want the connection faster or slower you simply need to change the 300Kbit/s number. 56Kbit/s should be approximately the speed of a 56K modem. The last number probably should be scaled appropriately to the first number, that is if you cut the first number in half then cut the second in half.
To learn more about pipes and dummynet, read the manpages for ipfw with the following command in the terminal:
Re:IPFW and Dummynet (Score:2)
Granted I haven't tried this little trick (I haven't had a need to yet) but I'm pretty sure that pipes work under Darwin. Anyone have any experience with this?
I have used the instructions on how to set up the firewall and I know that works just fine. I've been told that dynamic rules don't work properly in ipfw, but everything else seems to have no problem at all.
Re:IPFW and Dummynet (Score:3, Informative)
The response to my question is here [apple.com]
Too bad (Score:5, Funny)
**sigh**
This is the 4th young girl I've heard about this week succumb to the evils of Richard Simmons videos. Which is her favorite? The "Disco Blast Off", or the "Best of Latin Buns Burning"?
Or is it....no....it couldn't be...."Getting Dirty with the 80s"? Oh, the humanity!
What she downloads... (Score:1, Funny)
At least the girls (if there are any) in the contest are shaven... Unlike In Soviet Russia....
altqd (Score:3, Informative)
Huh? (Score:1)
Re:Huh? (Score:2)
Umm... (Score:5, Insightful)
Bandwidth Throttling (Score:5, Funny)
Well, that's what my Dad would have done.
Re:Bandwidth Throttling (Score:1)
Re:Bandwidth Throttling (Score:2)
Hardly!. My old VIC-20 had horrible RF shielding, so it borked up the TV reception (no cable!) pretty badly, creating these nasty interference patterns on the TV upstairs. The solution was simple: Whenever my parents wanted to watch TV, I had to turn the computer off.
Re:Bandwidth Throttling (Score:1)
but it did have the overheating powerpack problem,
couldnt run the powerpack for more then 2 hours..
had to chuck it in the freazer for 10 mins..
oh the fun old days,
serioulsy though dose anyone make external
none fan colled powerpacks for computers these
days??
Assuming she's using P2P software... (Score:1)
Is there an option in the program to limit how much available bandwith it uses?
Parental Responsibility (Score:2, Troll)
I assume you mean illegal MP3s. If you encourage your children to steal music and software, please be sure it's a conscious decision. Liability issues aside, you send a very clear message to your kid when you teach them that it's okay to pick and choose which laws they obey.
Re:Parental Responsibility (Score:3, Insightful)
Re:Ridiculous (Score:2)
Re:Ridiculous (Score:1)
Re:Parental Responsibility (Score:1)
Re:Parental Responsibility (Score:1)
Question Authority and Live Responsibly and Respectfully of Others. Encouraging your children to steal for personal convenience seems incompatible with any kind of rational thinking.
Re:Parental Responsibility (Score:1)
Performing throttling per server (Score:2)
- j
Re:Performing throttling per server (Score:1, Interesting)
The altq configuration is now in the pf configuration and works like a dream.
Please note, this can't control what speed data comes IN to your network, only what speed it leaves. But, with some work you can prevent her traffic from pushing yours out of the way.
You would need some sort of queueing system on the far end of you DSL/Cable to control how fast stuff comes down to you. I doubt your ISP is going to let you stick an OpenBSD box at their datacenter.
Re:Performing throttling per server (Score:1)
Well, ok, but remember that everything that's coming into one interface on your gateway is likely going out another.
While the gateway itself has to deal with all incoming or outgoing traffic, you can easily set up queing up on the -internal- interface as well as the external and get throtting on the incoming traffic. Sorta.
Missing the point? (Score:2, Informative)
Re:Missing the point? (Score:2)
Linux Advanced Routing & Traffic Control HOWTO (Score:2, Interesting)
what you really want . . . (Score:4, Informative)
Re:DOS attack her computer. (Score:1)
SSH (Score:1)
Create a superuser account for yerself on her machine.
Whenever she's doing illegal things... SSH into her machine and kill the process.
again.
and again.
and again.
she'll presume the program is so buggy she'll never use it again.
the RIAA and you win.
yah! technology.
Tried a while ago... (Score:1)
What I tried to get around the lack of any easy solution was to setup a transparent proxy on the server with Squid, and then use Squid's own bandwidth limiting functions (delay pools-which can allow you to set groups of people based on IP's and subnets). I was doing this at the time with a 56k connection, and it actually worked to the point where my game pings would not cross over 500...lol. I don't recommend it for anything less than DSL, but the difference is noticeable...also, it can be hard to figure out at first, but it is definitely do-able...all this assumes however, that you have a dedicated Mac OS X box running as a gateway router.
http://www.squid-cache.org/
http://squid.visolve.com/squid24s1/delaypool.ht
You could also can have a cron job run on the server during the times you are most likely going to be on, to alter your ipfw config and deny all traffic on the ports your daughter is using to do what she does....but you probably want something more difficult;D