Difference between revisions of "TCP/IP"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Well known port numbers)
(Protocols)
Line 22: Line 22:
 
=Protocols=
 
=Protocols=
 
==http==
 
==http==
'''H'''yper '''T'''ext '''T'''ransfer '''P'''rotocol, most often found at the beginning of URLs, is used to transfer an user to a web address that is specified via the domain.
+
'''H'''yper '''T'''ext '''T'''ransfer '''P'''rotocol, most often found at the beginning of URLs, is used to transfer an user to a web address that is specified via the domain. This uses port 80,
  
 
==https==
 
==https==
A verified, '''s'''ecure version of '''HTTP'''. This ensures the user that the website they are on is safe and well protected.
+
A verified, '''s'''ecure version of '''HTTP'''. This ensures the user that the website they are on is safe and well protected. This uses port 443.
  
 
==ftp==
 
==ftp==
'''F'''ile '''T'''ransfer '''P'''rotocol.
+
'''F'''ile '''T'''ransfer '''P'''rotocol. This allows you to download / upload files to a server, for example you would upload your websites pages to your webserver using FTP. FTP uses port 21.
  
 
==SSH==
 
==SSH==
'''S'''ecure '''Sh'''ell protocol. Designed for operating securely over an unsecure network.
+
'''S'''ecure '''Sh'''ell protocol. This protocol allows remote access to a computer, this could be used to perform admin tasks on a server. You will only have command line access to the computer. SSH is also designed for operating securely over an unsecure network. SSH uses port 22, this was deliberately chosen because it was created to potentially use instead of Telnet or FTP.
  
 
==telnet==
 
==telnet==
Allows a user to log into a remote computer over the interlinking network.
+
Allows a user to log into a remote computer over the interlinking network. Similar to but predates SSH. Telnet uses port 23.
  
 
==pop3==
 
==pop3==
'''P'''ost '''O'''ffice '''P'''rotocol, version '''3'''.
+
'''P'''ost '''O'''ffice '''P'''rotocol, version '''3'''. Used to receive incoming emails from an email server. This uses port 110.
  
 
==smtp==
 
==smtp==
Simple Mail Transfer Protocol.
+
Simple Mail Transfer Protocol. This is used to send emails, it uses port 25.
 
 
==imap==
 

Revision as of 18:20, 21 May 2017

What is a protocol

TCPIP Stack

Application layer

Transport layer

Network layer

Link layer

Ports

Why we need them

Well known port numbers

21 TCP File Transfer Protocol (FTP) control 22 Secure Shell (SSH), secure logins file transfers and port forwarding

Socket

Protocols

http

Hyper Text Transfer Protocol, most often found at the beginning of URLs, is used to transfer an user to a web address that is specified via the domain. This uses port 80,

https

A verified, secure version of HTTP. This ensures the user that the website they are on is safe and well protected. This uses port 443.

ftp

File Transfer Protocol. This allows you to download / upload files to a server, for example you would upload your websites pages to your webserver using FTP. FTP uses port 21.

SSH

Secure Shell protocol. This protocol allows remote access to a computer, this could be used to perform admin tasks on a server. You will only have command line access to the computer. SSH is also designed for operating securely over an unsecure network. SSH uses port 22, this was deliberately chosen because it was created to potentially use instead of Telnet or FTP.

telnet

Allows a user to log into a remote computer over the interlinking network. Similar to but predates SSH. Telnet uses port 23.

pop3

Post Office Protocol, version 3. Used to receive incoming emails from an email server. This uses port 110.

smtp

Simple Mail Transfer Protocol. This is used to send emails, it uses port 25.