or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
計算機網路 3-B
tags:
courses meow
Click to open TOC
清大教學(畫質低且年代久遠請注意)
https://www.youtube.com/watch?v=wcdUhDkoWAo&list=PL9jciz8qz_zxeXaMgy4Z77P7dKNRWegE0&index=2
Ch1
Definition
Routing
packet switching
circuit switching
trace route
everytime a packet passed by a router , packet.TTL will be reduce by one.
示意圖:
packet delay
Traffic intensity
Throughput
Internet Security
Layered Internet Protocol Stack
Application(應用層)
Transport(傳輸層)
Network(網路層)
Link(鏈結層)
Physical(物理層?)
資料傳輸
資料的包裝
資料的拆裝
Summary
Internet History
CH2
network application
Client and Server
Clients
Server
Peer-Peer(P2P)
Processes Communicating
Client and Server Processse
Socket
三方交握
socket流程
Addressing processes
Transport service and Application
TCP vs UDP
TCP
UDP
UDP的優點
Web
URL
HTTP
Persistent & Non-Persistent
Request in HTTP
請求的方法 (HTTP Methods)
請求的格式
\r
\n
HTTP1.1請求格式
回復的格式
Magic Cookie
用於儲存登入資訊等狀態
就算我拿不到帳號密碼,我只要拿到身分認證用的cookie,我就可以用你權限行動。
當我們在某些網站進行身分認證時,我們輸入帳號密碼,成功登入後便會產生cookie,之後進行任何動作,cookie都會幫助我們進行分認證。沒有了cookie我們每次進行任何動作都得認證一次身分,會相當的麻煩。
Cookie只是一段文字、一段紀錄,可能可以用來傳送廣告。但它絕對不是程式,它沒辦法下載惡意程式或是讓你電腦中毒。
Set-Cookie; Name=VALUE;
expires=DATE;path=PATH;
domain=DOMAIN_NAME; secure;
斜體代表自行輸入。
";" "," " "屬於保留字不可用
expires是cookie有效時間,沒設定則離開此網站便消失
先比對Domain_Name和Host_Name有沒有match,match的再去比對Path是否match,都match的話便會傳送cookie
Web Cache
HTTP2
HTTP3
Email
SMTP
POP3
STMP vs HTTP
STMP Syntext
un
http
FTP
DNS
DNS查詢方式