[Pool] 8-10k pps in Brazil

André R. Landim andre.landim at rnp.br
Fri May 22 19:47:38 UTC 2015

Hi Matt.

My server, ntp.cais.rnp.br, was on BR-pool. But I'm out now.
I'm running a OpenNTPD 5.5 in my server and working on update to 5.7 exactly now! ;)

I saw the same behavior some months ago. In that case, my network switch crashed with more than 55k requests just on my ntp server...

But, I have a very old switch... So, I put my server out of the pool until change/update my network switches. For now, everything is OK here, and I have now around 20k requests. Unfortunately, I don't understand this behavior too... =/

Maybe, I'm back to the BR-pool in next month.


PS: I ask excuses for my english.

Andre R. Landim

----- Mensagem original -----
De: "Matt Wagner" <mwaggy at gmail.com>
Para: "NTP Mailing List" <pool at lists.ntp.org>
Enviadas: Sexta-feira, 22 de maio de 2015 15:28:05
Assunto: [Pool] 8-10k pps in Brazil

Does anyone else here run an NTP server in Brazil? I'm wondering if you are
seeing the same crazy load I am.

For a long time I saw maybe 400 queries/second, but I got email last
weekend that I had fallen out of the pool for being unreachable. Indeed, I
couldn't even SSH in. It turns out that it's because my server (a t1.micro
instance) was dying under the load, which is close to 10,000 queries per
second right now. For giggles, I upsized to a larger instance and moved the
IP to watch what was happening on a machine that could handle the load.

Yes, I'm patched against the old monlist exploit.

$ /usr/local/bin/ntpq -c sysstat
uptime:                 77729
sysstats reset:         77729
packets received:       670434339
current version:        10573419
older version:          659857017
bad length or format:   3276
authentication failed:  7916
declined:               3
restricted:             126
rate limited:           60293937
KoD responses:          10096867
processed for time:     636

There are definitely some abusive clients, but it's not a crazy DoS from
one IP or anything. Less than 10% of requests hit rate limits, and if I
watch tcpdump or something, it's from a huge range of IPs. Only a handful
of clients have made more than 50,000 requests (over the ~77000 second
uptime), and none are way over that. Trying to profile random IPs from
tcpdump, none seem to be behaving too wildly. It seems like I'm just
serving a huge number of clients.

My bandwidth is set at 100 Mbps, which it has been at for a while. The jump
from a few hundred queries/second to 10,000 queries/second seems to have
come out of nowhere.

Is anyone else seeing this? I'm happy to keep soaking up some of the load,
but I'm not eager to pay for 50GB of NTP traffic a day for too long.
pool mailing list
pool at lists.ntp.org

More information about the pool mailing list