inetsim.conf(5)
π inetsim.conf(5) β the manual page, bestie edition π
okay so you opened inetsim.conf(5), the config file page for inetsim(1). welcome, you're gonna slay this π«Ά
β¨ NAME β¨
inetsim.conf β bestie, it's literally just the configuration file for INetSim. that's the whole vibe. π
πΈ DESCRIPTION πΈ
So inetsim.conf is the config file for inetsim(1). that's it, that's the girl.
the format?? iconic, actually, because it's so simple: one option per line. blank lines? ignored. lines starting with #? also ignored. that's the entire ruleset, no cap. π
π GLOBAL OPTIONS π
These ones set the whole mood for every service, periodt.
start_service SERVICEβ start the serviceSERVICE. go girl, activate her.service_bind_address ADDRESSβ the IP address to bind services to. where the services live, fr fr.service_run_as_user USERβ the user to run services as. give her an identity πservice_max_childs NUMBERβ max number of child processes β aka the number of parallel connections β for each service. so how many besties can be in the group chat at once.service_timeout SECONDSβ timeout in seconds, after which the service just closes the connection. bye bestie, time's up π[servicename]_bind_port PORTβ thePORTnumber to bind the service to. where she parks herself.create_reports [YES|NO]β on shutdown, create a report with a summary of connections for the session. receipts! πreport_language LANGUAGEβ set the language for reports.include FILENAMEβ include an additional file in the configuration. β οΈ heads up bestie: this is allowed only in the main configuration file. no nesting shenanigans.
π¦ FAKETIME OPTIONS π¦
playing pretend with the clock, lowkey her best bit.
faketime_init_delta SECONDSβ initial number of seconds β positive or negative β relative to the current date/time, for the fake time used by all services. if you set it to0, the current date/time is used. so0means no pretending, we're being real for once.faketime_auto_delay SECONDSβ how many seconds to wait before incrementing/decrementing fake time by the amount you set infaketime_auto_increment. setting it to0disables this option.faketime_auto_increment SECONDSβ number of seconds by which fake time gets incremented/decremented at regular intervals set byfaketime_auto_delay. β οΈ this one only takes effect iffaketime_auto_delayis enabled β meaning not set to0. they're a package deal, iykyk.
π ADDITIONAL DNS OPTIONS π
dns_default_ip IP-ADDRESSβ default IP address to return in DNS replies.dns_default_hostname HOSTNAMEβ default hostname to return in DNS replies.dns_default_domainname DOMAINNAMEβ default domainname to return in DNS replies.dns_static FQDN_HOSTNAME IP-ADDRESSβ static mapping for DNS. locked in πdns_version STRINGβ version string to return.
β¨ ADDITIONAL HTTP(S) OPTIONS β¨
http(s)_versionβ version string to return in HTTP(S) replies.http(s)_post_limit NUMBERβ size limit for POST requests, in bytes.http(s)_fakemode [YES|NO]β turn HTTP(S) fake mode on or off.http(s)_fakefile EXTENSION FILENAME MIMETYPEβ the fake files returned in fake mode, based on the file extension in the HTTP(S) request.http(s)_default_fakefile FILENAME MIMETYPEβ the default fake file and MIME type returned in fake mode, used when the file extension in the HTTP(S) request doesn't match any of the extensions you defined withhttp(s)_fakefile. the fallback queen πhttp(s)_static_fakefile PATH FILENAME MIMETYPEβ the fake files returned in fake mode, based on the path in the HTTP(S) request.
π ADDITIONAL SMTP(S) OPTIONS π
smtp(s)_banner STRINGβ the banner string used in the SMTP greeting message.smtp(s)_fqdn_hostname FQDN_HOSTβ the FQDN hostname used for SMTP.smtp(s)_helo_required [YES|NO]β client has to sendHELO/EHLObefore any other command. no skipping the intro, bestie.smtp(s)_extended_smtpβ turn support for 'Extended SMTP' (ESMTP) on or off.smtp(s)_service_extension EXTENSION [PARAMETER(S)]β SMTP service extensions offered to the client.smtp(s)_auth_reversibleonly [YES|NO]β only offer authentication mechanisms which allow reversing the authentication information sent by a client to clear text username/password.smtp(s)_auth_required [YES|NO]β force the client to authenticate. no auth, no entry πͺ
π ADDITIONAL POP3(S) OPTIONS π
pop3(s)_banner STRINGβ the banner string used in the POP3 greeting message.pop3(s)_hostname HOSTβ the hostname used in the POP3 greeting message.pop3(s)_mbox_maxmails NUMBERβ maximum number of e-mails to select from the supplied mbox files, for creation of a random POP3 mailbox.pop3(s)_mbox_reread NUMBERβ re-read supplied mbox files if the POP3 service was inactive for<NUMBER>seconds.pop3(s)_mbox_rebuild NUMBERβ rebuild the random POP3 mailbox if the POP3 service was inactive for<NUMBER>seconds.pop3(s)_auth_reversibleonly [YES|NO]β only offer authentication mechanisms which allow reversing the authentication information sent by a client to clear text username/password.pop3(s)_enable_apop [YES|NO]β turn APOP on or off.pop3(s)_enable_capabilities [YES|NO]β turn support for pop3 capabilities on or off.pop3(s)_capability CAPABILITY [PARAMETER(S)]β POP3 capabilities offered to the client.
π ADDITIONAL FTP(S) OPTIONS π
ftp(s)_banner STRINGβ the banner string used in the FTP greeting message.ftp(s)_version STRINGβ version string to return in replies to theSTATcommand.ftp(s)_recursive_delete [YES|NO]β allow recursive deletion of directories, even if they are not empty. β οΈ yes bestie, even the full ones. be careful with this one fr.ftp(s)_max_filesize NUMBERβ size limit for uploaded files, in bytes.
π§ ADDITIONAL TFTP OPTIONS π§
tftp_allow_overwrite [YES|NO]β allow overwriting of existing files.tftp_max_filesize NUMBERβ size limit for uploaded files, in bytes.tftp_enable_options [YES|NO]β turn support for tftp options on or off.tftp_option OPTION PARAMETER(S)β TFTP options offered to the client.
β ADDITIONAL NTP OPTIONS β
ntp_server_ip IP-ADDRESSβ the IP address to return in NTP replies.ntp_strict_checks [YES|NO]β turn strict checks for client packets on or off.
π ADDITIONAL IRC OPTIONS π
irc_fqdn_hostname FQDN_HOSTβ the FQDN hostname used for IRC.irc_version STRINGβ version string to return.
π ADDITIONAL DUMMY OPTIONS π
the dummy service is giving silent treatment until it's not.
dummy_banner STRINGβ banner string sent to the client if no data has been received fordummy_banner_waitseconds since the client established the connection. if set to an empty string (""), only CRLF will be sent. β οΈ this option only takes effect ifdummy_banner_waitis not set to0.dummy_banner_wait NUMBERβ number of seconds to wait for the client to send any data after establishing a new connection. if no data has been received within that time,dummy_bannergets sent to the client. setting it to0disables sending of a banner string.
π₯ REDIRECT OPTIONS π₯
redirect_enabled [YES|NO]β turn connection redirection on or off.redirect_unknown_services [YES|NO]β redirect connection attempts to unbound ports to the dummy service.redirect_external_address IP-ADDRESSβ 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 β seeredirect_static_rule.redirect_static_rule PROTOCOL IP-ADDRESS:PORT IP-ADDRESS:PORTβ static mappings for connection redirection.redirect_change_ttl [YES|NO]β change the time-to-live header field to a random value in outgoing IP packets.redirect_exclude_port PROTOCOL:PORTβ connections to<service_bind_address>on this port are not redirected. she's exempt πredirect_ignore_bootp [YES|NO]β if set to'yes', BOOTP (DHCP) broadcasts will not be redirected (UDP packets with source address0.0.0.0, port68and destination address255.255.255.255, port67or vice versa).redirect_ignore_netbios [YES|NO]β if set to'yes', NetBIOS broadcasts will not be redirected (UDP packets with source/destination port137/138and destination addressx.x.x.255on the local network).redirect_icmp_timestamp [MS|SEC|NO]β if set to'ms', ICMP Timestamp requests will be answered with the number of milliseconds since midnight UTC according to faketime. if set to'sec', ICMP Timestamp requests will be answered with the number of seconds since epoch β the high order bit of the timestamp will be set to indicate a non-standard value. setting it to'no'disables manipulation of ICMP Timestamp requests.
π¦ SSL OPTIONS π¦
[servicename]_ssl_keyfile FILENAMEβ name of the SSL private key PEM file. π¨ THE KEY MUST NOT BE ENCRYPTED! like, literally must not. no cap.[servicename]_ssl_certfile FILENAMEβ name of the SSL certificate file.[servicename]_ssl_dhfile FILENAMEβ name of the Diffie-Hellman parameter PEM file.
π SEE ALSO π
π AUTHOR π
Matthias Eckert <me@inetsim.org>, Thomas Hungenberg <th@inetsim.org> β legends, honestly π«Ά
and that's the whole page, bestie!! this one was rendered by perl v5.34.0 and dated 2022-02-16 β so go forth, edit your inetsim.conf, and remember: one option per line, # for comments, and you ate π
β¨
π¦ where this page comes from
- ubuntu jammy: inetsim 1.3.2+dfsg.1-1build1 Β· GPL-2.0-or-later
- ubuntu noble: inetsim 1.3.2+dfsg.1-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms