Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netobserv-ebpf-agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hdacloud
netobserv-ebpf-agent
Commits
484bc416
Unverified
Commit
484bc416
authored
1 year ago
by
Mohamed S. Mahmoud
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
flow filtering default settings for cidr and action (#357)
Signed-off-by:
Mohamed Mahmoud
<
mmahmoud@redhat.com
>
parent
8a6d8ce0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/agent/config.go
+2
-2
2 additions, 2 deletions
pkg/agent/config.go
with
2 additions
and
2 deletions
pkg/agent/config.go
+
2
−
2
View file @
484bc416
...
@@ -186,7 +186,7 @@ type Config struct {
...
@@ -186,7 +186,7 @@ type Config struct {
FilterDirection
string
`env:"FILTER_DIRECTION"`
FilterDirection
string
`env:"FILTER_DIRECTION"`
// FilterIPCIDR is the IP CIDR to filter flows.
// FilterIPCIDR is the IP CIDR to filter flows.
// Example: 10.10.10.0/24 or 100:100:100:100::/64
// Example: 10.10.10.0/24 or 100:100:100:100::/64
FilterIPCIDR
string
`env:"FILTER_IP_CIDR"`
FilterIPCIDR
string
`env:"FILTER_IP_CIDR"
envDefault:"0.0.0.0/0"
`
// FilterProtocol is the protocol to filter flows.
// FilterProtocol is the protocol to filter flows.
// Example: TCP, UDP, SCTP, ICMP, ICMPv6
// Example: TCP, UDP, SCTP, ICMP, ICMPv6
FilterProtocol
string
`env:"FILTER_PROTOCOL"`
FilterProtocol
string
`env:"FILTER_PROTOCOL"`
...
@@ -214,7 +214,7 @@ type Config struct {
...
@@ -214,7 +214,7 @@ type Config struct {
FilterPeerIP
string
`env:"FILTER_PEER_IP"`
FilterPeerIP
string
`env:"FILTER_PEER_IP"`
// FilterAction is the action to filter flows.
// FilterAction is the action to filter flows.
// Possible values are "Accept" or "Reject".
// Possible values are "Accept" or "Reject".
FilterAction
string
`env:"FILTER_ACTION"`
FilterAction
string
`env:"FILTER_ACTION"
envDefault:"Accept"
`
/* Deprecated configs are listed below this line
/* Deprecated configs are listed below this line
* See manageDeprecatedConfigs function for details
* See manageDeprecatedConfigs function for details
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment