aws / aws-network-policy-agent

Apache License 2.0
45 stars 29 forks source link

Conntrack cleanup logs doesn't show the right formatted IP address #110

Closed jaydeokar closed 9 months ago

jaydeokar commented 1 year ago

Conntrack cleanup logs v4 cleanup and v6 cleanup doesn't convert the log to Ipv4 address/ Ipv6 address while logging to output.

{"level":"info","ts":"2023-10-19T20:17:41.937Z","logger":"ebpf-client","caller":"wait/backoff.go:227","msg":"Conntrack cleanup","Delete - ":{"Source_ip":3105169324,"Source_port":57218,"Dest_ip":1261724682,"Dest_port":80,"Protocol":6}}
{"level":"info","ts":"2023-10-19T20:17:41.937Z","logger":"ebpf-client","caller":"wait/backoff.go:227","msg":"Conntrack cleanup","Delete - ":{"Source_ip":1009393580,"Source_port":38396,"Dest_ip":3105169324,"Dest_port":80,"Protocol":6}}
jdn5126 commented 9 months ago

Closing as fixed by #177