Latest Updates

Network Services

Networking Services and Ports

There are two general types of network services, which are connection less and connection oriented. Connection oriented service performs connection establishment, data transfer, and connection termination.

Ping

The "ping" program uses ICMP echo message requests and listens for ICMP echo message reply messages from its intended host. Using the -R option with ping enables the record route feature. If this option is used ping will set the record route (RR) in the outgoing ICMP IP datagram

Traceroute

The "traceroute" program uses ICMP messaging and the time to live (TTL) field in the IP header. It works by sending a packet to the intended host with a TTL value of 1. The first router will send back the ICMP "time exceeded" message to the sending host. Then the traceroute program will send a message with a TTL of 2, then 3, etc. This way it will get information about each router using the information received in the ICMP packets. To get information about the receiving host, the message is sent to a port that is not likely to be serviced by that host. A ICMP "port unreachable" error message is generated and sent back.

 

Telnet

Some telnet command codes and their meanings 

Command CodeDescription
236EOF
237SUSP - Suspend the current process
238ABORT - Abort process
239EOR - End of record
240SE - Suboption end
241NOP - No operation
242DM - Data Mark
243BRK - Break
244IP - Interrupt process
245AO - Abort output
246AYT - Are you there
247EC - Escape character
248EL - Erase Line
249GA - Go ahead
250SB - Suboption begin
251WILL - Sender wants to enable option / Receiver says OK
252WONT - Sender wants to disable option / Receiver says not OK
253DO - Sender wants receiver to enable option / Receiver says OK
254DONT - Sender wants receiver to disable option / Receiver says not OK

On items 251 through 254 above, a third byte specifies options as follows:

IDNameRFC
1Echo857
3Supress go ahead858
5Status859
6Timing Mark860
24Terminal type1091
31Window size1073
32Terminal speed1079
33Remote flow control1372
34Line mode1184
36Environment variables1408

 http://www.comptechdoc.org/independent/networking/guide/netservices.html

0 Response to "Network Services"

Post a Comment