-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BPF] make conntrack timeouts configurable
BPFConntrackTimers overides the default values for the specified conntrack timer if set. It is a struct of values, where each value can be either a duration or `auto` to pick the value from a Linux conntrack timeout. Possible values for the keys are: CreationGracePeriod, TCPPreEstablished, TCPEstablished, TCPFinsSeen, TCPResetSeen, UDPLastSeen, GenericIPLastSeen, ICMPLastSeen. Unset or incorrect values are replaced by the default values with a warning log for incorrect values. Current auto mappings: TCPPreEstablished: nf_conntrack_tcp_timeout_syn_sent TCPEstablished: nf_conntrack_tcp_timeout_established TCPFinsSeen: nf_conntrack_tcp_timeout_time_wait GenericIPLastSeen: nf_conntrack_generic_timeout ICMPLastSeen: nf_conntrack_icmp_timeout If there is no mapping, 'auto' is replaced by the default value. [Default: CreationGracePeriod: 10s TCPPreEstablished: 20s TCPEstablished: 1h TCPFinsSeen: auto (30s is default) TCPResetSeen: 40s UDPLastSeen: 60s GenericIPLastSeen: 10m ICMPLastSeen: 5s ]
- Loading branch information
1 parent
810091a
commit 2413c56
Showing
20 changed files
with
746 additions
and
3 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.