ACTUALLY JUST GO TO (JIM KUROSE’S YOUTUBE CHANNEL)[https://www.youtube.com/@JimKurose] FOR EVERYTHING
Also (network+ studying tips)[https://www.reddit.com/r/CompTIA/comments/1dgxi47/a_detailed_guide_to_pass_the_network/]
Note: this needs to be checked for accuracy as was LLM summarised
To try out using Wireshark to capture my own traffic on wifi/ethernet
Layer | Layer Name | Protocols | From/To | Units |
---|---|---|---|---|
7 | Application | HTTP, HTTPS, FTP, SMTP, DNS, DHCP, SSH, Telnet | User applications ↔ Network services | Messages, Requests |
6 | Presentation | SSL/TLS, JPEG, MPEG, ASCII, EBCDIC | Data formatting ↔ Application layer | Data (encrypted/compressed) |
5 | Session | NetBIOS, RPC, SQL, NFS, SMB | Process sessions ↔ Data streams | Sessions, Connections |
4 | Transport | TCP, UDP, SCTP | End-to-end communication ↔ Network routing | Segments (TCP), Datagrams (UDP) |
3 | Network | IP, ICMP, OSPF, BGP, RIP, ARP | Host-to-host ↔ Local delivery | Packets |
2 | Data Link | Ethernet, Wi-Fi (802.11), PPP, Frame Relay | Node-to-node ↔ Physical transmission | Frames |
1 | Physical | Ethernet cables, Fiber optic, Radio waves, Bluetooth | Electrical signals ↔ Physical medium | Bits, Electrical signals |
Additional Context:
Layer | Name | Protocols | Units |
---|---|---|---|
5 | Application | HTTP, HTTPS, FTP, SMTP, DNS, SSH | Messages |
4 | Transport | TCP, UDP | Segments |
3 | Network | IP, ICMP, ARP | Datagrams |
2 | Data Link | Ethernet, Wi-Fi | Frames |
1 | Physical | Cables, Radio waves | Bits |
OSI vs TCP/IP:
Send hello via HTTP on a web browser with a GET request
GET /api/message HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0...
Accept: text/html,application/xhtml+xml...
Connection: keep-alive
Hello
Binary data that includes fields like:
0x3039
(12345 in hex)0x0050
(80 in hex)0x12345678
0x18
(PSH, ACK bits set)The actual bytes might look like:
30 39 00 50 12 34 56 78 87 65 43 21 50 18 FF FF A1 B2 00 00
More binary data:
45 00 00 54 12 34 40 00 40 06 B1 E6 C0 A8 01 64 5D B8 D8 22
This represents version, header length, total length, identification, flags, TTL, protocol, checksum, source IP (192.168.1.100), destination IP, etc.
Even more binary:
aa bb cc dd ee ff 11 22 33 44 55 66 08 00 [IP packet] [4-byte CRC]
Electrical voltages (+5V, 0V), light pulses, or radio wave modulations - not readable text at all.
Other materials covered includes delays and types of delays, calculating delay, queueing, packet loss