Bot Defense Testing

Test Using cURL

  1. Open a terminal emulator in Client node, and create HTTP request

    $ curl -I http://app.arcadia.com
    
  2. You can see request is PASSED with ALERT

    _images/bot-a2.png

Test with cURL acting as ApacheBench

Now we set user agent identity as ApacheBench

  1. Create the request and set the User-Agent to “ApacheBench/2”

    $ curl -A "ApacheBench/2" http://app.arcadia.com
    
  2. You can see request is blocked and REJECTED and client classified as Malicious Bot

    _images/bot-b2.png

Using Firefox as GoogleBot

Now we try to use Firefox with modified user-agent.

  1. Set Firefox to pretend to be GoogleBot using User-Agent Switcher add-on

    _images/bot-c2.png

    Then click the Apply (container) button.

  2. Create request to the Arcadia Apps http://app.arcadia.com

  3. You can see the request is blocked and REJECTED and classified as Malicious Bot. You also can see bot_anomalies as Search Engine Verification Failed.

    _images/bot-c3.png