Every request includes a User-Agent string that names the software making it. Browsers send long, detailed strings; scripts and attack tools often send short, tell-tale ones. Bad User-Agent blocking in Aegisify WAF → Abuse & Bots (Pro) blocks requests whose User-Agent contains a listed token.
Default list
Blocking is enabled by default with these tokens:
curlwgetpython-requestshttpclient
Matching is a simple “contains” check, so python-requests/2.31 matches python-requests.
Editing the list
Add one token per line. Good candidates are names of scanners or scraping libraries you see in Top User-Agents that never belong to real visitors.
Be careful with integrations
Some legitimate services use these tools:
- Uptime monitors and health checks may use
curl. - Your own scripts or a partner integration may use
python-requestsor another HTTP client. - Some backup or deployment services call the site with generic clients.
If a trusted service is blocked, remove the token or exempt that service’s address in the Block / White List tab.
Limits of User-Agent blocking
User-Agent text can be changed by anyone, so determined attackers can disguise their tools. Treat this control as a cheap filter that removes low-effort traffic, and rely on managed rules, rate limits, and DDoS thresholds for real protection.
Related: Abuse & Bots overview, Bot analytics charts.
