Networking Fundamentals for Hackers
How Traffic Travels
IP and Routing
An IP address identifies a device on a network, while routers forward packets between networks. Routing decides where packets should go next.
Ports and Protocols
Ports identify services on a device. For example, web traffic often uses HTTP on port and HTTPS on port .
Network Vocabulary
TCP vs UDP
TCP
- Reliable delivery
- Order matters
- Used where accuracy is important
UDP
- Lower overhead
- Can be faster
- Used where speed matters more than reliability
What is the main job of a router?
Routers move traffic between different networks.
Correct answer: Forward traffic between networks
What do ports help identify?
Ports act like numbered entrances for services.
Correct answer: Specific services on a device.
Which protocol is usually associated with reliable delivery?
TCP is designed for reliable, ordered data delivery.
Correct answer: TCP
Reading a Connection Flow
-
1
Step 1: Identify the source device.
-
2
Step 2: Identify the destination device or service.
-
3
Step 3: Determine the route through routers.
-
4
Step 4: Check which port and protocol are used.