Replies: 1 comment 17 replies
-
|
Hey there! I do not think overloading NFStream with writing into PCAP while organizing packets into flow records is a good idea. It can negatively impact its performance. Did you try using n2disk? https://www.ntop.org/products/traffic-recording-replay/n2disk/ This is probably what you are looking for. I have managed to capture PCAP files with size over 10 GB. Although, after you reach your memory cap, the speed of your disk (I/O performance) becomes a bottleneck. |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
tcpdump/libpcap only allows 2GB packet capture files. Presumably, you could end up with a TCP flow that spans two different 2GB files. Processing these with nfstream would produce two truncated flows instead of one, I think?
Can it be possible to use nfstream to do a live capture off an interface, which produces flow objects with NFStreamer, but also writes pcap files to disk when they hit a certain size (I need these for a different application)?
The live capture should be able to receive a tcpdump filter, e.g. 'tcp and port not 51413'
Beta Was this translation helpful? Give feedback.
All reactions