Open inian opened 9 years ago
I can't install ipfw either, it looks like DummyNet no longer support newer kernel version.
The ipfw frontend was dropped with Mac OS X Yosemite (10.10). The kernel module is still available. One work around is to copy ipfw from a 10.9 machine.
A related blog post: http://matt.simerson.net/news/2015/03/09/bandwidth-shaping-on-mac-os-x
In the comments of the post, dnctl is mentioned as a possible tool to configure dummynet.
-slamm
On Apr 23, 2015 3:22 PM, "Ned Nguyen" notifications@github.com wrote:
I can't install ipfw either, it looks like DummyNet no longer support newer kernel version.
— Reply to this email directly or view it on GitHub https://github.com/chromium/web-page-replay/issues/44#issuecomment-95734659 .
stevelamm: I was able to acquire the ipfw and ip6fw binaries from a 10.6 (Snow Leopard). So far I have simply copied those binaries into my /sbin folder. I believe I need to configure dummynet to use ipfw instead of pf. The web-page-replay doesn't do its job by simply copying the binaries into the /sbin folder. Any pointers on what I should be doing next?
You can look into how webpage-replay use ipfw: https://github.com/chromium/web-page-replay/blob/master/platformsettings.py#L193
@nedn : Thank you! I looked into where platformsettings.ipfw was used and it seems like ipfw is used only when the needs to be emulated such as setting limits on upload and download speeds using the options like --up, --down, etc. I'm interested only in the --record mode and the replay mode. I won't be needed traffic emulation for my purposes. If that is the case, then ipfw is never really called in web-page-replay, correct?
But when I use the --record mode, after loading a random number of webpages on Chrome, I don't see any DEBUG messages (on the terminal on which webpage-replay is running) when I load a new page. Same with the replay mode as well. After certain number of (recorded) webpage requests, the DEBUG messages stop appearing and I'm able to load the webpages on chrome that have not been recorded.
@stevelamm : Any pointers on what might be going on? Any suggestions on what I should try next?
Hi, I have been off the project for some time now. However, if web page replay is not receiving traffic, then it sounds like Chrome is not configured to sent traffic to it. The web page replay README give a couple suggestions for how to do that. -slamm
On Wed, Feb 3, 2016 at 12:07 AM, rszambre notifications@github.com wrote:
@nedn https://github.com/nedn : Thank you! I looked into where platformsettings.ipfw was used and it seems like ipfw is used only when the needs to be emulated such as setting limits on upload and download speeds using the options like --up, --down, etc. I'm interested only in the --record mode and the replay mode. I won't be needed traffic emulation for my purposes. If that is the case, then ipfw is never really called in web-page-replay, correct?
But when I use the --record mode, after loading a random number of webpages on Chrome, I don't see any DEBUG messages (on the terminal on which webpage-replay is running) when I load a new page. Same with the replay mode as well. After certain number of (recorded) webpage requests, the DEBUG messages stop appearing and I'm able to load the webpages on chrome that have not been recorded.
@stevelamm https://github.com/stevelamm : Any pointers on what might be going on? Any suggestions on what I should try next?
— Reply to this email directly or view it on GitHub https://github.com/chromium/web-page-replay/issues/44#issuecomment-179079231 .
@stevelamm Thanks for that suggestion. When I configure the network settings in the Mac to use a proxy sitting at 127.0.0.1:80, it works pretty well.
I was not able to get the network throttling feature to work on any modern version of Linux or MacOS. Specifically, I was not able to install dummynet on these operating systems. Other people also seem to be having the same problem
Is there any other workaround for using the network throttling feature / instructions on how to install dummynet?
Thanks!