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
53
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
540
how-to-choose-cicd-tools.pdf
ricotoothless
0
110
SRE Book Club - Linux - ch45 - Where's socket buffer
ricotoothless
0
120
COSCUP - Dynamic Jenkins Agent on Kubernetes
ricotoothless
0
58
Taiwan CDK Meetup - Rookie operator's CDK journey
ricotoothless
0
180
DevOps Taiwan 2020 Workshop - Jenkins CICD
ricotoothless
0
81
SRE Book Club - Kubernetes - ch32-35 - Network
ricotoothless
0
52
SRE Book Club - Kubernetes - ch22 - Job & CronJob
ricotoothless
0
33
Other Decks in Programming
See All in Programming
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
210
ヤプリ新卒SREの オンボーディング
masaki12
0
110
C++でシェーダを書く
fadis
6
4k
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
180
Quine, Polyglot, 良いコード
qnighy
4
630
Outline View in SwiftUI
1024jp
1
300
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
280
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
590
開発効率向上のためのリファクタリングの一歩目の選択肢 ~コード分割~ / JJUG CCC 2024 Fall
ryounasso
0
430
CSC509 Lecture 11
javiergs
PRO
0
180
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
1
120
Jakarta EE meets AI
ivargrimstad
0
300
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Building Applications with DynamoDB
mza
90
6.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Done Done
chrislema
181
16k
We Have a Design System, Now What?
morganepeng
50
7.2k
Making Projects Easy
brettharned
115
5.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
700
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
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