DOKK / manpages / debian 11 / inetsim / inetsim.conf.5.en
inetsim.conf(5) inetsim.conf(5)

inetsim.conf - Configuration file for INetSim

inetsim.conf is the configuration file for inetsim(1).

The format of inetsim.conf is simple: one option per line, with blank lines and lines starting with # ignored.

Start service SERVICE.
The IP address to bind services to.
User to run services.
Maximum number of child processes (number of parallel connections) for each service.
Timeout in seconds after which a connection is closed by the service.
[servicename]_bind_port PORT
PORT number to bind service to.
Create report with a summary of connections for the session on shutdown.
Set language for reports.
Include additional file in configuration. Allowed only in main configuration file.

Initial number of seconds (positive or negative) relative to current date/time for fake time used by all services. If set to '0', current date/time is used.
Number of seconds to wait before incrementing/decrementing fake time by amount of seconds specified with faketime_auto_increment. Setting to '0' disables this option.
Number of seconds by which fake time is incremented/decremented at regular intervals specified by faketime_auto_delay. This option only takes effect if faketime_auto_delay is enabled (not set to '0').

Default IP address to return in DNS replies.
Default hostname to return in DNS replies.
Default domainname to return in DNS replies.
Static mapping for DNS.
Version string to return.

Version string to return in HTTP(S) replies.
Size limit for POST requests in bytes.
Turn HTTP(S) fake mode on or off.
The fake files returned in fake mode based on the file extension in the HTTP(S) request.
The default fake file and MIME type returned in fake mode if the file extension in the HTTP(S) request does not match any of the extensions defined with http(s)_fakefile.
The fake files returned in fake mode based on the path in the HTTP(S) request.

The banner string used in SMTP greeting message.
The FQDN hostname used for SMTP.
Client has to send HELO/EHLO before any other command.
Turn support for 'Extended SMTP' (ESMTP) on or off.
SMTP service extensions offered to client.
Only offer authentication mechanisms which allow reversing the authentication information sent by a client to clear text username/password.
Force the client to authenticate.

The banner string used in POP3 greeting message.
The hostname used in POP3 greeting message.
Maximum number of e-mails to select from supplied mbox files for creation of random POP3 mailbox.
Re-read supplied mbox files if POP3 service was inactive for <NUMBER> seconds.
Rebuild random POP3 mailbox if POP3 service was inactive for <NUMBER> seconds.
Only offer authentication mechanisms which allow reversing the authentication information sent by a client to clear text username/password.
Turn APOP on or off.
Turn support for pop3 capabilities on or off.
POP3 capabilities offered to client.

The banner string used in FTP greeting message.
Version string to return in replies to the STAT command.
Allow recursive deletion of directories, even if they are not empty.
Size limit for uploaded files in bytes.

Allow overwriting of existing files.
Size limit for uploaded files in bytes.
Turn support for tftp options on or off.
TFTP options offered to client.

The IP address to return in NTP replies.
Turn strict checks for client packets on or off.

The FQDN hostname used for IRC.
Version string to return.

Banner string sent to client if no data has been received for dummy_banner_wait seconds since the client has established the connection. If set to an empty string (""), only CRLF will be sent. This option only takes effect if dummy_banner_wait is not set to '0'.
Number of seconds to wait for client sending any data after establishing a new connection. If no data has been received within this amount of time, dummy_banner will be sent to the client. Setting to '0' disables sending of a banner string.

Turn connection redirection on or off.
Redirect connection attempts to unbound ports to dummy service.
IP address used as source address if INetSim acts as a router for redirecting packets to external networks. This option only takes effect if static rules for redirecting packets to external networks are defined (see redirect_static_rule).
Static mappings for connection redirection.
Change the time-to-live header field to a random value in outgoing IP packets.
Connections to <service_bind_address> on this port are not redirected.
If set to 'yes', BOOTP (DHCP) broadcasts will not be redirected (UDP packets with source address 0.0.0.0, port 68 and destination address 255.255.255.255, port 67 or vice versa).
If set to 'yes', NetBIOS broadcasts will not be redirected (UDP packets with source/destination port 137/138 and destination address x.x.x.255 on the local network).
If set to 'ms', ICMP Timestamp requests will be answered with number of milliseconds since midnight UTC according to faketime. If set to 'sec', ICMP Timestamp requests will be answered with number of seconds since epoch (high order bit of the timestamp will be set to indicate non-standard value). Setting to 'no' disables manipulation of ICMP Timestamp requests.

[servicename]_ssl_keyfile FILENAME
Name of the SSL private key PEM file. The key MUST NOT be encrypted!
[servicename]_ssl_certfile FILENAME
Name of the SSL certificate file.
[servicename]_ssl_dhfile FILENAME
Name of the Diffie-Hellman parameter PEM file.

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

2021-02-02 perl v5.32.0