# TCPDump: Capture and Record Specific Protocols / Port Traffic

DevFeed: [TCPDump: Capture and Record Specific Protocols / Port Traffic](<https://devfeed.tech/articles/tcpdump-capture-and-record-specific-protocols-port-traffic-41952.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/tcpdump-capture-record-protocols-port/>)

Author: Vivek Gite

Published: 2024-05-17T21:00:03Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Network](<https://devfeed.tech/topics/network.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>)

Tags: [advanced](<https://devfeed.tech/tags/advanced.md>), [aix](<https://devfeed.tech/tags/aix.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [centos](<https://devfeed.tech/tags/centos.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [http](<https://devfeed.tech/tags/http.md>), [iptables](<https://devfeed.tech/tags/iptables.md>), [linux](<https://devfeed.tech/tags/linux.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [network](<https://devfeed.tech/tags/network.md>), [network-interface](<https://devfeed.tech/tags/network-interface.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [redhat-and-friends](<https://devfeed.tech/tags/redhat-and-friends.md>), [security](<https://devfeed.tech/tags/security.md>), [tcpdump-command](<https://devfeed.tech/tags/tcpdump-command.md>), [tool](<https://devfeed.tech/tags/tool.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [ubuntu-linux](<https://devfeed.tech/tags/ubuntu-linux.md>), [unix](<https://devfeed.tech/tags/unix.md>)

## AI overview

A practical guide to using TCPDump on Linux, Unix, and BSD systems to capture and record network traffic by interface, protocol, port, host, and network. It also covers saving packet captures and inspecting TCP and UDP traffic.

## Source excerpt

How do I capture a specific protocol or port, such as 80 (HTTP) or 443 (HTTPS), using the TCPDump tool under Linux/UNIX? How do I record traffic with TCPDump and find problems later on with my network or server issues? Let's dive into the nitty-gritty of capturing and analyzing your network traffic for trapshooting network and server issues. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post TCPDump: Capture and Record Specific Protocols / Port Traffic appeared first on nixCraft.