tcpdump mailing list archives

save PCAP packets into a file


From: Alokat <mailing () alokat org>
Date: Wed, 22 Jun 2011 19:48:08 +0200

Hi guys,

I have to save some pcap packets into a file for later analyzing.

But I have some problems with creating the pcap file for it.
Do I have to call first functions like fopen() to create a dump file?
Cause pcap_open_offline crashes if there is no file available under:
const char* fname

Regards,
Fritjof
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: