Skip to main content

Questions tagged [pcap]

The tag has no usage guidance.

0 votes
1 answer
16 views

Use tshark and return binary of packet in the STDOUT

As part of a project, I need to retrieve network packets on a network interface using -i. tshark -i eth0 I need to retrieve the binary format of the packages, however I would like if possible not to ...
user avatar
0 votes
1 answer
71 views

Running soft AP and bridge mode on laptop for legacy connections, connection fails

Recently, I’ve resumed playing Mario Kart DS, an old (2005) Nintendo game available on the Nintendo DS console, including playing online. The online service has been closed by Nintendo for a long time ...
NovHak's user avatar
  • 141
1 vote
0 answers
83 views

kali linux filter by protocol wireshark's pcaps

I spent the last 2h looking for a way to quikly filter pcaps, it seems that it is possible using cmd/bat on windows but I can't find anything for kali linux. I have a way too big pcap and I want to ...
the shadow's user avatar
1 vote
1 answer
355 views

Black hole output interface for tcpreplay

I'm using a command line like this to replay a huge PCAP file at high speed - I'm benchmarking various aspects of tcpreplay: sudo tcpreplay --mbps=1000 --intf1=docker0 linuxbig_log.pcap As I don't ...
Ken Y-N's user avatar
  • 124
1 vote
1 answer
1k views

How to use ciscodump?

In wireshark, there is this option called Cisco remote capture: ciscodump, which, from my understanding, should enable to do a tcpdump on a cisco router (for example) via SSH and get back the results ...
user1741932's user avatar
1 vote
0 answers
677 views

Generate alert from pcap file with Snort

I'm learning to use snort by myself and I can't figure out if I'm generating alerts from a file well. The rules i have in local.rules are: alert icmp any any -> any any (msg:"Testing ICMP"...
Claudia De Michele's user avatar
0 votes
1 answer
507 views

Wireshark - exports what it recognises as a jpeg but the jpeg doesn't open

I have a JPEG GET request in my PCAP as below but when I export it, it's not a valid JPEG file Any advice as to what I'm doing wrong?
pee2pee's user avatar
  • 493
1 vote
0 answers
605 views

ALFA wifi network card Monitor Mode on Mac OS

I recently bought an ALFA AWUSO36EAC and I want to use it for packet injection and monitor mode on Mac OS. I was told that this is a better page to ask about Network Card related questions. I have ...
Sam Moldenha's user avatar
0 votes
1 answer
4k views

tshark how to count the number of returned packets

I am using tshark and i need to findout how many of my 10,0000 packets contain a HTTP URI Therefore, i have written the line of code that goes as followes: tshark -r tsharklab.pcap -Y "http....
JamesMcC's user avatar
0 votes
1 answer
380 views

TLS handshake to microsoft.com hangs

Two Linux machines (Ubuntu 20.04 & 18.04.4 running on vSphere) behind NAT are not able to complete the TLS handshake to https://microsoft.com and https://mcr.microsoft.com, while they are able to ...
278342304's user avatar
0 votes
1 answer
241 views

What are the specific requirements for libpcap directional capture support?

I'm using libpcap on Linux to capture network traffic from a wireless adapter (2.4 GHz). The pcap_setdirection seems to allow you to setup the capture device so that it ignores traffic originating ...
user's user avatar
  • 212
0 votes
1 answer
706 views

make a difference between pcap files

I have two pcap files and I want to make the difference between them. And store the difference in another pcap file. I tried diff command but it's not suitable with the binary files and I used also ...
salwa17's user avatar
  • 21
1 vote
1 answer
384 views

tcpdump: "packet exceeded snapshot"

I am using tcpdump to look into some pcap files, but in the output, I see the following error, instead of getting the header information: packet exceeded snapshot I googled it, but I couldn't find ...
Alex's user avatar
  • 121
1 vote
1 answer
258 views

Weird TCP re-transmission

My question is why a TCP flow make a re-transmission when a network has enough link bandwidth. For finding a cause, I used a wireshark. I got the below captured at a host side (10.0.0.1) 25434 50....
nimdrak's user avatar
  • 133
1 vote
1 answer
2k views

How to stream captured packets via UDP? tcpdump or other tool

I want to capture traffic or router and send it to remote host via tzcp or other udp proto. How to stream captured packets via UDP? tcpdump or other tool Use case: Linux box connected to internet ...
eri's user avatar
  • 389

15 30 50 per page