Samplicator On Windows

From Observer GigaFlow Support | VIAVI Solutions Inc.
Revision as of 11:57, 23 November 2018 by Niall (Talk | contribs)

Jump to: navigation, search

Samplicator, compiled for windows server can be found here

It requires windows server 2008+ to run as it needs to spoof the source IP of the traffic.

Unzip the contents to the root of the c: drive

This should leave you with a folder c:\samplicator

Edit the samplicate.2055.conf file as required, the example entry

Will tell samplicator to listen on port 2055 (defined in the runsamplicator.bat file) and send all flows to port 3001, can can add multiple lines

When you make any changes to this file, you must restart the samplicator service.

To install as a service run the installSamplicator.bat file.

To remove service, run the removeSamplicator.bat file.

Samplicator settings are shown below

Usage: ./samplicate [option...] receiver...
Supported options:
 -p <port>                UDP port to accept flows on (default 2000)
 -s <address>             Interface address to accept flows on (default any)
 -d <level>               debug level
 -b <size>                set socket buffer size (default 65536)
 -n                       don't compute UDP checksum (leave at 0)
 -S                       maintain (spoof) source addresses
 -x <delay>               transmit delay in microseconds
 -c configfile            specify a config file to read
 -f                       fork program into background
 -h                       print this usage message and exit
---------------- Specifying receivers:
 A.B.C.D                  is the receiver's IP address
 port                     is the UDP port to send to (default 2000)
 freq                     is the sampling rate (default 1)
 ttl                      is the sending packets TTL value (default 64)
---------------Config file format:
 a.b.c.d[/e.f.g.h]: receiver ...
 a.b.c.d                  is the senders IP address
 e.f.g.h                  is a mask to apply to the sender (default
 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.