-
Notifications
You must be signed in to change notification settings - Fork 669
Support for eBPF based port forwarding #3067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
ev := &api.Event{Time: timestamppb.Now()} | ||
atoi, _ := strconv.Atoi(event.Port) | ||
if event.Action == trackapi.OPEN { | ||
port[0] = &api.IPPort{Ip: event.Ip.String(), Port: int32(atoi), Protocol: trackapi.ProtocolToString(event.Protocol)} |
Check failure
Code scanning / CodeQL
Incorrect conversion between integer types High
strconv.Atoi
port[0] = &api.IPPort{Ip: event.Ip.String(), Port: int32(atoi), Protocol: trackapi.ProtocolToString(event.Protocol)} | ||
ev.LocalPortsAdded = port | ||
} else { | ||
port[0] = &api.IPPort{Ip: event.Ip.String(), Port: int32(atoi), Protocol: trackapi.ProtocolToString(event.Protocol)} |
Check failure
Code scanning / CodeQL
Incorrect conversion between integer types High
strconv.Atoi
cc0d0c9
to
6683a1b
Compare
Signed-off-by: Balaji Vijayakumar <[email protected]>
Needs rebase |
What's the current status? |
Am facing issues with kubernetes when I last worked. Not able to derive a common solution there as they are removing all entries and recreating iptables. If we use kube api for kubernetes similarly we will have to do for others as well. Then this ebpf overall will be useful only for guest agent binds |
Improve port forwarding by using ebpf
Note: Test run. Locally it works. Wanted to confirm with all jobs