Cheatsheet: Difference between revisions
Content added Content deleted
(→Flows) |
|||
Line 640: | Line 640: | ||
= Flows = |
= Flows = |
||
*Complete Flow of PC opening a Website |
*Complete Flow of PC opening a Website: |
||
#Check NW config |
|||
#DHCP if not configured |
|||
#Check Domain name in Browser Cache |
|||
#Check Domain name in OS Cache |
|||
#If not Found in any cache, Prepare to send UDP DNS query to DNS Server |
|||
#If DNS Server configured is in same Network Check MAC address in ARP Table |
|||
#If not found, send ARP for MAC Address |
|||
#Forwards DNS Query to DNS Server and wait for reply containing IP address of Website |
|||
#If DNS server configured is not in same subnet, check Gateway config(IP & MAC address) |
|||
#If MAC address not found in ARP Table, send ARP request |
|||
#After getting reply, fwd the DNS query to gateway |
|||
#After getting DNS response, start TCP 3-way handshake S-SA-A. |
|||
#Start SSL Handshake if SSL/TLS configured |
|||
#Send GET Request |
|||
#Client sends ACK & Body containing HTML Data |
|||
#If HTTP 1.0, Server sends FIN & CLoses connection |
|||
#Client send FIN-ACK |
|||
#Server sends Ack |
|||
*Complete Flow of DNS Traffic |
|||
*Complete Flow of Traffic passing through below scenario: |
|||
[PC]-----[Hub]-----[Switch]-----[Router]------[Router]------[Server] |