From af468b6e7f35db09af10ae4ec65cc7803180a4b4 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 20 Sep 2017 18:54:09 +0200 Subject: utils: Add a man page for nfnl_osf Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- utils/nfnl_osf.8.in | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 utils/nfnl_osf.8.in (limited to 'utils/nfnl_osf.8.in') diff --git a/utils/nfnl_osf.8.in b/utils/nfnl_osf.8.in new file mode 100644 index 00000000..140b5c3f --- /dev/null +++ b/utils/nfnl_osf.8.in @@ -0,0 +1,67 @@ +.TH NFNL_OSF 8 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@" + +.SH NAME +nfnl_osf \- OS fingerprint loader utility +.SH SYNOPSIS + +.ad l +.in +8 +.ti -8 +.B nfnl_osf +.BI -f " fingerprints" +[ +.B -d +] + +.SH DESCRIPTION +The +.B nfnl_osf +utility allows to load a set of operating system signatures into the kernel for +later matching against using iptables' +.B osf +match. + +.SH OPTIONS + +.TP +.BI -f " fingerprints" +Read signatures from file +.IR fingerprints . + +.TP +.B -d +Instead of adding the signatures from +.I fingerprints +into the kernel, remove them. + +.SH EXIT STATUS +Exit status is 0 if command succeeded, otherwise a negative return code +indicates the type of error which happened: + +.TP +.B -1 +Illegal arguments passed, fingerprints file not readable or failure in netlink +communication. + +.TP +.B -ENOENT +Fingerprints file not specified. + +.TP +.B -EINVAL +Netlink handle initialization failed or fingerprints file format invalid. + +.SH FILES + +An up to date set of operating system signatures can be downloaded from +http://www.openbsd.org/cgi-bin/cvsweb/src/etc/pf.os . + +.SH SEE ALSO + +The description of +.B osf +match in +.BR iptables-extensions (8) +contains further information about the topic as well as example +.B nfnl_osf +invocations. -- cgit v1.2.3