mschrag / speedlimit

Network bandwidth limiter for testing iphone apps
464 stars 69 forks source link

Not work on Yosemite OSX 10.10 #13

Open mems opened 9 years ago

mems commented 9 years ago

ipfw has been depreciated since OSX 10.7 and removed in OSX 10.10. It has been replaced by pfctl

More infos: http://wayback.archive.org/web/20121218001958/http://blog.segment7.net/2009/07/27/bandwidth-limiting-with-pf-and-altq

adityapunjani commented 9 years ago

+1

ghost commented 9 years ago

+1

robertoschwald commented 9 years ago

+1

mtshare commented 9 years ago

+1

seanxiaoxiao commented 9 years ago

+1

maddox commented 9 years ago

Apple provides the exact same functionality via the Network Link Conditioner. You can download it via the Apple Developer Downloads. There's really no reason for this project still be active (which is why it isn't)

More info on the Network Link Conditioner can be found here.

ghost commented 9 years ago

Chrome dev tools also has this feature.

lacek commented 9 years ago

@maddox Network Link Conditioner is not working on localhost, speedlimit does.

maddox commented 9 years ago

@maddox Network Link Conditioner is not working on localhost, speedlimit does.

I've only ever used this locally. I mean, this was made specifically as a dev tool, of course it works locally.

@lacek did you try using 127.0.0.1?

lacek commented 9 years ago

@maddox I tried both 127.0.0.1 and localhost, neither works. Tested on Chrome and Firefox with 100% Loss Profile, once the conditioner's on I cannot access GitHub while 127.0.0.1 and localhost are still accessible instantly.

ImanMh commented 9 years ago

@maddox Why would you think there is no reason for continuing this project? is Network Link Conditioner open source?

Glutexo commented 9 years ago

Apple’s Network Link Conditioner doesn’t work for me on localhost either. Using 127.0.0.1 instead does not help. I hoped that speedlimit might be a solution, but since it is discontinued, it apparently isn’t. :(

ibc commented 7 years ago

@ghost said:

Chrome dev tools also has this feature.

Well, unless you need to limit not just HTTP stuff.

jlongman commented 7 years ago

See https://github.com/jlongman/speedlimit.

jlongman commented 7 years ago

ah here: https://github.com/jlongman/speedlimit/releases - I'm new to doing releases though.

denji commented 7 years ago

Hardware IO Tools for Xcode (Network Link Conditioner) should work too macOS/iOS.

jlongman commented 7 years ago

Yes and it's more configurable (at least in the UI) but apparently it has problems with localhost which speedlimiter does not. I've not tested localhost with NLC myself, I have and it does work with speedlimiter.