Samplicator – Send copies of (UDP) datagrams to multiple receivers, with optional sampling and spoofing

This small program receives UDP datagrams on a given port, and resends those datagrams to a specified set of receivers. In addition, a sampling divisor N may be specified individually for each receiver, which will then only receive one in N of the received packets.

INSTALLATION
This distribution uses GNU configure for portability and flexibility of installation. You must configure the program for your system before you can compile it using make:

$ ./configure$ make

The program can then be installed (under /usr/local/bin by default) using “make install”:

$ make install

The configure script accepts many arguments, some of which may even be useful. Using “./configure –prefix …” you can specify a directory other than /usr/local to be used as an installation destination. Call “./configure –help” to get a list of arguments accepted by configure.USAGE
The usage convention for the program is

$ samplicate […] […]

Where each can be one of

-d to set the debugging level-s

to set interface address on which to listen for incoming packets (default any)-p to set the UDP port on which to listen for incoming packets (default 2000)-b size of receive buffer (default 65536)-c specify a config file to read-x 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 write the process ID to a file-4 IPv4 only-6 IPv6 only-h to print a usage message and exit-u size of max pdu on listened socket (default 65536)

and each should be specified as [/[/[,ttl]]], where

IP address of the receiver port UDP number of the receiver (default 2000) number of received datagrams between successive copied datagrams for this receiver. The TTL (IPv4) or hop-limit (IPv6) for outgoing datagrams.

Config file format:

a.b.c.d[/e.f.g.h]: receiver …

where:

a.b.c.d is the sender’s IP addresse.f.g.h is a mask to apply to the sender (default 255.255.255.255)receiver see above.

Receivers specified on the command line will get all packets, those specified in the config-file will get only packets with a matching source.
Download Samplicator

http://ift.tt/2vtvgfP http://ift.tt/2aM8QhC

Anúncios

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s