Skip to content

Commit

Permalink
Adding attachment fields to describe the environment in eBPF ALS (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu authored Sep 14, 2024
1 parent 96e6e85 commit 4f3b17e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ebpf/accesslog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,27 @@ message AccessLogConnection {
AccessLogConnectionTLSMode tlsMode = 4;
// application protocol type
AccessLogProtocolType protocol = 5;
// the attachment information about the connection
ConnectionAttachment attachment = 6;
}

message ConnectionAttachment {
// detect contains the environment information
oneof environment {
// detect the connection have a zTunnel environment(ambient istio)
ZTunnelAttachmentEnvironment zTunnel = 1;
}
}

message ZTunnelAttachmentEnvironment {
// the real destination ip address of the connection
string real_destination_ip = 1;
// how the environment detected
ZTunnelAttachmentEnvironmentDetectBy by = 2;
}

enum ZTunnelAttachmentEnvironmentDetectBy {
ZTUNNEL_OUTBOUND_FUNC = 0;
}

message ConnectionAddress {
Expand Down

0 comments on commit 4f3b17e

Please sign in to comment.