Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2025 09:44:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289661] system gets unresponsive after syn flooding  (libalias)
Message-ID:  <bug-289661-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289661

            Bug ID: 289661
           Summary: system gets unresponsive after syn flooding
                    (libalias)
           Product: Base System
           Version: 14.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pmc@citylink.dinoex.sub.org

After one of my Internet-facing systems went unresponsive, I found that
libalias does apparently treat initial TCP-connects wrong: after only two steps
of the three-way-handshake have completed, it considers the flow as established
and keeps it in memory (for a day). Appaently the machine (single-core) had
become entirely busy scanning that list.

I am not up-to-date with the various "tcp fastopen" proposals, and inhowfar
these might change the three-way-handshake, so I simply changed libalias to
await all three steps. This could certainly still be flooded deliberately, but
at least it gets rid of those guys who send me a few million syn-packets over
the day out of mere boredom.

Version: the incident happened with 13.5, but I don't see any difference to
14.3 (and my systems are now upgraded).

Patch follows.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289661-227>