This is our old Q&A Site. Please post any new questions and answers at

I would like to know if libpcap latest version (1.8.1) support writing pcapng format ? From reading different blogs, I see it supports only reading pcapng format. However I see that wireshark supports both read/write pcapng. So, Has wireshark implemented writing in pcapng format ?.

Kindly let me know. Thanks

asked 02 Jun '17, 03:36

subhashmohan's gravatar image

accept rate: 0%

edited 02 Jun '17, 03:37

Wireshark has supported reading and writing in pcap-ng for a long time. Wireshark has its own code to read and write pcap-ng files. As far as I know libpcap does not support writing pcap-ng files. Questions abou that are better asked on tcpdump mailing lists.

permanent link

answered 02 Jun '17, 05:37

Anders's gravatar image

Anders ♦
accept rate: 17%

Thanks will check with tcpdump mailing lists..

(02 Jun '17, 05:51) subhashmohan

I would like to know if libpcap latest version (1.8.1) support writing pcapng format ?


permanent link

answered 02 Jun '17, 19:08

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 02 Jun '17, 03:36

question was seen: 2,116 times

last updated: 02 Jun '17, 19:08

p​o​w​e​r​e​d by O​S​Q​A