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

Aperta
#310 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, sql
Ambito
observability

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
143
Fork
140
Merge medio
2g 12h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/tools-for-devops-agent

Tutte le issue di aws/tools-for-devops-agent

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.