Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SRE Book Club - Linux - ch38 - tcpdump & Wireshark
Search
Rico Chen
September 24, 2020
Programming
0
56
SRE Book Club - Linux - ch38 - tcpdump & Wireshark
tcpdump & Wireshark usage
Rico Chen
September 24, 2020
Tweet
Share
More Decks by Rico Chen
See All by Rico Chen
How to monitor Cosmos validator by Prometheus
ricotoothless
0
610
how-to-choose-cicd-tools.pdf
ricotoothless
0
110
SRE Book Club - Linux - ch45 - Where's socket buffer
ricotoothless
0
150
COSCUP - Dynamic Jenkins Agent on Kubernetes
ricotoothless
0
60
Taiwan CDK Meetup - Rookie operator's CDK journey
ricotoothless
0
230
DevOps Taiwan 2020 Workshop - Jenkins CICD
ricotoothless
0
91
SRE Book Club - Kubernetes - ch32-35 - Network
ricotoothless
0
54
SRE Book Club - Kubernetes - ch22 - Job & CronJob
ricotoothless
0
39
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
310
CSC509 Lecture 04
javiergs
PRO
0
300
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
3.3k
dynamic!
moro
10
7.4k
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
0
110
明日から始めるリファクタリング
ryounasso
0
130
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
140
階層構造を表現するデータ構造とリファクタリング 〜1年で10倍成長したプロダクトの変化と課題〜
yuhisatoxxx
3
1k
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2.1k
Swift Concurrency - 状態監視の罠
objectiveaudio
2
510
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
810
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
31k
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1032
470k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Become a Pro
speakerdeck
PRO
29
5.5k
Navigating Team Friction
lara
190
15k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Typedesign – Prime Four
hannesfritz
42
2.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Balancing Empowerment & Direction
lara
4
690
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Code Review Best Practice
trishagee
72
19k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Transcript
CH38 怎麼使用 tcpdump 與 Wireshark 分析網路流量
Agenda • CH38 overview • tcpdump • Wireshark • How
to analyze network traffic? • Lab • Reference
CH38 overview
• Network analysis tool like tcpdump & Wireshark are common
chose to troubleshoot network issue. • tcpdump only supports command line. On the other hand, Wireshark GUI can handle complex network environment.
• PTR (pointer record) provides the IP address associated with
a domain name. • PTR common uses for reverse DNS include: ◦ Anti-spam ◦ Troubleshooting email delivery issues ◦ Logging • Email service: Gsuite, AWS SES, SendGrid, MailGun
tcpdump
• A powerful command-line packet analyzer • tcpdump group github
• tcpdump relate project • How about other command-line? • Wireshark CLI tools & scripting youtube
Wireshark
• A powerful GUI network protocol analyzer • Over 251000
fields in 3000 protocols can filters • Open source with rich community support • SharkFest'20 at 10/12 ~ 10/16 • Many of tutorial resources
How to analyze network traffic?
• Start with client-side • Capture server and client traffic
• Focus on time • The different environment with different filter • Keep your eye on the ball • (resource)
Lab
NLB EKS control plane traefik kube-op s-view
NLB EKS control plane traefik kube-op s-view 115.43.40.158 10.1.8.23 10.1.11.24
10.1.13.131 10.1.6.103 10.1.48.138 10.1.43.161
• what is 169.254.169.254 • Dynamic Configuration of IPv4 Link-Local
Addresses • EKS architectural overview • Elastic network interfaces
NLB EKS control plane traefik kube-op s-view k-proxy
• Application Load Balancer target type
ALB EKS control plane traefik kube-op s-view k-proxy
Reference
• What is a DNS PTR record? • 鳥哥 DNS
正反解 • tcpdump relate project • Wireshark CLI tools & scripting • tcpdump group github • Top 10 Wireshark Filters • Wireshark Display Filter Reference • Wireshark distribution command line
• what is 169.254.169.254 • Dynamic Configuration of IPv4 Link-Local
Addresses • EKS architectural overview • Elastic network interfaces • Network Load Balancer Support in Kubernetes 1.9 • Application Load Balancer target type