Nmap Security Scanner
*Ref Guide
Security Lists
Security Tools
Site News
Advertising
About/Contact
Credits
Sponsors





Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
IP Protocol Number List: nmap-protocols
Prev Chapter 14. Understanding and Customizing Nmap Data Files Next

IP Protocol Number List: nmap-protocols

This file maps the 1-byte IP protocol number in the IP header into the corresponding protocol name. Example 14.6, “Excerpt from nmap-protocols” is a typical excerpt.

Example 14.6. Excerpt from nmap-protocols

hopopt           0     HOPOPT      # IPv6 Hop-by-Hop Option
icmp             1     ICMP        # Internet Control Message
igmp             2     IGMP        # Internet Group Management
ggp              3     GGP         # Gateway-to-Gateway
ip               4     IP          # IP in IP (encapsulation)
st               5     ST          # Stream
tcp              6     TCP         # Transmission Control
cbt              7     CBT         # CBT
egp              8     EGP         # Exterior Gateway Protocol
[ ... ]
chaos           16     CHAOS       # Chaos
udp             17     UDP         # User Datagram

The first two fields are the protocol name or abbreviation and the number in decimal format. Nmap doesn't care about anything after the protocol number. It is used for IP protocol scanning, as described at the section called “IP Protocol Scan (-sO)” Less than 140 protocols are defined and users almost never modify this file. The raw data is made available by the IANA at http://www.iana.org/assignments/protocol-numbers


Prev Up Next
MAC Address Vendor Prefixes: nmap-mac-prefixes Home Using Customized Data Files
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]