Sign inSign up

elastiflow/samplicator

By elastiflow

•Updated over 5 years ago

Samplicator receives UDP datagrams and resends those datagrams to a specified set of targets.

Image
2

461

elastiflow/samplicator repository overview

Samplicator receives UDP datagrams on a given port, and resends those datagrams to a specified set of targets.

An example docker-compose.yml file for samplicator.

version: '3'
services:
  # The usage convention for samplicate is:
  #   $ samplicate [<option>...] [<destination>...]
  #
  # The following <option> parameters are available:
  #   -d <level>       to set the debugging level
  #   -s <address>     to set interface address on which to listen for incoming packets (default any)
  #   -p <port>        to set the UDP port on which to listen for incoming packets (default 2000)
  #   -b <buflen>      size of receive buffer (default 65536)
  #   -c <configfile>  specify a config file to read
  #   -x <delay>       to specify a transmission delay after each packet, in units of microseconds
  #   -S               maintain (spoof) source addresses
  #   -n               don't compute UDP checksum (only relevant with -S)
  #   -f               fork program into background
  #   -m <pidfile>     write the process ID to a file
  #   -4               IPv4 only
  #   -6               IPv6 only
  #   -h               to print a usage message and exit
  #   -u <pdulen>      size of max pdu on listened socket (default 65536)
  #
  # Each <destination> is specified as <addr>[/<port>[/<interval>[,ttl]]]
  #   <addr>  IP address of the receiver
  #   <port>  port UDP number of the receiver (default 2000)
  #   <freq>  number of received datagrams between successive copied datagrams for this receiver.
  #   <ttl>   The TTL (IPv4) or hop-limit (IPv6) for outgoing datagrams.

  samplicator:
    image: elastiflow/samplicator:1.0.1_1.3.8rc1
    container_name: samplicator
    restart: unless-stopped
    network_mode: host
    command: -s 192.0.2.11 -p 2055 -S -d 0 127.0.0.1/2055 192.0.2.101/9995 192.0.2.201/2055

Tag summary

Content type

Image

Digest

Size

11 MB

Last updated

over 5 years ago

docker pull elastiflow/samplicator:1.0.1_1.3.8rc1