From: Rich Brown <richb.hanover@gmail.com>
To: bloat <bloat@lists.bufferbloat.net>,
cerowrt-devel <cerowrt-devel@lists.bufferbloat.net>,
make-wifi-fast@lists.bufferbloat.net
Subject: [Cerowrt-devel] Connection limits at netperf.bufferbloat.net
Date: Sun, 22 Jan 2017 09:38:36 -0500 [thread overview]
Message-ID: <10DEE4A8-E687-46F5-809B-EFD838B2820B@gmail.com> (raw)
Hi folks,
My bandwidth bill for netperf.bufferbloat.net was creeping up (exceeding the 4 TByte/month default for my VPS). It's easy to buy more bandwidth, but...
Analysis of the logs show there are many IP addresses (remarkably, a large number in Portugal) that were establishing >1000 netperf connections per hour (most hosts were creating exactly 1080 connections/hour, every hour for days at a time, also remarkable).
I had created a script that would analyze the log files and block the heavy users in iptables. This worked for a while (~6 months) but the tide keeps coming in, and I needed a new algorithm.
I have just (within the last hour) implemented an iptables filter that blocks new connections after it has received 20 connections within 120 seconds. It seems to work in my simple testing [1]
I write to you because:
1) I've changed the test server for many people. I'm hopeful that it isn't a big change, but I want to alert you to the possibility of different results.
2) If this affects your test regime(s), let's talk about whether there's a way to tweak the filter
Many thanks!
Rich
[1] Test procedure
- sh betterspeedtest.sh -t 10 # 10 seconds, normal settings, worked as expected
- sh betterspeedtest.sh -t 10 -n 100 # 100 simultaneous connections, upload test failed (speed=0Mbps)
- Wait three minutes
- sh betterspeedtest.sh -t 10 # 10 seconds, worked again
reply other threads:[~2017-01-22 14:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10DEE4A8-E687-46F5-809B-EFD838B2820B@gmail.com \
--to=richb.hanover@gmail.com \
--cc=bloat@lists.bufferbloat.net \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=make-wifi-fast@lists.bufferbloat.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox