Skip to content

monfron/maparo-std

 
 

Repository files navigation

Maparo

Control Protocol

Modules

Common used modules are named shorter/snappy, rarely use modules named longer

Campaigns

WIP: Campaigns are not shared or/and standardized. Campaings consists of modules. Modules are standardized and can be queried. A campaign can get supported modules from a peer and can start a campaign if all required modules are supported by a peer/server.

Misc

  • There is not output in between measurement. Why: because the control channel is not used. Only after measurement the control channel is used to exchange the measurement data back to the client. The client is free to print status information if the cpu load is not noticable affected.

Time

Cross Platform Functionality

Not all features are supported at every platform. These features must be described and named explicitly.

Principles

  • Keep the serve size simple and configuration free from configuration effort. The configuration should be keep as simple as possible at the server side, should be done on the client side and as automatically as possible.

Shared Functionality

Payload Pattern

Maparo pre-defines several payload pattern to be used in each module.

The pattern is true for one "chunk". One chunk is one pre allocated buffer and is typically one UDP packet or one large (max 4 GB) TCP chunk. Chunks are reused and pattern are not recalculated -> identical. This is for performance aspects because randomizing and touching chunks are CPU intensive and may lower the network performance. I don't see any network measurement advantageous where recalculating is required. Often optimizer and gzip for UDP work on a packet level and for TCP the chunk size can be quite large so there is no real problem with this limitation.

Zero

Just 0 for the complete payload

Name: zero

Random ASCII (letter)

Randomized string with a-zA-Z0-9. No Unicode

Name: random-ascii

Random

Random is a pure random byte.

Name: random

The generator tries to use the most cryptographic random bytes from the underlying operating system (e.g. /dev/random seed combined with AES)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%