The AT&T BGW320 drops new incoming connections over 50 a second. It does this even in IP Passthrough mode, and there's no setting to change it. From about 2026-11-23, a crawler on code.lotusguild.org kept that limit full:
About 2 million requests a day.
400,000 to 800,000 different home IPs a day.
Mostly milestone and issue filter combinations.
What that broke:
Sia (9984) was unreachable from the internet.
Outside users found Matrix and Jellyfin slow.
Everything looked fine from inside, because hairpin traffic never reaches the modem. Gandalf was already counting the drops but showed them only as a number on the panel.
Proof it was the limit: a UDM reboot cleared the load for a few hours and Siascan passed. When the 443 sessions came back, the limit filled again and Siascan failed again. Turning on Cloudflare's proxy for the Gitea hostname is the fix.
What changes
Alert:Modem dropping new incoming connections (flood limit), a P2 ticket with a Cleared note.
Raised when 2 complete hours in a row each log 1,500 or more flood drops. The log's ceiling is about 1,800 an hour.
The hour still filling doesn't count, and an hour missing from the log counts as quiet.
Clears once a complete hour logs under 500. Counts more than an hour old decide nothing.
The ticket names the busiest inbound ports from the modem's session table.
Needs attention: shows the same condition, with the busiest inbound port.
NAT check: now counts incoming sessions to the public IP by destination port (modem.parse_inbound_ports). The panel shows this as "Busiest inbound port".
Firewall counts: kept for 14 days instead of 24 hours, so the start of a flood is still on record. They're charted per hour on the WAN / Fiber panel, with the full-limit line marked.
README updated.
Checks
Linters: 740 tests pass. flake8 and the dash check are clean; bandit reports only an old warning.
Replay against live prod data using the branch's modules:
The limit was found full for 8 hours (since 15:00 modem time).
Busiest inbound port: TCP 443, 1,310 sessions from 792 addresses.
The Needs attention entry rendered as expected.
Expect a ticket on deploy: the limit is full right now, so a ticket will open soon after deploy. It clears once the Cloudflare change has drained the direct connections.
## Why
The AT&T BGW320 drops new incoming connections over 50 a second. It does this even in IP Passthrough mode, and there's no setting to change it. From about 2026-11-23, a crawler on `code.lotusguild.org` kept that limit full:
- About 2 million requests a day.
- 400,000 to 800,000 different home IPs a day.
- Mostly milestone and issue filter combinations.
What that broke:
- Sia (9984) was unreachable from the internet.
- Outside users found Matrix and Jellyfin slow.
Everything looked fine from inside, because hairpin traffic never reaches the modem. Gandalf was already counting the drops but showed them only as a number on the panel.
Proof it was the limit: a UDM reboot cleared the load for a few hours and Siascan passed. When the 443 sessions came back, the limit filled again and Siascan failed again. Turning on Cloudflare's proxy for the Gitea hostname is the fix.
## What changes
- **Alert:** *Modem dropping new incoming connections (flood limit)*, a P2 ticket with a Cleared note.
- Raised when 2 complete hours in a row each log 1,500 or more flood drops. The log's ceiling is about 1,800 an hour.
- The hour still filling doesn't count, and an hour missing from the log counts as quiet.
- Clears once a complete hour logs under 500. Counts more than an hour old decide nothing.
- The ticket names the busiest inbound ports from the modem's session table.
- **Needs attention:** shows the same condition, with the busiest inbound port.
- **NAT check:** now counts incoming sessions to the public IP by destination port (`modem.parse_inbound_ports`). The panel shows this as "Busiest inbound port".
- **Firewall counts:** kept for 14 days instead of 24 hours, so the start of a flood is still on record. They're charted per hour on the WAN / Fiber panel, with the full-limit line marked.
- **README** updated.
## Checks
- **Linters:** 740 tests pass. flake8 and the dash check are clean; bandit reports only an old warning.
- **Replay against live prod data** using the branch's modules:
- The limit was found full for 8 hours (since 15:00 modem time).
- Busiest inbound port: TCP 443, 1,310 sessions from 792 addresses.
- The Needs attention entry rendered as expected.
- **Expect a ticket on deploy:** the limit is full right now, so a ticket will open soon after deploy. It clears once the Cloudflare change has drained the direct connections.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The BGW320 drops new incoming connections over 50 a second, even in IP
Passthrough, with no setting to change it. From 2026-11-23 a crawler on the
Gitea site kept that limit full: Sia was unreachable from the internet and
outside users found Matrix and Jellyfin slow, while everything looked fine
from inside. Gandalf already counted the drops but never acted on them.
- modem.flood_saturation / flood_cleared: full when 2 complete hours in a
row each log 1,500 or more flood drops (the log's ceiling is about 1,800),
clear once a complete hour logs under 500.
- monitor._process_inbound_flood raises "Modem dropping new incoming
connections (flood limit)" (P2 ticket, Cleared note) and names the
busiest inbound ports; Needs attention shows it too.
- NAT check now counts incoming sessions to the public IP by port
(modem.parse_inbound_ports), shown as "Busiest inbound port" on the panel.
- Firewall drop counts are kept for 14 days instead of 24 hours, charted
per hour on the WAN / Fiber panel with the full-limit line.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
jared
scheduled this pull request to auto merge when all checks succeed 2026-11-27 23:19:28 -05:00
jared
merged commit 880e6a2701 into main2026-11-27 23:19:29 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
The AT&T BGW320 drops new incoming connections over 50 a second. It does this even in IP Passthrough mode, and there's no setting to change it. From about 2026-11-23, a crawler on
code.lotusguild.orgkept that limit full:What that broke:
Everything looked fine from inside, because hairpin traffic never reaches the modem. Gandalf was already counting the drops but showed them only as a number on the panel.
Proof it was the limit: a UDM reboot cleared the load for a few hours and Siascan passed. When the 443 sessions came back, the limit filled again and Siascan failed again. Turning on Cloudflare's proxy for the Gitea hostname is the fix.
What changes
modem.parse_inbound_ports). The panel shows this as "Busiest inbound port".Checks
🤖 Generated with Claude Code