inetsim(1)
π inetsim β the manual page, but make it cute π
okay so bestie, you found inetsim(1) and I'm gonna walk you through it like we're texting at 2am. no cap, this is the whole thing, every flag, every default, every little detail. let's go π«Ά
β¨ NAME β¨
inetsim β INetSim is a suite for simulating common internet services ππ«
π SYNOPSIS π
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>]
π DESCRIPTION π
INetSim simulates common internet services like DNS, HTTP, SMTP or POP3. that's it, that's the whole vibe. it's giving fake internet, real chaos, and honestly? iconic π¦
π OPTIONS π
okay this is the part where we go one by one because I am not skipping a single flag, periodt.
--config<configuration file> β the config file you wanna use. default is/etc/inetsim/inetsim.confβ--versionβ outputs version info. short, sweet, slays π--data-dir<data directory> β the data directory to use. default is/var/lib/inetsim/π--log-dir<log directory> β the log directory to use. default is/var/log/inetsim/π--report-dir<report directory> β the report directory to use. default is/var/log/inetsim/report/π--bind-address<IP address> β the IP address to bind services to. that's the whole thing π«Ά--max-childs<maximum child processes> β the max number of child processes (that means number of parallel connections, iykyk) for each service. default is10π₯--user<username> β the user to run services as. default is'inetsim'π--faketime-init-delta<initial time delta> β initial number of seconds (positive or negative, both allowed bestie) relative to the current date/time, for the fake time used by all services. this overrides the'faketime-init-delta'option in the config file. default is0(meaning: just use the current date/time) β°β¨--faketime-auto-delay<delay time> β number of seconds to wait before incrementing or decrementing fake time by the amount of seconds specified withfaketime-auto-incr. setting it to'0'disables this option. this overrides the'faketime-auto-delay'option in the config file. default is0(disabled) π΄--faketime-auto-incr<stepwidth> β number of seconds by which fake time is incremented or decremented at regular intervals specified byfaketime_auto_delay. β οΈ this option only takes effect iffaketime-auto-delayis enabled (aka not set to'0'). this overrides the'faketime-auto-incr'option in the config file. default is3600π--session<session name> β the session name to use. default is the PID of the parent process π§--pidfile<pid file> β the pid file to use. default is/var/run/inetsim.pidπ
πΈ EXAMPLES πΈ
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
see that little-in front of86400? yeah. that's the whole difference. time travel but make it lowercase ππ°οΈ
π¦ REQUIRES π¦
Perl 5, Net::Server, Net::DNS, IO::Socket, IPC::Shareable, Digest::SHA, nfqueue (optional) π
π AUTHOR π
Matthias Eckert <me@inetsim.org>, Thomas Hungenberg <th@inetsim.org> β absolute legends, fr fr π«‘
okay that's the whole page bestie, you ate it up π
β¨ this was inetsim(1), from the perl v5.34.0 era, dated 2022-02-16 β and that's the cute little sign-off, mwah ππ
π¦ 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