計算機網路
參考自李春良老師 計算機網路課程部分PPT擷取
網路參考源: 國立台灣大學 Lecture Slides
Introduction to Computer Networks
Spring 2022
資安相關名詞
- botnet
- virus
- worm
- DDos
- IP spooting
- spyware
- packet sniffing (筆記手誤)
網路基本概念
- cookies
- IMAP v.s. POP3
- DNS(Domian name system)
- tracked, torrent
- DNS poisoning attack
- DNS provider
- web cache
- condition GET
- persistent HTTP
DNS的問題: 前身
假設一個DNS包含所有映射的DNS,會有四項問題
-
- Single point of failure
-
- Traffic volume
-
- Distant centralized database
-
- Maintenance
解決方法 ---> Hierarchical database(筆記手誤)
相關名詞
- Authoritire DNS Server
- Local DNS server
- recursive query
- iterative query
TCP觀念
-
- reliable
-
- flow control
-
- congestion control
-
- In transport layer
SSL加密
-
- provide TCP encrypted connection
-
- In application layer
SMTP(Simple Mail Transfer protocol)
-
- hand shaking
-
- transfer msg
-
- closure
Transport & Network layer
TCP
TCP segment structure
TCP retransmission scenarios
-
- Lost ACK
-
- Premature timeout
-
- Commulative ACK
- Congestion Control
-
- AIMD --> Slow start問題
- Longest prefix matching(LPM)
網路連結方式
- Switch
- Bus
- Crossbar
HOL (Hand of the line blocking)問題與排排程機制
- 解法
-
- FIFO
-
- Priority
-
- RR
-
- WFQ(Weighted Fair Queing)
ICMP protocol
IP Addressing 方法
* Subnet Group
NAT(Networling Addressing Translation)
Routing ALGO分類
- 根據router知道全域 & 區域資料
- Global: Link State ALGO
- Broadcast產生Forwading Table
- Dijkastra's algo
- 缺點(特色): 容易震盪(Oscillation Possible)
- Decentralized: Distance vector algo
- 鄰近節點找最短路徑
- Bellman Ford algo
- 缺點(特色): Bad news travels slow(count to infinity問題)
- 根據更新速度
- Static
- Dynamic
Internet approach
-
- Intra AS (AS 內部)
-
- RIP(Routing Information Protocol)
-
- OSPF(Open Shortest Path First)
-
- IGRP(Interier Gateway Routing Protocol)
-
- Inter AS (AS 間): 只有 BGP(Border Gateway Protocol)
- eBGP(egress)
- iBGP(ingress)
Link layer
- Link layer serice
- flow control
- error detection
- error correction
- half-duplex, full-duplex
- Error Detection
-
- Parity checking(Odd/Even)
-
- CRC(Cyclic Redundancy Check)
Multuple Access & MAC
Multiple Access |
Protocol 理想四要件判斷 |
|
|
- MAC Protocol分類
-
- Channel Partitioning(筆記手誤)
- TDMA(Time Division Multiple Access)
- FDMA(Frequency Division Multiple Access)
-
- Random Access
- Slotted ALOHA
- Pure(unslotted) ALOHA
-
CSMA(Carrier Sense Multiple Access)
- CSMA/CD
- CSMA/CA
- Taking turns
ARP
Ethernet