ComputerHunter.org

 

ICMP Protocol - Internet Control Message Protocol


The Internet Control Message Protocol communicates errors messages between systems that require attention. This error is not usually at the user level, the error is handled by the application layer. In the OSI Reference model, ICMPs are generally considered part of the IP layer.

To put to plain and simple, ICMP messages are sent "behind the scenes" to your applications to tell them if there is a problem with the connection or transfer of data. These messages tell your application to change what they are doing, change how they are sending and basically give them an error code on how they can successfully fix their problems.

ICMPs' are sent in a standard IP datagram, this datagram contains an IP header of twenty (20) bytes and then the ICMP message. There are fifteen values for the type field of the datagram which identifies the type of ICMP message. The "code" portion of the datagram specifies the condition of the "type" even further. This sounds a bit confusing at first, but you have two major categories, the primary "problem," and then a secondary more in depth look at that problem. This will all make more sense when you look at information below.

Type 0, code 0 - echo reply

Type 3 (destination unreachable)
Type 3, code 0 - network unreachable
Type 3, code 1 - host unreachable
Type 3, code 2 - protocol unreachable
Type 3, code 3 - port unreachable
Type 3, code 4 - fragmention needed
Type 3, code 5 - source route failed
Type 3, code 6 - destination network unknown
Type 3, code 7 - destination host unknown
Type 3, code 8 - source host isolated
Type 3, code 9 - destination network administratively prohibited
Type 3, code 10 - destination host administratively prohibited
Type 3, code 11 - network unreachable for TOS
Type 3, code 12 - host unreachable for TOS
Type 3, code 13 - communication administratively prohibited by filtering
Type 3, code 14 - host precedence violation
Type 3, code 15 - precedence cutoff in effect

Type 4, code 0 - source quench

Type 5 (redirects)
Type 5, code 0 - redirect for network
Type 5, code 1 - redirect for host
Type 5, code 2 - redirect for type of service and network
Type 5, code 3 - redirect for type of service and host

Type 8, code 0 - echo request

Type 9, code 0 - router advertisement

Type 10, code 0 - router solicitation

Type 11 (time exceeded)
Type 11, code 0 - time to live (TTL) equals 0 during transit
Type 11, code 1 - time to live (TTL) equals 0 during reassembly

Type 12 (parameter problem)
Type 12, code 0 - IP header bad
Type 12, code 1 - required option missing
Type 13, code 0 - timestamp request

Type 14, code 0 - timestamp reply

Type 15, code 0 - information request

Type 16, code 0 - information reply

Type 17, code 0 - address mask request

Type 18, code 0 - address mask reply

As you can see from the above information, the primary "type" groups are the main problem, with the "code" further specifying the problem. Much of this stuff doesn't make sense to the human end-user anyway, but it means a lot to the software developers who use these requests to fix problems in their coding.

ICMP's are a nice behind the scenes helper that are good to have their, but be thankful you don't really have to deal with them. For even more detailed information on the Internet Control Message Protocol (ICMP) the protocol is defined in RFC 792.

Ken Dennis
http://KenDennis-RSS.homeip.net/







Google News - Top Stories

NC Senator's Hard-Line Conservatism Helped Craft Republican Social ...
Washington Post - 56 minutes ago
By Bart Barnes and Matt Schudel Jesse Helms, the North Carolina Republican senator whose uncompromising conservatism made him one of America's leading crusaders against communism, liberalism, tax increases, abortion, homosexuality, affirmative action ...
Video: A Look Back At Jesse Helms CBS
Former Sen. Jesse Helms dies at 86 Austin American-Statesman
Kansas City Star - International Herald Tribune - Hickory Daily Record - Boston Globe
all 1,984 news articles


Boston Globe

The Presidential Race: Graham soars as McCain’s wingman
The State - 1 hour ago
By JAMES ROSEN - jrosen@mcclatchydc.com WASHINGTON - If Andrew Jackson created the notion of a president’s “Kitchen Cabinet,” Sen. John McCain is reinventing it months before his possible election to the White House.
Wesley Clark Tampa Tribune
Is his campaign dishonest or disorganized? Philadelphia Inquirer
Washington Post - Chicago Sun-Times - Town Hall - Newsweek
all 1,678 news articles


New York Daily News

Vindication for Colombia's Uribe
Washington Post - 1 hour ago
By Edward Schumacher-Matos CARTAGENA, Colombia -- More politically breathtaking than the dramatic rescue of Ingrid Betancourt this week is the unexpected message that the former presidential candidate delivered after six years of captivity in Colombian ...
Colombian Military Releases Video of Hostage Rescue Voice of America
Colombia shows rescue video Reuters
guardian.co.uk - Xinhua - United Press International - New York Times
all 3,996 news articles


Firefighters hold line on two California wildfires
Reuters - 5 hours ago
By Gina Keating LOS ANGELES, July 4 (Reuters) - Exhausted California firefighters worked on Friday to contain two wildfires threatening homes along the coast before sundown, when shifting winds were expected to give the blazes more power.
Video: Wind Keeps California Wildfires Raging AssociatedPress
Two fires raging along Calif.'s Central Coast Press-Enterprise
San Jose Mercury News - KMPH Fox 26 - KSWT-TV - Bloomberg
all 520 news articles


Washington Post

Antiwar Demonstrators Interrupt Annual Naturalization Ceremony at ...
Washington Post - 2 hours ago
By Karin Brulliard CHARLOTTESVILLE, July 4 -- President Bush kicked off the Fourth of July at the hilltop estate of one of the nation's Founding Fathers, where he welcomed dozens of new American citizens from 30 countries.
Video: Bush Invokes Jefferson on July 4 AssociatedPress
Protesters disrupt Monticello service Richmond Times Dispatch
Los Angeles Times - Baltimore Sun - CNN - CNN International
all 803 news articles

Google
 

Copyright 2006 Computer Hunter - A Division of Arthur´s Job Base