Top "Packet-capture" questions

is for questions about capturing packets of various protocols that are transmitted over a network.

Capture LLDP packets using tcpdump

What is the format to capture LLDP packets on an interface using tcpdump? I tried the following format but it …

tcpdump packet-capture
Get TCP Flags with Scapy

I'm parsing a PCAP file and I need to extract TCP flags (SYN, ACK, PSH, URG, ...). I'm using the packet[…

python tcp packet packet-capture scapy
how wireshark marks some packets as "tcp segment of a reassembled pdu"

I opened a pcap in wireshark and it displays a lot of packets as "tcp segment of a reassembled pdu". …

network-programming wireshark packet-capture tcpdump wireshark-dissector
Adding payload in packet

Can I insert image or document (in MBs) as a data in packet using scapy? This is what I did …

python packet packet-capture scapy
how can I dump only outgoing IP packets in tcpdump?

I'm dumping outgoing traffic. I only want TCP and UDP packets destined outside my LAN, nothing else. I just used …

ip packet packet-capture tcpdump arp
Follow tcp stream - Where does field "Stream index" come from?

Wireshark has a that feature called "follow tcp stream", under the menu item "Analyze". When I use it, a screen …

packet wireshark packet-capture
Is there a Windows tool for capture and playback of modified UDP packets?

I'm looking for a tool (or a set of tools) for Windows that will perform the following: Capture UDP packets …

windows udp packet packet-capture
python / dpkt: Find out if packet is a tcp packet or a udp packet ,

I have a python scripts that captures the packets on the ethernet using dpkt, but how do i differentiate between …

python network-programming pcap libpcap packet-capture
how to capture package at a specific port on any interface using tshark

I want to capture the package on a specific port on any interface of my machine. I know how to …

packet-capture tshark
tcpdump vs tcpflow (or "why isn't tcpdump ASCII packet data human readable?")

I have used both, and I conclude that I can read html data from webpages with tcpflow but cannot do …

networking packet-capture packet-sniffers tcpdump