LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-22-2004, 06:39 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
About ICMP


Hi.

I am trying to understand all these kinds of packages. I know C++ but I am not so much familiar with network stuff when I come to packages and layers and so on.

So I thought that I may try to make some different server/klient-kind of programs that would send different packages.

I have done some stuff with iptables before and I noticed that when ICMP in was blocked no one could ping me. Then I have read about different kinds of ICMP. What are these kinds and how can I send/check them? Also how does layers in TCP-packages work and how can I work with them?

Thanks,
MezzyMeat

Last edited by Ephracis; 11-22-2004 at 06:41 AM.
 
Old 11-22-2004, 08:01 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
The main layers to worry about are:

Network layer. For the internet, this is IP, the Internet Protocol. This is an abstraction layer that allows network packets to be sent over any kind of network with a common interface.

Transport Layer. There are two common protocols here, both of which use IP to send information from host to host. UDP is a simple packeted protocol that transmits short packets of information, with a resonable chance that they will get to their destination. TCP is more complex, and provides reliable, streamed connections between the two hosts.

Application layer. These are protocols written for specific applications, such as ICMP. They run over the data link layer protocols; ICMP runs over UDP while HTTP runs over TCP. (There are literally thousands of application layer protocols).

For information relating to specific protocols, look on www.rfc-editor.org where you will find the definitions of all standard Internet protocols, including ICMP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ICMP Programming mgp Programming 3 07-21-2009 03:11 AM
SSH over ICMP? kleptophobiac Linux - Networking 11 11-11-2006 04:09 PM
ICMP traffic archives/writing ICMP traffic in a file maia_1 Programming 0 07-20-2004 03:43 AM
What is ICMP? codedv Linux - Networking 2 01-04-2004 10:12 AM
Icmp mikeyt_3333 Linux - Security 1 08-09-2001 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration