Nmap Development mailing list archives

ICMPV6_PARAMPROBLEM_PTR feature for IPv6 OS detection


From: David Fifield <david () bamsoftware com>
Date: Fri, 12 Jun 2015 18:17:17 -0700

Here's a patch that adds support for the ICMPV6_PARAMPROBLEM_PTR feature
(only in the Python-based training programs, not yet in FPEngine.cc).

The Parameter Problem pointer is supposed to point to the byte offset in
the original packet where the host thinks there is a problem. You can
see in the table below that it varies, expecially for the IE2 probe.
"--" is UNKNOWN and ".." is MISSING.

IE1  IE2   NI   NS
 ..   56   --   --  Linux 2.6.38 - 3.2
 ..   --   --   ..  Linux 2.6.38 - 3.2
 ..   --   --   ..  Linux 2.6.38 - 3.2
 ..   --   --   ..  Linux 2.6.38 - 3.2
 ..   --   --   --  Linux 2.6.38 - 3.2
 ..   56   --   --  Linux 2.6.38 - 3.2
 --   --   --   --  Linux 2.6.38 - 3.2
 ..   56   --   ..  Linux 2.6.38 - 3.2
 ..   56   --   ..  Linux 2.6.38 - 3.2
 ..   56   --   ..  Linux 2.6.38 - 3.2
 ..   56   --   ..  Linux 2.6.38 - 3.2
 ..   56   --   ..  Linux 2.6.38 - 2.6.39
 --   --   --   --  Linux 2.6.38 - 2.6.39
 ..   56   --   ..  Linux 2.6.38 - 2.6.39
 ..   56   --   ..  Linux 2.6.38 - 2.6.39
 ..   56   --   --  Linux 2.6.38 - 2.6.39
 ..   --   --   --  Linux 2.6.38 - 2.6.39
 --   --   --   --  Linux 2.6.32 - 2.6.39
 --   --   --   --  Linux 2.6.32 - 2.6.39
 --   --   --   --  Linux 2.6.32 - 2.6.39
 ..   56   --   --  Linux 2.6.32 - 2.6.39
 ..   --   --   ..  Linux 2.6.32 - 2.6.39
 ..   --   --   --  Linux 2.6.32 - 2.6.39
 --   --   --   --  Linux 2.6.32 - 2.6.39
 ..   56   --   ..  Linux 2.6.32 - 2.6.39
 ..   --   --   --  HP ProCurve 2520G switch
 ..   48   ..   --  FreeBSD 8.1-RELEASE
 ..   56   --   --  OpenIndiana oi_148
 --   --   --   --  Microsoft Windows 7 Professional SP1
 --   --   --   --  Microsoft Windows 7 Professional SP1
 --   --   --   --  Microsoft Windows 7 Professional SP1
 --   --   --   --  Microsoft Windows 7 Professional SP1
 ..   48   --   --  Linux 2.6.11 - 2.6.15
 ..   --   --   --  Linux 2.6.11 - 2.6.15
 ..   --   --   --  Linux 2.6.11 - 2.6.15
 ..   56   --   --  Linux 2.6.11 - 2.6.15
 --   --   --   ..  VMware ESXi 5
 ..    0   ..   ..  OpenBSD 4.8
 ..   --   --   ..  Netgear DGN3300v2 ADSL router
 --   56   ..   ..  Apple Mac OS X 10.4.11 (Tiger) (Darwin 8.11.1)
 ..   56   --   --  Linux 2.4.21
 --   56   --   ..  Apple Mac OS X 10.6.8 or iOS 4.3.3
 --   56   ..   ..  Apple Mac OS X 10.6.8 or iOS 4.3.3
 ..   56   --   ..  Equinox CCM4850 remote management appliance or Nokia 5530 XpressMusic phone
 ..   56   --   ..  Equinox CCM4850 remote management appliance or Nokia 5530 XpressMusic phone
 --   56   ..   ..  HP LaserJet P2055dn printer
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 --   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 --   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 --   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   --   --   ..  Microsoft Windows Vista SP2 or Windows 7 SP1 or Windows Server 2008 R2 SP1 or Windows 8 Consumer 
Preview
 ..   56   --   ..  Brother MFC-9440CN printer
 --   --   --   ..  Microsoft Windows 7 SP0 - SP1
 --   --   --   ..  Microsoft Windows 7 SP0 - SP1
 --   --   --   ..  Microsoft Windows 7 SP0 - SP1
 ..   56   --   ..  Cisco 2600 router
 ..   56   --   ..  Cisco 3750G switch
 ..   56   --   ..  Cisco 3650G switch (IOS 15.0)
 --   --   --   ..  pfSense firewall (FreeBSD 8.1-RELEASE)
 --   --   --   ..  m0n0wall 1.8 firewall (FreeBSD 8.2)
 ..   48   ..   ..  Apple iPhone mobile phone (iOS 4.2.1)
 ..   48   ..   --  OpenBSD 3.8
 ..   56   --   ..  HP LaserJet P1606dn printer
 ..   48   --   ..  HP LaserJet M1212nf
 ..   48   --   --  NetBSD 5.0
 ..   48   ..   --  FreeBSD 6.1-RELEASE
 --   --   --   --  Apple Mac OS X 10.6.8 (Snow Leopard) (Darwin 10.8.0)
 --   --   --   --  Apple Mac OS X 10.6.8 (Snow Leopard) (Darwin 10.8.0)
 --   --   --   --  Apple Mac OS X 10.6.8 (Snow Leopard) (Darwin 10.8.0)
 --   --   ..   ..  Apple Mac OS X 10.6.8 (Snow Leopard) (Darwin 10.8.0)
 ..   56   --   ..  Linux 2.6.23 - 2.6.33 (embedded)
 ..   48   --   ..  Linux 2.6.23 - 2.6.33 (embedded)
 ..   56   --   ..  Thecus N4100PRO NAS device (Linux 2.6.33)
 ..   56   --   ..  Oracle Solaris 10 or Sun OpenSolaris svn_111b
 ..   48   --   --  Oracle Solaris 10 or Sun OpenSolaris svn_111b
 ..   64   --   ..  Oracle Solaris 11 or OpenIndiana
 --   --   --   ..  Oracle Solaris 11 or OpenIndiana
 --   --   --   ..  Oracle Solaris 11 or OpenIndiana
 ..   40    6   ..  Microsoft Windows 7 SP0 - SP1
 ..   40    6   ..  Microsoft Windows 7 SP0 - SP1
 ..    0   ..   --  OpenBSD 4.4
 ..   48   --   ..  Cisco 1841 or 2509 router (IOS 12.3 - 15.1)
 ..   48   --   ..  Cisco 1841 or 2509 router (IOS 12.3 - 15.1)
 --   56   ..   --  Apple Mac OS X 10.6.8 - 10.7.3 (Snow Leopard - Lion) (Darwin 10.8.0 - 11.3.0)
 --   56   ..   --  Apple Mac OS X 10.6.8 - 10.7.3 (Snow Leopard - Lion) (Darwin 10.8.0 - 11.3.0)
 --   56   ..   --  Apple Mac OS X 10.6.8 - 10.7.3 (Snow Leopard - Lion) (Darwin 10.8.0 - 11.3.0)
 --   56   --   --  Apple Mac OS X 10.6.8 - 10.7.3 (Snow Leopard - Lion) (Darwin 10.8.0 - 11.3.0)
 --   56   ..   ..  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   56   ..   ..  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   --   --   --  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   --   --   --  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   56   --   --  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   56   ..   ..  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   56   ..   ..  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   56   ..   --  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   56   ..   ..  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 --   56   --   ..  Apple Mac OS X 10.6.8 - 10.9.5 (Snow Leopard - Mavericks) or iOS 4.3.3 - 6.1.3 (Darwin 10.8.0 - 
13.4.0)
 ..   56   --   ..  HP OfficeJet 8500 printer
 ..   56   --   ..  HP LaserJet CP1525nw or CP2025dn printer
 ..   56   --   ..  HP LaserJet CP1525nw or CP2025dn printer
 ..   56   --   ..  HP LaserJet CP1525nw or CP2025dn printer
 ..   56   --   ..  HP LaserJet CP1525nw or CP2025dn printer
 ..   56   --   ..  AVM FRITZ!Box 7390 WAP or Cisco SA520 Security Appliance
 ..   56   --   ..  AVM FRITZ!Box 7390 WAP or Cisco SA520 Security Appliance
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   --   --   ..  Linux 2.6.18 - 2.6.34
 ..   56   --   --  Linux 2.6.18 - 2.6.34
 ..   56   --   --  Linux 2.6.18 - 2.6.34
 ..   56   --   ..  Linux 2.6.18 - 2.6.34
 ..   --   --   --  Linux 2.6.23 - 2.6.32
 ..   56   --   ..  Linux 2.6.23 - 2.6.32
 ..   56   --   ..  Linux 2.6.23 - 2.6.32
 ..   56   --   --  Linux 2.6.23 - 2.6.32
 ..   56   --   ..  Linux 2.6.23 - 2.6.32
 ..   56   --   ..  Microsoft Windows XP SP3 or Windows Server 2003 SP1
 ..   56   --   ..  Microsoft Windows XP SP3 or Windows Server 2003 SP1
 ..   56   --   ..  Microsoft Windows XP SP3 or Windows Server 2003 SP1
 ..   56   --   --  Microsoft Windows XP SP3 or Windows Server 2003 SP1
 ..   --   --   ..  Microsoft Windows 7 SP1
 ..   --   --   ..  Microsoft Windows 7 SP1
 --   56   --   ..  FreeBSD 7.4 - 8.2
 --   56   --   ..  FreeBSD 7.4 - 8.2
 --   56   --   ..  FreeBSD 7.4 - 8.2
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 --   --   --   --  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   --   --   --  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   --  Linux 2.6.32 - 2.6.37
 ..   56   --   ..  Linux 2.6.32 - 2.6.37
 ..   56   --   --  Linux 2.6.32 - 2.6.37
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   --  Linux 2.6.16 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   --  Linux 2.6.32 - 3.2
 ..   --   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   --  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   --   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 2.6.32 - 3.2
 ..   56   --   --  Linux 2.6.32 - 3.2
 ..   48   --   ..  IBM AIX 7.1
 ..   48   --   ..  IBM AIX 7.1
 ..   48   --   ..  IBM AIX 6.1
 ..   48   --   ..  IBM AIX 6.1
 ..   48   --   ..  IBM AIX 6.1
 ..   48   --   ..  IBM AIX 6.1 - 7.1
 ..   48   --   ..  IBM AIX 6.1 - 7.1
 ..   48   --   ..  IBM AIX 6.1 - 7.1
 ..   48   --   ..  IBM AIX 6.1 - 7.1
 --   --   --   --  IBM AIX 6.1 - 7.1
 --   --   --   --  IBM AIX 6.1 - 7.1
 ..   40    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   40    6   --  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   40    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   40    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   40    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   40    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   40    6   --  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   --    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   40    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   --    6   ..  Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1
 ..   56   --   --  Linux 2.6.32 - 3.2
 ..   56   --   --  Linux 2.6.32 - 3.2
 ..   56   --   --  Linux 2.6.32 - 3.2
 ..   56   --   ..  Linux 3.2 - 3.8
 ..   56   --   ..  Linux 3.2 - 3.8
 --   --   --   ..  Linux 3.2 - 3.8
 ..   56   --   ..  Linux 3.2 - 3.8
 --   --   --   ..  Linux 3.2 - 3.8
 --   --   --   ..  Linux 3.2 - 3.8
 --   --   --   ..  Linux 3.2 - 3.8
 --   --   --   --  Linux 3.7 - 3.16
 --   --   --   --  Linux 3.7 - 3.16
 --   --   --   --  Linux 3.7 - 3.16
 --   --   --   ..  Linux 3.7 - 3.16
 ..   56   --   --  Linux 3.7 - 3.16
 ..   56   --   ..  Linux 3.7 - 3.16
 --   --   --   --  Linux 3.7 - 3.9
 --   --   --   --  Linux 3.7 - 3.9
 --   --   --   --  Linux 3.7 - 3.9
 --   --   --   --  Linux 3.7 - 3.9
 ..   --   --   --  Cisco 1803 router (IOS 12)
 --   --   --   --  Linux 2.6.39 - 3.5
 --   --   --   --  Linux 2.6.39 - 3.5
 --   --   --   --  Linux 2.6.39 - 3.5
 ..   --   --   ..  Linux 2.6.39 - 3.5
 ..   --   --   --  Linux 2.6.39 - 3.5
 ..   56   --   --  Linux 2.6.39
 --   --   ..   --  OpenWrt (Linux 3.3 - 3.10)
 ..   --   --   --  OpenWrt (Linux 3.3 - 3.10)
 ..   56   --   ..  OpenWrt (Linux 3.3 - 3.10)
 ..   56   --   ..  OpenWrt (Linux 3.3 - 3.10)
 --   --   --   --  Citrix NetScaler load balancer (NS9.3)
 --   --   --   --  Citrix NetScaler load balancer (NS9.2)
 ..   --   --   --  Linux 2.6.18
 ..   --   --   --  Linux 2.6.18
 ..   --   --   --  Linux 2.6.18
 --   56   --   ..  Apple AirPort Extreme WAP
 --   --   --   --  F5 BIG-IP load balancer
 --   --   --   --  FreeBSD 8.2-RELEASE
 --   --   --   ..  FreeBSD 8.2-RELEASE
 ..   --    6   ..  Microsoft Windows Vista SP2
 ..   --   --   ..  Microsoft Windows Vista SP2
 ..   40    6   ..  Microsoft Windows Server 2008 R2
 ..   40    6   ..  Microsoft Windows Server 2008 R2
 --   56   --   --  FreeBSD 9.0 - 10.0
 --   56   --   --  FreeBSD 9.0 - 10.0
 --   56   --   ..  FreeBSD 9.0 - 10.0
 --   --   --   --  FreeBSD 9.0 - 10.0
 --   56   --   --  FreeBSD 9.0 - 10.0
 --   --   --   --  FreeBSD 9.0 - 10.0
 --   --   --   --  Juniper MX960 Universal Edge Router (J--OS)
 ..   --   --   --  NetComm NP805N wireless ADSL router
 --   --   ..   ..  OpenBSD 5.3
 --   --   ..   --  FreeBSD 9.1
 --   56   --   ..  BlackBerry 10
 --   --   --   --  Microsoft Windows Server 2012 R2
 ..   48   --   --  IBM AIX 7.1
 ..   56   --   --  HP HP-UX B.11.23
 --   --   --   --  Cisco IOS XR
 ..   64   --   --  Joyent SmartOS
 ..   56   --   ..  Linux 3.12 - 3.18
 --   --   --   --  Linux 3.12 - 3.18
 --   --   --   --  Linux 3.12 - 3.18
 --   56   ..   ..  Apple Mac OS X 10.10 (Yosemite) (Darwin 14.0.0)
 ..   56   --   ..  Dell SonicWALL firewall (SonicOS 5.9)
 ..   --   --   --  Linux 3.13 - 3.19
 --   --   --   --  Linux 3.13 - 3.19
 ..   56   --   ..  Linux 3.13 - 3.19
 ..   56   --   ..  Linux 3.13 - 3.19
 ..   56   --   ..  Linux 3.13 - 3.19

Attachment: 0001-Add-ICMPV6_PARAMPROBLEM_PTR-feature.patch
Description:

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

Current thread: