_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

tcpdump tutorial

08. 01. 2022 1 min read intermediate

tcpdump je nejdůležitější síťový diagnostický nástroj na serverech.

Basics

sudo tcpdump -i any port 80 sudo tcpdump -i any host 10.0.1.50 sudo tcpdump -c 100 -i any

Filtry

sudo tcpdump ‘src host 10.0.1.50 and dst port 5432’ sudo tcpdump ‘not port 22’ sudo tcpdump udp port 53

Výstup

sudo tcpdump -A port 80 # ASCII sudo tcpdump -w capture.pcap # pro Wireshark tcpdump -r capture.pcap

Exampley

sudo tcpdump -A port 80 | grep -i ‘host:’ sudo tcpdump udp port 53 -nn sudo tcpdump ‘tcp[tcpflags] & tcp-syn != 0’

tcpdump = síťový debugging

Základní filtry + pcap pro Wireshark.

tcpdumpnetworkingpacket capture
Share:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.