sudo apt install openvpn
sudo openvpn –config academy-regular.ovpn &
2025-06-03226 字1 分鐘
TCP 硬基礎
TCP three-Way Handshake
Step
Direction
What’s Sent
Function
SYN
Client → Server
I want to connect, here’s my sequence number
Tells the server: I want to connect, get ready.
SYN+ACK
Server → Client
I accept, here’s my sequence number, and I got yours
Server says: OK, I’m ready too, and I rece
2025-06-0329 字1 分鐘
Termshark & Wireshark
Termshark is a Text-based User Interface
Termshark Help
wireshark filterFTP-Request-Command Filter
ftp.requset.command
ftp-data
ftp-data
http
http
tcp.stream
tcp.stream eq 7
2025-06-03194 字1 分鐘
tshark
TShark Help
tshark -h
where tshark
which tshark
interfaces List
tshark -D
list the Link-layer from interface
tshark -L
tshark -i ens33 -L
switch interface
tshark -i 2
Selecting an Interface & Writing to a File
tshark -i eth0 -w /tmp/test.pcap
Selecting an Interface & Applying Filters
t