You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2025/05/20 03:08:44 UTC

(skywalking-data-collect-protocol) branch master updated: Add new ztunnel detect by type for inbound connection (#110)

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 157baf3  Add new ztunnel detect by type for inbound connection (#110)
157baf3 is described below

commit 157baf3e7a9710d3041e9caec39eecab7e0c5a82
Author: mrproliu <74...@qq.com>
AuthorDate: Tue May 20 11:08:39 2025 +0800

    Add new ztunnel detect by type for inbound connection (#110)
---
 ebpf/accesslog.proto | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ebpf/accesslog.proto b/ebpf/accesslog.proto
index 4155227..5720936 100644
--- a/ebpf/accesslog.proto
+++ b/ebpf/accesslog.proto
@@ -96,6 +96,7 @@ message ZTunnelAttachmentEnvironment {
     // the real destination ip address of the connection
     string real_destination_ip = 1;
     // how the environment detected
+    // if detect by inbound, then the real destination ip is empty
     ZTunnelAttachmentEnvironmentDetectBy by = 2;
     // the security policy of the ztunnel communicate with upstream
     ZTunnelAttachmentSecurityPolicy security_policy = 3;
@@ -103,6 +104,7 @@ message ZTunnelAttachmentEnvironment {
 
 enum ZTunnelAttachmentEnvironmentDetectBy {
     ZTUNNEL_OUTBOUND_FUNC = 0;
+    ZTUNNEL_INBOUND_FUNC = 1;
 }
 
 enum ZTunnelAttachmentSecurityPolicy {