DOKK / manpages / debian 10 / inetsim / inetsim.1.en
inetsim(1) inetsim(1)

inetsim - INetSim is a suite for simulating common internet services

inetsim [--config <configuration file>] [--version] [--data-dir <data directory>] [--log-dir <log directory>] [--report-dir <report directory>] [--bind-address <ip address>] [--max-childs <maximum child processes>] [--user <user name>] [--faketime-init-delta <initial time delta>] [--faketime-auto-delay <delay time>] [--faketime-auto-incr <stepwidth>] [--session <session name>] [--pidfile <pid file>]

INetSim simulates common internet services like DNS, HTTP, SMTP or POP3.

The configuration file to use, default is conf/inetsim.conf in the current directory.
Output version information.
The data directory to use, default is data/ in the current directory.
The log directory to use, default is log/ in the current directory.
The report directory to use, default is report/ in the current directory.
The IP address to bind services to.
The maximum number of child processes (number of parallel connections) for each service. Default is 10.
User to run services. Default is 'nobody'.
Initial number of seconds (positive or negative) relative to current date/time for fake time used by all services. This overrides the option 'faketime-init-delta' in the configuration file. Default is 0 (use current date/time).
Number of seconds to wait before incrementing or decrementing fake time by amount of seconds specified with faketime-auto-incr. Setting to '0' disables this option. This overrides the option 'faketime-auto-delay' in the configuration file. Default is 0 (disabled).
Number of seconds by which fake time is incremented or decremented at regular intervals specified by faketime_auto_delay. This option only takes effect if faketime-auto-delay is enabled (not set to '0'). This overrides the option 'faketime-auto-incr' in the configuration file. Default is 3600.
Session name to use, default is the PID of the parent process.
The pid file to use, default is /var/run/inetsim.pid.

Start the simulation with session name 'simtest5'

        # inetsim --session simtest5

Start the simulation with a one-day-jump to the future after 60 seconds

        # inetsim --faketime-auto-delay 60 --faketime-auto-incr 86400

dito, but with jump to the past

        # inetsim --faketime-auto-delay 60 --faketime-auto-incr -86400

Perl 5, Getopt::Long, Net::Server, Net::DNS, IO::Handle, IO::Socket, IO::Select, IPC::Shareable, Digest::SHA, File::Copy, MIME::Base64, IPTables::IPv4::IPQueue (optional)

Matthias Eckert <me@inetsim.org>, Thomas Hungenberg <th@inetsim.org>

2017-10-22 perl v5.20.2