inetsim(1)

πŸ“¦
version 1.3.2 Β· 4 versions
, in ubuntu jammy, ubuntu noble

πŸ’– 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 is 10 πŸ”₯
  • --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 is 0 (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 with faketime-auto-incr. setting it to '0' disables this option. this overrides the 'faketime-auto-delay' option in the config file. default is 0 (disabled) 😴
  • --faketime-auto-incr <stepwidth> β€” 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 (aka not set to '0'). this overrides the 'faketime-auto-incr' option in the config file. default is 3600 πŸ•
  • --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 of 86400? 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