Skip to content

How does nfdump determine if a connection is established if the -a or -b or -B options are used? #566

Answered by phaag
soda-salie asked this question in Q&A
Discussion options

You must be logged in to vote

Aggregation -a is done via the 5-tuple protocol, srcip, dstip, srcport and dstport. See nfdump(1). This means, that all flows with the same 5-tuple are aggregated in a single flow with their byte and packet counters summed up. The number of flows in the new record is the number of aggregated flows. That's a single flow aggregation.
The flag -b aggregates the same way as -a does and tries to match the corresponding reverse flow with identical but reversed 5-tuple. That adds up the reverse counters in output bytes and output packets.
Flags do not play a role in aggregation or reverse mapping flows and are or'ed all together in the flags field. So if you remove the flags it does not make a d…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@soda-salie
Comment options

@soda-salie
Comment options

@phaag
Comment options

@phaag
Comment options

Answer selected by soda-salie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants