Possible SYN flooding on port 80. Sending cookies. Networking Origin: Network OSI layer 4 · Transport Last updated 5 Nov 2026

Networking: TCP: request_sock_TCP: Possible SYN flooding on port 80. Sending cookies. Check SNMP counters.

The server's pending-connection queue filled, so the kernel switched to SYN cookies to survive.

Exact message you may see Possible SYN flooding on port 80TCP: request_sock_TCP: Possible SYN floodingSending cookies. Check SNMP counters.
Seen on: Linux Networking

Meaning

It can be a real SYN flood or just a traffic spike with a small backlog. Raise net.core.somaxconn and net.ipv4.tcp_max_syn_backlog, keep tcp_syncookies=1, rate limit with the firewall or a CDN/WAF, and check the application accepts connections quickly.

Common causes

  • Actual SYN flood attack
  • Traffic spike with small listen backlog
  • Slow accept() loop in the application
  • No CDN/rate limiting in front
  • Low tcp_max_syn_backlog

⚡ Quick fix

  1. Keep net.ipv4.tcp_syncookies=1
  2. Raise somaxconn and tcp_max_syn_backlog
  3. Rate limit or move behind a CDN/WAF

Detailed fix by platform

Linux

  1. bash
    sysctl net.ipv4.tcp_syncookies net.ipv4.tcp_max_syn_backlog net.core.somaxconn
    netstat -s | grep -i "SYNs to LISTEN"

How to diagnose

  1. Source — Attack or spike?
  2. Backlog — Large enough?
  3. SYN cookies — On?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

Cannot assign requested address (EADDRNOTAVAIL) — Networking: connect: Cannot assign requested address — ephemeral port range exhausted by TIME_WAIT connections (Networking)Cannot assign request…Cloudflare 502 — Cloudflare-branded 502 Bad Gateway / 504 Gateway Timeout ("cloudflare" footer) (Cloudflare)Cloudflare 502Connections hang on large transfers (PMTU black hole) — Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole (Networking)Connections hang on l…Many sockets in CLOSE_WAIT — Networking: Thousands of sockets in CLOSE_WAIT — the application is not closing its side of the connection (Networking)Many sockets in CLOSE…nc/telnet hangs: firewall DROP vs REJECT — Networking: nc -vz hangs then times out — firewall silently DROPs packets (REJECT would answer "Connection refused") (Networking)nc/telnet hangs: fire…nf_conntrack: table full, dropping packet — Networking: kernel: nf_conntrack: table full, dropping packet — new connections fail on a Linux firewall/NAT host (Networking)nf_conntrack: table f…TCP ZeroWindow / TCP Window Full — Networking: Wireshark: TCP ZeroWindow, TCP Window Full — the receiver can't keep up and tells the sender to stop (Networking)TCP ZeroWindow / TCP …times the listen queue of a socket overflowed — Networking: netstat -s: 1523 times the listen queue of a socket overflowed — accept queue full, connections dropped (Networking)times the listen queu…Possible …

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.