You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update ebpf-agent dependency
go get github.com/netobserv/netobserv-ebpf-agent@latest
go get github.com/netobserv/flowlogs-pipeline/pkg/pipeline
go mod vendor
* Fix Generic related build issues
* Add Flags fields to decode_protobuf
* Rename test funcions
* Handle FIN_ACK
* Add a test for MoveToFront
* Validate TCPFlags field name is not empty
* Add correct direction
* Add test case for mismatch of AB field count
* Add operational metric for tcp flags
* Rename CorrectDirection -> SwapAB
* Change test
* Update README
* Add json tag to conntrack api
* Update docs
* Rename variable
* Make linter happy
* Make linter happy
Subjects() has been deprecated in Go 1.18:
golang/go#46287
* Enable SwapAB only when the feature flag is set
* Fix rebase errors
* NETOBSERV-838 fix IsDuplicate
* Add missing 'omitempty'
* Add parenthesis for clarity
* Add tests for IsDuplicate()
---------
Co-authored-by: Julien Pinsonneau <[email protected]>
Copy file name to clipboardExpand all lines: pkg/api/conntrack.go
+68-28Lines changed: 68 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -28,33 +28,33 @@ const (
28
28
)
29
29
30
30
typeConnTrackstruct {
31
-
// TODO: should by a pointer instead?
32
-
KeyDefinitionKeyDefinition`yaml:"keyDefinition,omitempty" doc:"fields that are used to identify the connection"`
33
-
OutputRecordTypes[]string`yaml:"outputRecordTypes,omitempty" enum:"ConnTrackOutputRecordTypeEnum" doc:"output record types to emit"`
34
-
OutputFields[]OutputField`yaml:"outputFields,omitempty" doc:"list of output fields"`
35
-
Scheduling[]ConnTrackSchedulingGroup`yaml:"scheduling,omitempty" doc:"list of timeouts and intervals to apply per selector"`
36
-
MaxConnectionsTrackedint`yaml:"maxConnectionsTracked,omitempty" doc:"maximum number of connections we keep in our cache (0 means no limit)"`
31
+
KeyDefinitionKeyDefinition`yaml:"keyDefinition,omitempty" json:"keyDefinition,omitempty" doc:"fields that are used to identify the connection"`
32
+
OutputRecordTypes[]string`yaml:"outputRecordTypes,omitempty" json:"outputRecordTypes,omitempty" enum:"ConnTrackOutputRecordTypeEnum" doc:"output record types to emit"`
33
+
OutputFields[]OutputField`yaml:"outputFields,omitempty" json:"outputFields,omitempty" doc:"list of output fields"`
34
+
Scheduling []ConnTrackSchedulingGroup`yaml:"scheduling,omitempty" json:"scheduling,omitempty" doc:"list of timeouts and intervals to apply per selector"`
35
+
MaxConnectionsTrackedint`yaml:"maxConnectionsTracked,omitempty" json:"maxConnectionsTracked,omitempty" doc:"maximum number of connections we keep in our cache (0 means no limit)"`
36
+
TCPFlagsConnTrackTCPFlags`yaml:"tcpFlags,omitempty" json:"tcpFlags,omitempty" doc:"settings for handling TCP flags"`
Selectormap[string]interface{} `yaml:"selector,omitempty" doc:"key-value map to match against connection fields to apply this scheduling"`
88
-
EndConnectionTimeoutDuration`yaml:"endConnectionTimeout,omitempty" doc:"duration of time to wait from the last flow log to end a connection"`
89
-
HeartbeatIntervalDuration`yaml:"heartbeatInterval,omitempty" doc:"duration of time to wait between heartbeat reports of a connection"`
87
+
Selectormap[string]interface{} `yaml:"selector,omitempty" json:"selector,omitempty" doc:"key-value map to match against connection fields to apply this scheduling"`
88
+
EndConnectionTimeoutDuration`yaml:"endConnectionTimeout,omitempty" json:"endConnectionTimeout,omitempty" doc:"duration of time to wait from the last flow log to end a connection"`
89
+
HeartbeatIntervalDuration`yaml:"heartbeatInterval,omitempty" json:"heartbeatInterval,omitempty" doc:"duration of time to wait between heartbeat reports of a connection"`
0 commit comments