[bug]: network-log-analyzer reverse-flow queries join a whole day without a time window

未关闭
#310 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
aws, sql
领域
observability

调研方向

Start in references/flow-log-queries.md at the security group vs network ACL reverse-flow query and the "Unanswered SYNs" query. Both join request and response records on addresses, ports and protocol across a whole date partition. Check how start and end are used there and where the incident window is applied. Done when both subqueries filter to the window and join only on overlapping or adjacent intervals, with slack for flow-log aggregation.

由索引模型根据 Issue 内容生成。

描述

Which tool is affected?

network-log-analyzer skill (1.0.0)

Describe the bug

In references/flow-log-queries.md, the security group vs network ACL reverse-flow query and the "Unanswered SYNs" query join request and response records across a whole date partition on addresses, ports and protocol only. With client port reuse, unrelated flows can be paired. That can give a false network ACL diagnosis, or hide a SYN that was never answered.

Expected behaviour

Both subqueries keep start/end, filter to the incident window, and join only records whose intervals overlap or are adjacent, with some slack for flow-log aggregation.

Steps to reproduce
  1. Run either query over a day in which a client reuses an ephemeral port to the same server.
  2. Records from different connections are joined.
Environment details

Found by reading the skill at commit 3c50c04c9f46c96cc7b351bebff0aaed0a8d4fb3.

主要语言
Python
星标
143
派生
140
平均合并
2 天 12 小时
30 天内合并 PR
70

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/tools-for-devops-agent 的其他 Issue

查看 aws/tools-for-devops-agent 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。