Difference between revisions of "Capture"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Title| | + | {{Title|Installing uml_switch with capture-from-host option }} |
− | |||
− | + | In order to install Esteban Martín's modified uml_switch to allow capturing traffic in virtual networks directly from the host, follow this steps (tested in Ubuntu 6.06): | |
− | * | + | * Install development tools (compiler, etc) and capture library : |
apt-get install build-essential | apt-get install build-essential | ||
apt-get install libpcap0.8-dev | apt-get install libpcap0.8-dev | ||
− | * | + | * Download [http://prdownloads.sourceforge.net/vnuml/vnuml_1.7.2.orig.tar.gz?download vnuml source]. |
− | * | + | * Uncompress it: |
tar xfvz vnuml_1.7.2.orig.tar.gz | tar xfvz vnuml_1.7.2.orig.tar.gz | ||
cd vnuml-1.7.2 | cd vnuml-1.7.2 | ||
− | * | + | * Access to uml_switch directory: |
cd contrib/uml_router | cd contrib/uml_router | ||
− | * | + | * Compile it: |
make | make | ||
− | * | + | * Copy the executable to system directories (use a different name for uml_switch in order to not overwrite the original): |
cp uml_switch /usr/bin/uml_switch4capture | cp uml_switch /usr/bin/uml_switch4capture | ||
cp umlctl umlswctld /usr/bin/ | cp umlctl umlswctld /usr/bin/ | ||
− | * | + | * Include ''uml_switch_binary'' parameter in the <net> tag you want to capture on: |
<net ... uml_switch_binary="/usr/local/bin/uml_switch4capture" /> | <net ... uml_switch_binary="/usr/local/bin/uml_switch4capture" /> | ||
− | + | You can find more information in README file inside contrib/uml_router directory. | |
− |
Latest revision as of 02:18, 11 February 2007
Installing uml_switch with capture-from-host option
In order to install Esteban Martín's modified uml_switch to allow capturing traffic in virtual networks directly from the host, follow this steps (tested in Ubuntu 6.06):
- Install development tools (compiler, etc) and capture library :
apt-get install build-essential apt-get install libpcap0.8-dev
- Download vnuml source.
- Uncompress it:
tar xfvz vnuml_1.7.2.orig.tar.gz cd vnuml-1.7.2
- Access to uml_switch directory:
cd contrib/uml_router
- Compile it:
make
- Copy the executable to system directories (use a different name for uml_switch in order to not overwrite the original):
cp uml_switch /usr/bin/uml_switch4capture cp umlctl umlswctld /usr/bin/
- Include uml_switch_binary parameter in the <net> tag you want to capture on:
<net ... uml_switch_binary="/usr/local/bin/uml_switch4capture" />
You can find more information in README file inside contrib/uml_router directory.