NFNL_OSF(8)

๐Ÿ“ฆ
version 1.8.11 ยท 6 versions
, in centos-stream 10, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

๐ŸŒธ NFNL_OSF(8) ๐ŸŒธ

okay so bestie, this is the manual page for nfnl_osf, the OS fingerprint loader utility ๐Ÿ’…โœจ


โœจ NAME โœจ

nfnl_osf โ€” OS fingerprint loader utility ๐Ÿงš

๐Ÿ’– SYNOPSIS ๐Ÿ’–

nfnl_osf -f fingerprints [ -d ]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so the nfnl_osf utility lets you load a whole set of operating system signatures into the kernel ๐Ÿ”ฅ once they're in there, you can match against them later with iptables' osf match. it's giving organized, no cap ๐Ÿ˜ญ

๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -f fingerprints โ€” read the signatures from the file fingerprints ๐Ÿ“„
  • -d โ€” instead of adding the signatures from fingerprints into the kernel, this one removes them ๐Ÿ™ˆ

๐Ÿ’€ EXIT STATUS ๐Ÿ’€

so the exit status is 0 if the command succeeded โœจ if it didn't, you get a negative return code telling you what kind of oopsie happened:

  • -1 โ€” illegal arguments were passed, the fingerprints file isn't readable, or the netlink communication failed ๐Ÿ˜ญ
  • -ENOENT โ€” the fingerprints file wasn't specified ๐Ÿซ 
  • -EINVAL โ€” the netlink handle couldn't be initialized, or the fingerprints file format is invalid ๐Ÿ’…

๐ŸŒˆ FILES ๐ŸŒˆ

you can grab an up to date set of operating system signatures from http://www.openbsd.org/cgi-bin/cvsweb/src/etc/pf.os ๐Ÿ“ (it's a download link, not a file on your machine, so don't go hunting for it locally, periodt)

๐Ÿงš SEE ALSO ๐Ÿงš

the description of the osf match in iptables-extensions(8) has more info on the whole topic, plus example nfnl_osf invocations. go check it out, it's iconic ๐Ÿ‘‘


iykyk, this page is from iptables 1.8.11 โœจ thanks for reading, bestie, you're literally the best ๐Ÿซถ๐Ÿ’œ

๐Ÿ“ฆ where this page comes from