SAMI Communication Overview

The Secure and Accountable Measurement Infrastructure (SAMI) is a collection of software tools designed to aid researchers and engineers in managing internet measurements from various vantage points within the internet. This document describes SAMI's communication and messaging. For more information on SAMI, see the SAMI Overview document.

Please note that in this document SRC_DIRECTORY represents the directory where the SAMI source has been extracted from the tar file, typically sami-x.y.src/.

All SAMI components communicate using HTTP 1.1 over TLS (TLS is provided by OpenSSL. See The SAMI HTTP parser,SRC_DIRECTORY/src/util-local/HTTP_Framing.[cc|h], currently supports the following content types:

Content-Type: text/xml; charset=ISO-8859-1 Content-Type: text/plain; charset=ISO-8859-1 Content-Type: application/octet-stream

Message types of 'text/plain' and 'application/octet-stream' are parsed internally. Message types of 'text/xml' are parsed using Xerces C++ libraries ( Although the appropriate schemas or DTDs have not yet been created, samples of most of the 'text/xml' messages can be found in SRC_DIRECTORY/src/xml.