-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf - ignore samples for invalid flows (ct->status == 0)
Previously, we were sampling events related to broadcasts and multicasts that were never inserted into the conntrack table. Conntrack has protocol-specific handlers that may give some flows an early drop if tracking them doesn't make much sense. These events are now dropped, since they were cause unbounded growth in the internal bookkeeping BPF map. Another plus: the first packet of a flow no longer has an empty start timestamp!
- Loading branch information
Showing
2 changed files
with
91 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters