Skip to content
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

Is it possible to know if a flow contained fragmented traffic? #497

Closed
hacel opened this issue Dec 26, 2023 · 6 comments
Closed

Is it possible to know if a flow contained fragmented traffic? #497

hacel opened this issue Dec 26, 2023 · 6 comments
Assignees
Labels
enhancement improve code, speed, quality Feature request Feature request

Comments

@hacel
Copy link

hacel commented Dec 26, 2023

There's fragmentFlags but I'm not sure how to access this field through nfdump or any other tool. Does nfdump collect IP flags?

@phaag
Copy link
Owner

phaag commented Dec 26, 2023

Up to now it does not. If you think, this may be useful, I can certainly check for an implementation. It would definitely help, if you habe such an exporter, exporting these flags, to send me a few minutes worth of pcaps, sent to the collector for proper testing and for other options to implement. If this works for you, send it to my email in the AUTHORS file. All data is treated confidential..

@phaag phaag added enhancement improve code, speed, quality Feature request Feature request labels Dec 26, 2023
@phaag phaag self-assigned this Dec 26, 2023
@hacel
Copy link
Author

hacel commented Dec 26, 2023

Are you asking for pcaps of fragmented IP traffic or a NetFlow pcap export with information that would indicate that flows contained fragmented traffic? The latter I am not sure how I would go about acquiring. Is ‘fragmentFlags’ the correct way to indicate this information?

@phaag
Copy link
Owner

phaag commented Dec 26, 2023

Sorry for being not clear enough. It's a pcap of the traffic sent to the collector. For example, if it listens on port 12335 coming in through eth0 it would be tcpdump -n -i eth0 -w flows.pcap -s 1600 port 12345
I am interested to see what your exporter sends.

@hacel
Copy link
Author

hacel commented Dec 26, 2023

I unfortunately do not have or know of an exporter capable of indicating whether the flows it is producing contain fragmented traffic. To be clear, nfpcapd is not currently able to indicate fragmentation in flows, correct?

@phaag
Copy link
Owner

phaag commented Dec 26, 2023

No - nfpcapd does not. However, if I would implement the fragmentation flags tag #197 - then this would also apply to nfpcapd as a consequence. If this would help, I am glad to do so.

@hacel
Copy link
Author

hacel commented Dec 26, 2023

Thank you. I would not want to waste your time with this as this it is not deeply important to me. I’m going to close this issue since you have answered my question.

@hacel hacel closed this as completed Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve code, speed, quality Feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants