mschrag / speedlimit Goto Github PK
View Code? Open in Web Editor NEWNetwork bandwidth limiter for testing iphone apps
Network bandwidth limiter for testing iphone apps
Most cable modem users have asymmetrical speed limits, like 1.5Mbs down, 100Kb up. Allowing separate speed limits for up- and down-stream would be really useful for things like throttling an upload to youtube.
Just installed the application, I clicked the security lock to enter my admin password and unlock preferences and enable me to edit the settings. I set my speed limit to 384k and then clicked the lock again to lock system preferences. Immediately upon clicking the lock, System Preferences crashes with the following error message in the stack trace:
com.mdimension.SpeedLimit v.1.0 (SpeedLimit)
objc[24987]: GC: forcing GC OFF because OBJC_DISABLE_GC is set
Performing @selector(buttonPressed:) from sender SFAnimatedLockButton 0x7fba1bcf2cf0
abort() called
*** error for object 0x7fba1bcea150: pointer being freed was not allocated
Process: System Preferences [24987]
Path: /Applications/System Preferences.app/Contents/MacOS/System Preferences
Identifier: com.apple.systempreferences
Version: 13.0 (13.0)
Build Info: SystemPrefsApp-259001000000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [280]
Responsible: System Preferences [24987]
User ID: 501
Date/Time: 2014-09-02 10:19:57.947 -0400
OS Version: Mac OS X 10.9.4 (13E28)
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff846fb866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8f36a35c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff888f3b1a abort + 125
3 libsystem_malloc.dylib 0x00007fff8b2e807f free + 411
4 com.apple.security 0x00007fff8b7dfa49 AuthorizationFree + 198
5 com.apple.securityfoundation 0x00007fff84a22dcd -[SFAuthorization invalidateCredentials:] + 41
6 com.apple.securityinterface 0x00007fff84712dde -[SFAuthorizationView(Private) _freeRef:] + 121
7 com.apple.securityinterface 0x00007fff847123a0 -[SFAuthorizationView(Private) _tryState:interactive:] + 1666
8 com.apple.securityinterface 0x00007fff84714068 __37-[SFAuthorizationView buttonPressed:]_block_invoke + 66
9 com.apple.securityinterface 0x00007fff8471401d -[SFAuthorizationView buttonPressed:] + 285
10 com.apple.AppKit 0x00007fff8d449260 -[NSApplication sendAction:to:from:] + 327
11 com.apple.AppKit 0x00007fff8d4490de -[NSControl sendAction:to:] + 86
12 com.apple.AppKit 0x00007fff8d495c4d -[NSCell _sendActionFrom:] + 128
13 com.apple.AppKit 0x00007fff8d4af655 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2316
14 com.apple.AppKit 0x00007fff8d4aea27 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 487
15 com.apple.AppKit 0x00007fff8d4ae13d -[NSControl mouseDown:] + 706
16 com.apple.AppKit 0x00007fff8d42fa58 -[NSWindow sendEvent:] + 11296
17 com.apple.systempreferences 0x000000010c6cda61 0x10c6c6000 + 31329
18 com.apple.AppKit 0x00007fff8d3ce5d4 -[NSApplication sendEvent:] + 2021
19 com.apple.systempreferences 0x000000010c6cceb4 0x10c6c6000 + 28340
20 com.apple.AppKit 0x00007fff8d21e9f9 -[NSApplication run] + 646
21 com.apple.AppKit 0x00007fff8d209783 NSApplicationMain + 940
22 libdyld.dylib 0x00007fff8b2d65fd start + 1
Some times, an app use differents port and connect to differents host. It could resolve with the option to limit a specific app (all connections) without affect others apps (as littlesnitch).
Hi,
throttling appears to still be working fine, but the delay function is not - ie. there is no delay applied to the connection. confirmed still working on colleague's 10.6.5 machine. Happy to create a fix with a little guidance? Otherwise, hope an update will be possible in the future
Thanks
j
docker.picard.red’s server DNS address could not be found.
It would be useful to slow down internet speed of iOS devices connected using internet sharing. Currently Speed Limit does not effect the speed of that connection.
(tested using 10.7).
I manually added my own speeds needed for a project, but I cannot figure out how to build this into an executable bundle.
What steps do I need to take to test my changes?
Hello,
I was wondering if anyone has forked this repository and attempted to add pfctl support for OSX 10.10+? Currently only ipfw is supported which has been deprecated since 10.10.
In 2014 this issue was created reporting the prefpane broken, but since then no real solutions have been provided. Network link conditioner has been mentioned as a replacement but doesn't provide the same features (can't throttle specific ports & not throttling 127.0.0.1).
Here's some resources that might be helpful:
Hi,
i love your tool for limiting speed, but it should have an input box, where you can set a custom speed.
I'd like to use the speed limit, to controle the download speed of for instance mac updates. If I download a 1 GB update, nobody else in my house can surf.
If the cutom input box is to hard to realise, can you add at least some more options of speed (up to 1MB or 2 MB per secound)?
Thank you
Injection worked - but didn't notice any difference... this would be really handy. any tipps?
It seems that the link http://mschrag.github.com is not working. Consequently can't download the binary.
Click the plus adds a port 1000, but I can't edit the port. If I double click on it it I can change the number, but something is preventing me from saving the number.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.