Nmap Development mailing list archives

IPv6 Hop Limit as feature in FPEngine


From: Alexandru Geana <alex () alegen net>
Date: Mon, 23 Feb 2015 10:00:44 +0100

Hello devs,

I am submitting two small patches which add the IPv6 Hop Limit field as
a feature for OS probing and detection. I hope this is the first in a
long line of future patches meant to improve the accuracy of OS
detection over IPv6.

One patch is for the nmap tree and the other is for
nmap-exp/luis/ipv6tests. The patch tries to guess the initial value of
the field (255, 128, 64 or 32) and considers each one a distinct class.
Additionally, in FPEngine.cc I switched from "external" declarations to
including a generated header file. The header file (FPModel.h) is
created same as FPModel.cc by the train.py script in Luis' folder. The
reason is consistency in the size of the FPMean and FPVariance matrices.

Please let me know what you think and if there are improvements which
have to be made.

Best regards,
Alexandru Geana
alegen.net

Attachment: nmap-repo.diff
Description:

Attachment: luis-repo.diff
Description:

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: