Network Traffic Tool For Mac

Active4 months ago

What's a good software solution to slow down internet connections on the mac for testing and simulations?

Network Traffic Monitor Tool for Mac Written by Guillermo Garron Date: 2014-06-28 23:05:00 00:00. If you have a capped connection to the Internet, something like LTE o 3G connection, then you may want to monitor how much bandwidth your Mac is using. How to monitor network traffic on a router from a Mac? Ask Question. Install wireshark and sniff all the traffic. Then analyse. The other tool I use is MRTG. You need create the correct filter for your connection and see the statistics of the traffic network. Share| improve this answer. Answered May 13 '13 at 14:52. This KB article describes how to capture network traffic from Mac devices using Fiddler. How to capture network traffic from iOS devices using Fiddler KB-4183: How to capture network trace on Windows KB-8123. Fiddler is a tool for capturing web traffic. Network traffic monitor free download - NetUse Traffic Monitor, Magican Monitor, STAR Device Monitor, and many more programs.

My primary need is when testing code in the iPhone / iOS simulator, so slowing down the connection for specific applications or processes would be great.

bmike

Network Traffic Monitoring Tools For Mac

Network traffic capture tools
168k46 gold badges304 silver badges662 bronze badges
aneuryzmaneuryzm
2,23921 gold badges59 silver badges84 bronze badges

8 Answers

Apple has made a very handy official tool to slow down the network connections on you Mac for testing purposes.

The Network Link Conditioner preference is a free download from within Xcode (for Lion and later OS). Additionally, iOS has similar function accessible from within Xcode and iOS 6 or later.

Older versions of Xcode before version 4.3.2 embedded a copy of this tool. Now, you use Xcode to download it directly in a similar manner to the iOS simulators and developer documentation.

There are 11 built in profiles from a Lossy Edge network with 400ms delay to a cable modem. If you need other limits, you can create custom profiles with your own settings or you can also use ipfw yourself as described in Craig Hockenberry's article slow ride, make it easy It also mentions the Speed Limit panel by Mike Schrag that is a smaller download than Xcode, but has fewer options than Apple's tool.

It slows down the entire network stack, so you can't throttle on a per app basis without doing things like install lion in a virtual machine and set that VM with a throttled stack.

Community
bmike

Network Traffic Tool For Mac

bmike
168k46 gold badges304 silver badges662 bronze badges

OS X 10.9 and earlier provide ipfw and it allows you to define custom firewall rules. Create a pipe with limited bandwidth using ipfw and you can run your tests and simulations.

  1. Create a pipe '1' limited to 500KBytes/s via

  2. Guide all network traffic of port 80 through pipe '1' using

  3. When you don't need the pipe anymore, remove it from the port using

Other

  • If you want to set higher traffic barriers, you can use MByte/s
  • Port 80: standard port for unencrypted http traffic. This port is used for most browsing and downloading. You should be fine with this in most cases.
  • Port 443: standard port for SSL encrypted https traffic.
bmike
168k46 gold badges304 silver badges662 bronze badges
gentmattgentmatt
36.8k45 gold badges171 silver badges259 bronze badges

Speed Limit is a System Preferences pane for intentionally and selectively slowing down specific ports and domains.

Randy6T9Randy6T9
1,4631 gold badge13 silver badges28 bronze badges

To add to the accepted answer: it looks like you shouldn't need XCode, just an account at the Apple Developer website (simpler than first downloading the 2GB XCode package if you don't have it already).

Go to https://developer.apple.com/downloads and search for 'Network Link Conditioner' or 'Additional Tools for XCode', the latter being the name of the package it's found in.

To download it via Xcode 8.x:

  • Click on the Xcode menu
  • Go to Open Developer Tool > More Developer Tools...
  • This will open a page at developer.apple.com (Note: you may need to log in first)
  • Click on the '+' sign next to Additional Tools for Xcode 8.x
  • Click on the download URL
Roger DueckRoger Dueck

If you only need throttling for Web development, I can wholeheartedly recommend Charles. It's an excellent tool for debugging HTTP applications anyway, and among its many features, it's got a Throttle option. The software isn't cheap, but it does an excellent job.

KiezproKiezpro

Mac OS X 10.10+ users need to use dnctl and pfctl but documented usage examples aren't easy to find.

If you want to go all out and shape everything you can use:

I believe this also affects localhost pipes which slowed down my vs-code debugging, so be mindful of that.

ubershmekelubershmekel

You can also use ipfw piping to slow down your network.

First, setup a virtual 'pipe' to limit throughput to 800KBit/sec:

Then you can setup rules to push traffic through that pipe (pipe 1). (ports 6881-6890 being bittorrent traffic)

Here's another example to limit traffic down to 10Kbit/sec from a specific IP address:

daviesgeek

Mac Tools Website

daviesgeek

Network Traffic Capture Tools

22.2k48 gold badges142 silver badges188 bronze badges

Network Traffic Tool

For XCode 10.2, in More developer tools - Additional Tools for XCode 10.2, you will find Network Link Conditioner.

Kiran JasvaneeKiran Jasvanee

You must log in to answer this question.

Measure Network Traffic Tool

Not the answer you're looking for? Browse other questions tagged macosmacnetworkperformanceinternet .

Monitor distributed networks from a single console with the ManageEngine NetFlow Analyzer Enterprise Edition.
  • Monitor multiple remote sites from a central location with probe specific controls to visualize performance hiccups. View details of devices running on the probe server from a central server's web client.
  • Monitor health, availability and performance across all probes through the central server dashboard. The central server is designed to provide required network visibility across locations, easily scale, consolidate, and report network health over multiple remote probes.
  • View details of devices running on the probe server from the central server's web client and drill down to view device, interface and application details.
  • Analyze data on various attacks based on type and severity. Drill down further to view each event in detail with the top source, destination and offenders count.
  • Create service policies, and compare pre-policy and post policy performances with detailed CBQoS reports.