# icmp - Network services, ICMP
#
# Created by Kurt Seifried, kurt@seifried.org
#
# September 25, 2001 - 53 entries
#
# I am looking for work. Contact me if you need security writing or consulting
# done. 
#
# An up to date version of this file is available at:
#
# http://www.seifried.org/security/ports/
#
# I am now working on html pages for each protocol,
# stay tuned in.
#
# This list assembled from various RFC's, and numerous
# hours of web searching among various sources.
#
# If you find errors, or ports I do not list please
# email me at kurt@seifried.org.
#
# Each line describes one service, and is of the form:
# icmp code, icmp code name, type code, type name, type description
#
#
0	echo		0	echo-reply		RFC 792 - for echo reply message
3	unreachable	0	net-unreachable		RFC 792 - net unreachable
3	unreachable	1	host-unreachable	RFC 792 - host unreachable
3	unreachable	2	protocol-unreachable	RFC 792 - protocol unreachable
3	unreachable	3	port-unreachable	RFC 792 - port unreachable
3	unreachable	4	fragmentation-df-set	RFC 792 - fragmentation needed and DF set
3	unreachable	5	source-route-failed	RFC 792 - source route failed
3	unreachable	6	dest-network-unknown	RFC 792 - Destination Network Unknown
3	unreachable	7	dest-port-unknown	RFC 792 - Destination Host Unknown
3	unreachable	8	source-host-isolated	RFC 792 - Source Host Isolated
3	unreachable	9	network-admin	RFC 792 - Communication with Destination Network is Administratively Prohibited 
3	unreachable	10	host-admin	RFC 792 - Communication with Destination Host is Administratively Prohibited
3	unreachable	11	network-service	RFC 792 - Destination Network Unreachable for Type of Service
3	unreachable	12	host-service	RFC 792 - Destination Host Unreachable for Type of Service
3	unreachable	13	com-admin-prohibited	RFC 1812 - Communication Administratively Prohibited - generated if a router cannot forward a packet due to administrative filtering
3	unreachable	14	host-precedence-violation	RFC 1812 - Host Precedence Violation.  Sent by the first hop router to a host to indicate that a requested precedence is not permitted for the particular combination of source/destination host or network, upper layer protocol, and source/destination port
3	unreachable	15	precedence-cuttof-in-effect	RFC 1812 - Precedence cutoff in effect.  The network operators have imposed a minimum level of precedence required for operation, the datagram was sent with a precedence below this level
4	quench	0	source-quench	RFC 792 - source quench (slow down!)
5	redirect	0	redirect-network	RFC 792 - Redirect datagrams for the Network (or subnet)
5	redirect	1	redirect-host		RFC 792 - Redirect datagrams for the Host
5	redirect	2	redirect-service-network	RFC 792 - Redirect datagrams for the Type of Service and Network
5	redirect	3	redirect-service-host	RFC 792 - Redirect datagrams for the Type of Service and Host
6	alternate	0	alternate-host-address	JBP - Alternate address for host
8	echo		0	echo-request		RFC 792 - for echo message
9	router		0	router-advertisement	RFC 1256 - Router advertisement
10	router		0	router-selection	RFC 1256  - Router selection
11	exceeded	0	ttl-exceeded		RFC 792 - time to live exceeded in transit
11	exceeded	1	fragment-reassembly-exceeded	RFC 792 - fragment reassembly time exceeded
12	error		0	pointer-error		RFC 792 - pointer indicates the error
12	error		1	missing-option		RFC 792 - Missing a Required Option
12	error		2	bad-length		RFC 792 - Bad Length
13	timestamp	0	timestamp-request	RFC 792 - for timestamp message
14	timestamp	0	timestamp-reply		RFC 792 - for timestamp reply message
15	information	0	info-request		RFC 792 - for information request message
16	information	0	info-reply		RFC 792 - for information reply message
17	mask		0	mask-request		RFC 950 - Address Mask Request
18	mask		0	mask-reply		RFC 950 - Address Mask Reply
30	traceroute	0	traceroute-forwarded	RFC 1393 - Traceroute - Outbound Packet successfully forwarded
30	traceroute	1	packet-discarded	RFC 1393 - traceroute - No route for Outbound Packet; packet discarded
31	datagram	0	datagram-conversion-error	RFC 1475 - Datagram Conversion Error
32	mobile		0	mobile-host-redirect	David Johnson - Mobile Host Redirect
33	ipv6-request	0	ipv6-where-are-you	Bill Simpson -IPv6 Where-Are-You
34	ipv6-reply	0	ipv6-here-I-am	Bill Simpson - IPv6 I-Am-Here
35	mobile		0	mobile-registration-request	Bill Simpson - Mobile Registration Request
36	mobile		0	mobile-registration-reply	Bill Simpson - Mobile Registration Reply
37	domain-name	0	domain-name-request	RFC 1788 - icmp domain name request
38	domain-name	0	domain-name-reply	RFC 1788 - icmp domain name reply
40	security	0	bad-spi			RFC 2521 - Bad SPI
40	security	1	authentication-failed	RFC 2521 - Authentication Failed
40	security	2	decompression-failed	RFC 2521 - Decompression Failed
40	security	3	decryption-failed	RFC 2521 - Decryption Failed
40	security	4	need-authentication	RFC 2521 - Need Authentication
40	security	5	need-authorization	RFC 2521 - Need Authorization