Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only sample conns inserted into the conntrack table #34

Merged
merged 3 commits into from
Apr 21, 2020

Conversation

ti-mo
Copy link
Owner

@ti-mo ti-mo commented Apr 21, 2020

This is an important bugfix, any users are highly encouraged to upgrade.

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!

ti-mo added 3 commits April 21, 2020 14:02
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!
@ti-mo ti-mo added this to the 0.3.0 milestone Apr 21, 2020
@ti-mo ti-mo self-assigned this Apr 21, 2020
@ti-mo ti-mo merged commit a18175c into master Apr 21, 2020
@ti-mo ti-mo deleted the drop-invalid-conn-samples branch April 21, 2020 12:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant