This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch reduce-handle-connect-time
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/reduce-handle-connect-time by 
this push:
     new 43f9657  update conntrack
43f9657 is described below

commit 43f9657623370163b8e5f7b8a9bbbd56489c3678
Author: mrproliu <[email protected]>
AuthorDate: Sat Dec 28 13:11:43 2024 +0800

    update conntrack
---
 pkg/tools/ip/conntrack.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pkg/tools/ip/conntrack.go b/pkg/tools/ip/conntrack.go
index 4c33b4c..e8c7487 100644
--- a/pkg/tools/ip/conntrack.go
+++ b/pkg/tools/ip/conntrack.go
@@ -61,6 +61,9 @@ func NewConnTrack() (*ConnTrack, error) {
                go func() {
                        for {
                                e := <-evCh
+                               if e.Flow.TupleOrig.Proto.DestinationPort == 53 
{
+                                       continue
+                               }
                                log.Infof("conntrack: type: %s, origin: 
%s:%d->%s:%d, reply: %s:%d->%s:%d", e.Type,
                                        e.Flow.TupleOrig.IP.SourceAddress, 
e.Flow.TupleOrig.Proto.SourcePort,
                                        e.Flow.TupleOrig.IP.DestinationAddress, 
e.Flow.TupleOrig.Proto.DestinationPort,

Reply via email to