Skip to content

DoS protection#1863

Merged
AlyaGomaa merged 11 commits intodevelopfrom
alya/immune/DoS_protection
Apr 2, 2026
Merged

DoS protection#1863
AlyaGomaa merged 11 commits intodevelopfrom
alya/immune/DoS_protection

Conversation

@AlyaGomaa
Copy link
Copy Markdown
Collaborator

dds a DoSProtector class that:

  • Monitors input throughput (flows per minute) and activates when it exceeds a defined threshold (2000 flows/min).
  • Applies adaptive sampling using a quadratic formula (flows² / 20000) to determine how many flows to skip.
  • Runs sampling in time windows (60s), periodically re-evaluating traffic to decide whether to continue or stop.
  • Adds CLI logging when sampling starts, extends, or stops.

@AlyaGomaa AlyaGomaa merged commit 24a40e5 into develop Apr 2, 2026
97 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Slips Apr 2, 2026
@AlyaGomaa AlyaGomaa deleted the alya/immune/DoS_protection branch April 2, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant