DOKK / manpages / debian 12 / 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 /etc/inetsim/inetsim.conf.
Output version information.
The data directory to use, default is /var/lib/inetsim/.
The log directory to use, default is /var/log/inetsim/.
The report directory to use, default is /var/log/inetsim/report/.
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 'inetsim'.
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, Net::Server, Net::DNS, IO::Socket, IPC::Shareable, Digest::SHA, nfqueue (optional)

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

2021-02-02 perl v5.32.0