NeckoNet: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "= Setup = == Prerequisites == *Linux (tested with Fedora 15/2.6.38 kernel, should work with other recent distros) *C development environment *Kernel development package(s) for ...")
 
No edit summary
Line 8: Line 8:
*db4 development package(s) for whatever distro you're using
*db4 development package(s) for whatever distro you're using
*Python from the 2.7 series
*Python from the 2.7 series
*sqlite 3


== Installation ==
== Installation ==

Revision as of 21:00, 20 June 2011

Setup

Prerequisites

  • Linux (tested with Fedora 15/2.6.38 kernel, should work with other recent distros)
  • C development environment
  • Kernel development package(s) for whatever distro you're using
  • db4 development package(s) for whatever distro you're using
  • Python from the 2.7 series
  • sqlite 3

Installation

  1. Download http://people.mozilla.org/~hurley/neckonet.tar.gz
  2. tar xzf neckonet.tar.gz
  3. cd testing
  4. Run install.sh as root to build & install the custom kernel module & userspace control program

Running

  1. Build whatever branch you want
  2. Edit talos.config to point to your local build's binary (the line beginning "browser_path:" is the one you want)
  3. Run neckonet/daemons/neckod.py
  4. Go to localhost:8000 to create your configs and run tests with them. The text output of these will be put in a timestamp-named directory at the top level of the extracted tarball

History

Version 2 (6/2/11)

  • Deterministic first-SYN packet loss
  • Kmod and modified tc to support above

Version 1 (5/10/11)

  • Basic packet loss and delay
  • Linux-only, localhost-only
  • At least it has a web UI?