gophercap icon indicating copy to clipboard operation
gophercap copied to clipboard

Feature Request - pcapng support

Open zoomequipd opened this issue 2 years ago • 1 comments

Currently when reading a pcapng formatted file, gophercap errors out

ERRO[0000] infile open: Unknown magic a0d0d0a           

Is it possible to add support for pcapng formatted files?

zoomequipd avatar Apr 06 '22 18:04 zoomequipd

Hmm, tested pcapgo.NgReader without much success. Trying to create a reader with a0d0d0a file magic sample just gave me EOF error. Other sample captures I tried to produce game me other file magics entirely.

Need to do more research on pcapng file formats as I don't normally use them. Would it be possible to provide a small sample file to test with?

markuskont avatar May 06 '22 19:05 markuskont