-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate an error if -R option is provided without the -r option. #237
Comments
I believe that connections found in files read with The idea is that you could record a PCAP file every hour, and run tcpflow with -r for hour n and -R for hour n+1. Repeat. That way each TCP connection appears only in a single location. |
Please feel free to improve the documentation and give a pull request! |
Thanks for the feedback. We have the same understanding of the documentation then. But why
Is this because tcpflow -R for (n).pcap is not aware of these sessions were being open/detected in the earlier pcap file (n-1).pcap with This is what I ran first (n-1):
Then for (n):
|
Using |
We're trying to process a series of .pcap files captured over time and hoped we could use tcpflow for both extracting the payloads and keeping track of the sessions' states at the same time using the written DFXML.
From the man page I understood that using
-R
on the next file (n) should complete TCP flows. Unfortunately it is not really clear what this exactly means and if this should have effect on previously written flow files for open flows and/or the DFXML.I expected
-R
it to look for closing flows (with TCP FIN or RST) and to either append/complete the existing flow files with the remaining payload or writing new ones with %c suffix while ignoring continuing/not closing flow. But maybe I completely missed the point of what-R
should do.Also, whenever I use
-R
, the DFXML does not contain any flows or references to flow files, and also with-v
I don't see any files getting accessed or written, it does not seem to do anything:whereas with
-r
i get flow files written and a summary likeCould you please explain what
-R
should exactly and if I should see something in the DFXML?The text was updated successfully, but these errors were encountered: