KMSGSD(8)
β¨ kmsgsd β the girl who sorts your kernel mail π
okay so real talk, this is kmsgsd from section 8 of the System Manager's Manual, and she is literally the reason your port-scan detection even functions. no cap.
πΈ NAME πΈ
kmsgsd β separates iptables messages from all other kernel messages.
like she's the bouncer at the club door of your kernel log. firewall stuff goes one way, everything else goes the other way. π
π¦ SYNOPSIS π¦
kmsgsd
that's it bestie. no args, no drama, she just goes. π
π DESCRIPTION π
so here's the tea: kmsgsd reads messages from the /var/lib/psad/psadfifo named pipe, and then prints any firewall related log messages out to the psad data file "/var/log/psad/fwdata". that's the whole job and she does it flawlessly. π
and like β this part matters β psad cannot detect port scans or other suspect traffic without kmsgsd running on the machine. no kmsgsd, no detection. she's not optional, she's the moment. periodt. π
she uses the psad.conf configuration file, which by default lives at /etc/psad/psad.conf, but a different path can be specified on the command line if you're feeling spicy. πΆοΈ
β¨ OPTIONS β¨
-c<config-file>β specify the path to the config file instead of using the default configuration file/etc/psad/psad.conf. main character energy, picking your own config. π«Ά-Dβ dump the configuration values thatkmsgdderives from/etc/psad/psad.conf(or other override files) onSTDERR. it's giving "show me everything" and honestly? valid. π-hβ display usage information and exit. the classic "help me bestie" flag. π-O<config-file>β override config variable values that are normally read from the/etc/psad/psad.conffile with values from the specified file. and yes, multiple override config files can be given as a comma separated list. stack 'em, queen. π
π₯ SEE ALSO π₯
the friend group fr fr. go say hi. π
π AUTHOR π
Michael Rash (mbr@cipherdyne.org)
This manual page was written by Daniel Gubser <daniel.gubser@gutreu.ch> for the Debian GNU/Linux system (but may be used by others). shoutout to both of them, iconic behavior honestly. π
π§ DISTRIBUTION π§
psad is distributed under the GNU General Public License (GPL), and the latest version may be downloaded from http://www.cipherdyne.org
π reminder: if kmsgsd isn't running, psad is just sitting there with no clue what's happening. keep her alive bestie.
okay that's the whole page, and one last lil sign-off: this was the KMSGSD(8) page from the Debian GNU/Linux System Manager's Manual, dated November 2002. yeah, she's an elder but she still ate. π
β¨ bye!! π¦πΈ
π¦ where this page comes from
- alpine 3.24: psad-doc 2.4.6-r4 Β· GPL-2.0-or-later
- debian bookworm: psad 2.4.6-3 Β· GPL-2.0-or-later
- debian trixie: psad 2.4.6-3+b1 Β· GPL-2.0-or-later
- ubuntu jammy: psad 2.4.6-2 Β· GPL-2.0-or-later
- ubuntu noble: psad 2.4.6-3 Β· GPL-2.0-or-later
- ubuntu questing: psad 2.4.6-3
- ubuntu resolute: psad 2.4.6-3build1 Β· GPL-2.0-or-later
- ubuntu stonking: psad 2.4.6-3build1 Β· 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