Page MenuHomeDevCentral

Block known datacenter ranges flooding Phabricator
Needs ReviewPublic

Authored by dereckson on Wed, Feb 11, 22:41.
Tags
None
Referenced Files
F24316325: D3947.id10227.diff
Fri, Feb 13, 23:42
F24316323: D3947.id10228.diff
Fri, Feb 13, 23:42
F24314275: D3947.id10231.diff
Fri, Feb 13, 21:54
F24314270: D3947.id10227.diff
Fri, Feb 13, 21:53
F24314269: D3947.id10228.diff
Fri, Feb 13, 21:53
F24312207: D3947.id10231.diff
Fri, Feb 13, 20:04
F24312200: D3947.id10227.diff
Fri, Feb 13, 20:04
F24312198: D3947.id10228.diff
Fri, Feb 13, 20:03
Subscribers
None

Details

Reviewers
ptdradmin
Summary

Phabricator instances receive a very large number of requests
from datacenter servers.

Pending Anubis implementation, this temporary block will mitigate
the current server load.

The ranges2geo.py utility allows to convert a text file containing
CIDR ranges into a geo block for ngx_http_geo_module.

Test Plan

Deploy on docker-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Errors
SeverityLocationCodeMessage
Errorutils/nginx/ranges2geo.py:11F401flake8 F401
Unit
No Test Coverage
Branch
flood-phabricator
Build Status
Buildable 6303
Build 6587: arc lint + arc unit

Event Timeline

dereckson created this revision.

Servers log excerpt (2026-02-11)

docker-002 22:58 dereckson: End of nginx deployment. I can confirm an IMMEDIATE impact on DevCentral, it now again serves page very quickly.

docker-002 22:56 dereckson: Deploy previous nginx changes: rm of ssl_trusted_certificate, logs by service

docker-002 22:54 dereckson: Refresh Salt modules

docker-002 22:50 dereckson: Deploy nginx geo_flood_datacenter fix for DevCentral and other Phabricator instances (D3947)

dereckson added a reviewer: ptdradmin.