Live data from Hacker News

Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

slowyapp.com

21–30 of 34 posts

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#21
You don't need an app for this. I wrote a shell script which uses ipfw for exactly this purpose (Most probably this app uses ipfw too) here is the script- https://gist.github.com/1409218

Run it like

   throttle -p 3000 -d 1000ms -s 256Kbit/s start
p - Port

d - network delay you want

s - speed

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#23
post #20
post #12

Earlier quoted context omitted.

tc

Excellent. I sort of expected an utility like this to be part of a "standard installation". Are there good examples of using tc to emulate a crappy connection?

Sure. You can add jitter, packet loss, duplication, corruption, shaping, reordering, prioritisation. This page has examples: https://www.linuxfoundation.org/collaborate/workgroups/netwo... (netem is the kernel framework, it is to tc what netfilter is to iptables). The examples apply to outgoing traffic, search for ifb0 for a way to apply them to incoming traffic.

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#24

You don't need an app for this. I wrote a shell script which uses ipfw for exactly this purpose (Most probably this app uses ipfw too) here is the script- https://gist.github.com/1409218 Run it like throttle -p 3000 -d 1000ms -s 256Kbit/s start p - Port d - network delay you want s - speed

This is really nice, thank you. Just curious though, any reason why you don't make a full featured github repo for it so people could follow updates in future, suggest changes etc?

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#25

You don't need an app for this. I wrote a shell script which uses ipfw for exactly this purpose (Most probably this app uses ipfw too) here is the script- https://gist.github.com/1409218 Run it like throttle -p 3000 -d 1000ms -s 256Kbit/s start p - Port d - network delay you want s - speed

This is really nice, thank you. Just curious though, any reason why you don't make a full featured github repo for it so people could follow updates in future, suggest changes etc?

This was sufficient for my use. I just wrote it couple of days back. I can't think of any more features (except restricting bandwidth for upload also). So having a repo didn't even cross my mind

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#26

You don't need an app for this. I wrote a shell script which uses ipfw for exactly this purpose (Most probably this app uses ipfw too) here is the script- https://gist.github.com/1409218 Run it like throttle -p 3000 -d 1000ms -s 256Kbit/s start p - Port d - network delay you want s - speed

For designers working with css, going to the command line can be daunting. So you could wrap this in a nice app on the dock or the menu bar, and maybe you'd like a couple of euro for your time and writing some support documentation..

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#27
post #26

You don't need an app for this. I wrote a shell script which uses ipfw for exactly this purpose (Most probably this app uses ipfw too) here is the script- https://gist.github.com/1409218 Run it like throttle -p 3000 -d 1000ms -s 256Kbit/s start p - Port d - network delay you want s - speed

For designers working with css, going to the command line can be daunting. So you could wrap this in a nice app on the dock or the menu bar, and maybe you'd like a couple of euro for your time and writing some support documentation..

I know :) The comment made me smile because I wrote the script for a client who is a designer.

I used to use the ipfw commands directly. I didn't want the client to remember the syntax and also starting and stopping the throttling involved a couple of commands which can go wrong. So I wrote this and also had some default values so that he can just do throttle start and throttle stop

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#29
Umm... Lion does this out of the box w/ XCode:

http://mattgemmell.com/2011/07/25/network-link-conditioner-i...

It's called the "network conditioner" and it does lag, packet loss, latency, bandwidth limiting, and more. And it's free.

Re: Show HN: Slowy app, Real-world connection simulator and bandwidth limiter

#30
Seems to be a trend to wrap a lesser known commandline tool in a cocoa app and knock it out for a couple of quid to arts graduates. Someone did a cocoa version of guard recently. That other guy tried to make a system preferences pane for the hostfile, but apple wouldn't let him. I'm sure there have been others.

At least this guy has the decency to point out that it's already built into OS X right there on the landing page ;)

If you need to do this stuff to a saturated gigabit pipe in both directions, then may I suggest the superbly named 1U Network Nightmare, yours for only $9999.

http://www.gigenn.net/gigEnn/

Post reply on HN