| Layer | Name of the Layer | Protocols in the Layer |
|---|---|---|
| Layer 7 | Application Layer | WWW browsers, NFS, SNMP, Telnet, HTTP, FTP |
| Layer 6 | Presentation Layer | ASCII, EBCDIC, TIFF, GIF, PICT, JPEG, MPEG, MIDI |
| Layer 5 | Session Layer | NFS, NetBios names, RPC, SQL |
| Layer 4 | Transport Layer | SPX, TCP, UDP |
| Layer 3 | Network Layer | DDP, IP, IPX |
| Layer 2 | Data Link Layer | PPP, FDDI, ATM, IEEE 802.5/ 802.2, IEEE 802.3/802.2, HDLC, Frame Relay |
| Layer 1 | Physical Layer | Ethernet, FDDI, B8ZS, V.35, V.24, RJ45 |
Transmission Delay = Data size / bandwidth = (L/B) second
Propagation delay = distance/transmission speed = d/s
Average Queuing delay = (N-1)L/(2*R)
where N = no. of packets
L=size of packet
R=bandwidth
| IPv4 | IPv6 |
|---|---|
| IPv4 has 32-bit address length | IPv6 has 128-bit address length |
| It Supports Manual and DHCP address configuration | It supports Auto and renumbering address configuration |
| In IPv4 end to end connection integrity is Unachievable | In IPv6 end to end connection integrity is Achievable |
| It can generate 4.29x109 address space | Address space of IPv6 is quite large it can produce 3.4x1038 address space |
| Security feature is dependent on application | IPSEC is inbuilt security feature in the IPv6 protocol |
| Address representation of IPv4 in decimal | Address Representation of IPv6 is in hexadecimal |
| Fragmentation performed by Sender and forwarding routers | In IPv6 fragmentation performed only by sender |
| In IPv4 Packet flow identification is not available | In IPv6 packetflow identification are Available and uses flow label field in the header |
| In IPv4 checksumfield is available | In IPv6 checksumfield is not available |
| It has broadcast Message Transmission Scheme | In IPv6 multicast and any cast message transmission scheme is available |
| In IPv4 Encryption and Authentication facility not provided | In IPv6 Encryption and Authentication are provided |
| PRIVATE IP ADDRESS | PUBLIC IP ADDRESS |
|---|---|
| Scope is local. | Scope is global. |
| It is used to communicate within the network. | It is used to communicate outside the network. |
| Private IP addresses of the systems connected in a network differ in a uniform manner. | Public IP may differ in uniform or non-uniform manner. |
| It works only in LAN. | It is used to get internet service. |
| It is used to load network operating system. | It is controlled by ISP. |
| It is available in free of cost. | It is not free of cost. |
| Private IP can be known by entering “ipconfig” on command prompt. | Public IP can be known by searching “what is my ip” on google. |
Range:10.0.0.0 – 10.255.255.255, |
Range: Besides private IP addresses, rest are public. |
| Example: 192.168.1.10 | Example: 17.5.7.8 |
telnet [\\RemoteServer]
\\RemoteServer : Specifies the name of the server to which you want to connect
ftp machinename
tftp [ options... ] [host [port]] [-c command]
service nfs start
MAIL FROM:<[email protected]?
lpd [ -d ] [ -l ] [ -D DebugOutputFile]
Run xdm in runlevel 5
snmpget -mALL -v1 -cpublic snmp_agent_Ip_address sysName.0
ipconfig /flushdns
clear ip dhcp binding {address | * }
Domain Name Server
Do following whenever a new request comes in,The above approach is simpler, lightweight and surprisingly effective. This approach doesn't calculate the existing load on the server and doesn't need time management.
Pick a random server and assign the request to a random server
Average Load on i'th server 'Ex(Ri)'
[Applying Linearity of Expectation]
=![]()
=
= (Total Load)/n
| S.NO | FTP | SFTP |
|---|---|---|
| 1. | FTP stands for File Transfer Protocol. | SFTP stands for Secure File Transfer Protocol. |
| 2. | In FTP, secure channel is not provided to transfer the files between the hosts. | In SFTP, secure channel is provided to transfer the files between the hosts. |
| 3. | FTP (File transfer protocol) is a part of TCP/IP protocol. | Secure File Transfer Protocol is a SSH protocol. |
| 4. | FTP (File transfer protocol) usually runs on port no-21. | SFTP (Secure File Transfer Protocol) runs on port no-22. |
| 5. | FTP establishes the connection under TCP protocol. | SFTP establishes the control connection under SSH protocol. |
| 6. | FTP do not encrypt the data before sending. | SFTP, data is encrypted before sending. |
In address bar of a browser, have you noticed either http:// or https:// at the time of browsing a website? If neither of these are present then most likely, it’s http:// Let's find out the difference...
In short, both of these are protocols using which the information of a particular website is exchanged between Web Server and Web Browser. But what’s difference between these two? Well, extra s is present in https and that makes it secure! What a difference :) A very short and concise difference between http and https is that https is much more secure compared to http.
Let us dig a little more.
HyperText Transfer Protocol (HTTP is a protocol using which hypertext is transferred over the Web. Due to its simplicity, http has been the most widely used protocol for data transfer over the Web but the data (i.e. hypertext) exchanged using http isn’t as secure as we would like it to be. In fact, hyper-text exchanged using http goes as plain text i.e. anyone between the browser and server can read it relatively easy if one intercepts this exchange of data. But why do we need this security over the Web? Think of ‘Online shopping’ at Amazon or Flipkart. You might have noticed that as soon as we click on the Check-out on these online shopping portals, the address bar gets changed to use https. This is done so that the subsequent data transfer (i.e. financial transaction etc.) is made secure. And that’s why https was introduced so that a secure session is a setup first between Server and Browser. In fact, cryptographic protocols such as SSL and/or TLS turn http into https i.e. https = http + cryptographic protocols. Also, to achieve this security in https, Public Key Infrastructure (PKI) is used because public keys can be used by several Web Browsers while private key can be used by the Web Server of that particular website. The distribution of these public keys is done via Certificates which are maintained by the Browser. You can check these certificates in your browser settings. We’ll detail out this setting up secure session procedure in another post.
Also, another syntactic difference between http and https is that http uses default port 80 while https uses default port 443. But it should be noted that this security in https is achieved at the cost of processing time because Web Server and Web Browser needs to exchange encryption keys using Certificates before actual data can be transferred. Basically, setting up of a secure session is done before the actual hypertext exchange between server and browser.
Differences between HTTP and HTTPS