Blame extensions/libxt_osf.man

Packit 7b22a4
The osf module does passive operating system fingerprinting. This modules
Packit 7b22a4
compares some data (Window Size, MSS, options and their order, TTL, DF,
Packit 7b22a4
and others) from packets with the SYN bit set. 
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-genre\fP \fIstring\fP
Packit 7b22a4
Match an operating system genre by using a passive fingerprinting.
Packit 7b22a4
.TP
Packit 7b22a4
\fB\-\-ttl\fP \fIlevel\fP
Packit 7b22a4
Do additional TTL checks on the packet to determine the operating system.
Packit 7b22a4
\fIlevel\fP can be one of the following values:
Packit 7b22a4
.IP \(bu 4
Packit 7b22a4
0 - True IP address and fingerprint TTL comparison. This generally works for
Packit 7b22a4
LANs.
Packit 7b22a4
.IP \(bu 4
Packit 7b22a4
1 - Check if the IP header's TTL is less than the fingerprint one. Works for
Packit 7b22a4
globally-routable addresses.
Packit 7b22a4
.IP \(bu 4
Packit 7b22a4
2 - Do not compare the TTL at all.
Packit 7b22a4
.TP
Packit 7b22a4
\fB\-\-log\fP \fIlevel\fP
Packit 7b22a4
Log determined genres into dmesg even if they do not match the desired one.
Packit 7b22a4
\fIlevel\fP can be one of the following values:
Packit 7b22a4
.IP \(bu 4
Packit 7b22a4
0 - Log all matched or unknown signatures
Packit 7b22a4
.IP \(bu 4
Packit 7b22a4
1 - Log only the first one
Packit 7b22a4
.IP \(bu 4
Packit 7b22a4
2 - Log all known matched signatures
Packit 7b22a4
.PP
Packit 7b22a4
You may find something like this in syslog:
Packit 7b22a4
.PP
Packit 7b22a4
Windows [2000:SP3:Windows XP Pro SP1, 2000 SP3]: 11.22.33.55:4024 ->
Packit 7b22a4
11.22.33.44:139 hops=3 Linux [2.5-2.6:] : 1.2.3.4:42624 -> 1.2.3.5:22 hops=4
Packit 7b22a4
.PP
Packit 7b22a4
OS fingerprints are loadable using the \fBnfnl_osf\fP program. To load
Packit 7b22a4
fingerprints from a file, use:
Packit 7b22a4
.PP
Packit 7b22a4
\fBnfnl_osf -f /usr/share/xtables/pf.os\fP
Packit 7b22a4
.PP
Packit 7b22a4
To remove them again,
Packit 7b22a4
.PP
Packit 7b22a4
\fBnfnl_osf -f /usr/share/xtables/pf.os -d\fP
Packit 7b22a4
.PP
Packit 7b22a4
The fingerprint database can be downloaded from
Packit 7b22a4
http://www.openbsd.org/cgi-bin/cvsweb/src/etc/pf.os .