Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

How does bad User-Agent blocking work in Aegisify WAF?

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:

  • curl
  • wget
  • python-requests
  • httpclient

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-requests or 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.

2026-12-01T03:51:56+00:00January 12th, 2026||

Find this article interesting, please share.