This project is read-only.

OfflinePacketDevice(Stream stream) ???

Mar 6, 2013 at 4:31 AM
Hi there,

I need to read an encrypted Pcap file. For the security reasons I cannot decrypt file to the disk and instead must decrypt it into memory and feed to the OfflinePacketDevice. The problem is that that OfflinePacketDevice constructor does not accept stream, but only path to the actual file. Thus I do not see how the file can be decrypted oh fly.

Is there any other way to achieve this?

Thank you
Mar 11, 2013 at 8:34 AM
you can create an array of packets from the stream, and then create a dump file
Mar 11, 2013 at 9:29 AM
Thanks, this is exactly what I ended up doing.