We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我发现这个工具对于测试各种类型的连接非常有用。
慢速应用程序:http://slowyapp.com/
它有一些预设(56K、EDGE、3G、LTE 和 DSL)但允许您设置各种参数以将网络流量限制到指定的目标端口或接口。
我推荐大家都去尝试一下。
I found this very useful tool for testing various types of connection.
Slowy app: http://slowyapp.com/
It has some preset (56K, EDGE, 3G, LTE and DSL) but allows you to set various parameters to limit the network traffic to a specified destination port or interface.
I recommend everyone to try it.
你很幸运 - 你的 OSX 版本应该仍然支持 IPFW;所以我们可以
减少任何东西,在上面的例子中是端口 80。一定要让规则覆盖通过你的 Mac 的流量。请参阅http://intrarts.com/throttled.html
或 http://www.hanynet.com/waterroof/ 以获得更友好的工具。
超越 Leopard - 你想看看 pfctl。 http://blog.segment7.net/2009 /07/27/bandwidth-limiting-with-pf-and-altq 和 http://www.openbsd.org/faq/pf/queueing.html 很好开始。请注意,默认情况下您不能使用 ALTQ(它不在默认的 OSX 内核中)。
You are in luck - your version of OSX should still support IPFW; so one can do
to cut down anything, in above example for port 80. Be sure to make the rule cover the traffic going through your mac. See http://intrarts.com/throttled.html
or http://www.hanynet.com/waterroof/ for friendlier tools.
Beyond Leopard - you want to look at pfctl. http://blog.segment7.net/2009/07/27/bandwidth-limiting-with-pf-and-altq and http://www.openbsd.org/faq/pf/queueing.html are good starts. Note though that by default you cannot use ALTQ (it is not in the default OSX kernel).