dimes logo

Distributed Internet Measurements and Simulations Linux Client

"How does the Internet look like? How does it evolve?"

New Version is avaiable here

Installation

Needed software:
Java 1.4 or above
Verify that these files exist: /usr/lib/libcrypto.so and /usr/lib/libpthread.so

The package comes fully compiled and ready to be run. See the notes below regarding reduced functionality.
Instructions:

  1. Select one of the files below to download. Save it in the intended directory for the client.
  2. Unzip the file using:
    $> unzip DIMES_linux.0.3.9.10.zip
    or untar the file using:
    $> tar xvzf DIMES_linux.0.3.9.10.tar.gz
  3. Move into the directory DIMES_linux
  4. Move into the directory DevelopmentAgent
  5. Switch user to root by doing: (need root password)
    $> su root
    Why should I switch user to root?
  6. Run the client using:
    $> ./run
  7. Switch back to your old user by doing:
    $> exit

Download

New Version is avaiable here

Version Download
0.3.9.10 Compiled for i86
Comes with full set of sources (see compilation below too)
DIMES_linux.0.3.9.10.tar.gz
DIMES_linux.0.3.9.10.zip

Check out the docs directory after downloading.

Compilation


Needed software:
Java 1.4 or above
topotlogyd library for extended modification
Ant build tool

If you wish to compile the package again simply use the script called "make" under the same directory as "./run" above. (This script compiles the measurements library under the directory LinuxChanges and recompiles the java classes using ant.)
This package relies on the code from this page. You can also download it and modify it as well. After the compilation of this library follow this steps:

List of changes from the Windows Version

  1. Added package LinuxChanges and class ChangeHolder
  2. Modified class dimes.AppSplash
  3. Modified class dimes.gui.AgentFrame (removed methods and fields down to WindowsAgentFrame).
  4. Added class dimes.gui.LinuxAgentFrame
  5. Added class dimes.gui.WindowsAgentFrame
  6. Modified class dimes.util.LibraryLoader

Notes

FAQ

Why should I switch user to root?
The client uses raw sockets which are needed to run the measurement code. This is the code which allows the client to simulate the programs known as ping and traceroute.
Quoting the manual page of raw (man 7 raw): "Only processes with an effective user id of 0 or the CAP_NET_RAW capability are allowed to open raw sockets."

Is there a way of making the switch easier?
Yes there is. Visit this page or read man sudo (man 8 sudo).