This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new 4f3b17e Adding attachment fields to describe the environment in eBPF
ALS (#99)
4f3b17e is described below
commit 4f3b17e1b0b3c3dcc0e1ed3da86efaac785ea157
Author: mrproliu <[email protected]>
AuthorDate: Sat Sep 14 10:25:03 2024 +0800
Adding attachment fields to describe the environment in eBPF ALS (#99)
---
ebpf/accesslog.proto | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/ebpf/accesslog.proto b/ebpf/accesslog.proto
index 5678ac1..017b0fd 100644
--- a/ebpf/accesslog.proto
+++ b/ebpf/accesslog.proto
@@ -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 {