TCMP

From GEANT2-JRA1 Wiki

Contents

Overview

Tracefile Capture Measurement Point (TCMP) is one of the passive monitoring tools implemented using the perfSONAR framework. It is used for capturing network packets of selected flows using either regular ethernet cards or special DAG or COMBO6 cards to PCAP compatible files. TCMP uses MAPI library developed by Uninett for capturing packets. TCMP supports all capture options supported by MAPI library, like header filtering, anonymization of packet headers, etc.

MAPI library itself provides all the tools needed to capture the data, but TCMP is written as a web service and complies to perfSONAR framerwork. This makes it more powerful and easier to use tool for capturing packets at remote locations.

Objectives

A Measurement Point for Tracefile capture aims to providing Web Service access to packet capture from remote network cards with all the features that perfSONAR Measurement Point complaint service can offer. Some of such features include:

  • Efficient access to data (usage of keys)
  • Scheduling
  • LS Registration
  • Capturing data to PCAP files
  • Accessing PCAP files over HTTP(S) protocol
  • Storing PCAP files (metadata) to Measurement Archive (MA) or UI client using PUSH method
  • Resource protection, Authentication and other security mechanism
  • Copying PCAP files stored on remote (DiMAPI) machines to the machine running TCMP (possibly via SSH protocol)

Achievements

The current source in the version control system (HEAD) supports the following features:

  • Capturing data to PCAP files
  • Accessing PCAP files over HTTP(S) protocol
  • Using Exception classes supporting result codes
  • Copying PCAP files stored on remote (DiMAPI) machines to the machine running TCMP (possibly via SSH protocol)
  • LS Registration
  • Make sure MAPI problems are getting fixed:
    • It seams there was a problem simultaneously creating more than one flow. Do not use <nmwgt:endPointPair> tag in <passivetracefile:subject> tag of a request XML Message. Use either <nmwgt:endPoint> or <nmwgt:interface> instead. Refer to bug id #451 at http://bugs.uninett.no/.
  • Scheduling

Next steps

  • Efficient access to data (usage of keys with SQL Storage Manager)
  • Storing PCAP files (metadata) to Measurement Archive (MA) or perfSONARUI client using PUSH method
  • Resource protection, Authentication and other security mechanism
  • Local anonymization rules (part of resource protection)
  • Put service in the perfSONAR bundle

References

Contact

Please contact jra1-sw (-at-) arnes.si for all technical support enquires.

Work in progress

  • Binary installation package for simplier deployment

Return to Passive monitoring

Personal tools