This is a draft cheat sheet. It is a work in progress and is not finished yet.
Socket
Server |
Client |
Open |
Open |
Bind |
Listen |
Connect |
Accept |
Send/Recv |
Send/Recv |
ARP
Maps an IP address to a MAC address.
Sender broadcasts an ARP request with the IP address to be mapped.
Owner of the IP address replies with its MAC address. |
TCP
Client |
Server |
SYN -> |
|
<- SYN,ACK |
ACK -> |
802.11 Frame Types
Association |
Management |
Authentication |
Management |
Probe |
Management |
Beacon |
Management |
RTS |
Control |
CTS |
Control |
ACK |
Control |
Data |
Data |
802.11 Client Association
Client |
|
AP |
Probe Request |
-----> |
|
<----- |
Probe Response |
Auth Request |
-----> |
|
<----- |
Auth Response |
Assoc Request |
-----> |
|
<----- |
Assoc Response |
|
|
OSI Layers
Application |
End User |
HTTP, FTP, SSH, DNS |
7 |
Presentation |
Encryption, Compression |
SSL, TSL, MPEG |
6 |
Session |
Authentication, Permissions |
API's, Sockets |
5 |
Transport |
Segment |
TCP, UDP |
4 |
Network |
Packets |
IP, ICMP |
3 |
Data Link |
Frames, MAC |
Ethernet, Bridge |
2 |
Physical |
Media |
Wireless, Cat5 |
1 |
|