todo
https://wizardforcel.gitbooks.io/network-basic/content/23.html 研讀看看
content/type
https://imququ.com/post/four-ways-to-post-data-in-http.html
取外部ip
wget http://ipinfo.io/ip -qO -
TCP/IP survey
http://www.study-area.org/network/network_ip.htm http://www.study-area.org/network/network_ip_addr.htm
keep-Alive
https://ihower.tw/blog/archives/1517 http://51write.github.io/2014/04/09/keepalive/ https://www.byvoid.com/zht/blog/http-keep-alive-header http://web.jobbole.com/84369/ http://www.itwendao.com/article/detail/234582.html
HTTP 1.1 Cache 機制
https://blog.toright.com/posts/3414/%E5%88%9D%E6%8E%A2-http-1-1-cache-%E6%A9%9F%E5%88%B6.html
Wireshark
Wireshark抓包iOS入门教程
https://coder.tw/?p=7366
https://zhuanlan.zhihu.com/p/23823231
1.将iPhone通过数据线,连上Mac,并打开iTunes,复制设备UDID。
2.打开Terminal,输入
rvictl -s 设备UDID
。
3.打开Wireshark,在捕获选项里面选择rvi0这个设备,这个时候,iPhone所有TCP和UDP流量,都会打印到Mac上。
4.在Wireshark里面输入合适的过滤器,便于追踪目标流量。
Q&A mac rvictl command not found
You need to install XCode from the App Store, and then you need to launch XCode once, and accept installation of additional tools. Restart your terminal. Good to go.