Create a Respondwith action to deny access to the requested URL

Added by Gaurav Joshua Vaz , last edited by Gaurav Joshua Vaz on Jan 10, 2008  (view change)
Tags: 

An overview of the Responder feature's Respondwith action and creation of a respondwith action to send an error message back to the client IP address denying access to the requested URL

Summary

All responder tasks are configured on the system using responder actions. These actions are then associated with responder policies that are activated based on incoming traffic and the configured policy rules. When a responder policy is activated, the corresponding responder action is carried out.
A respondwith action is used to send an HTTP string as a response to a client.
The following table describes the parameters you must configure to create a respondwith action

Parameter
Description
Name    The name of the action. This is a mandatory parameter and cannot be changed. The action name must not exceed 31 characters.
Type    The type of responder action being configured. This parameter determines the behaviour of the responder action. You can choose to respond to the client or redirect the client elsewhere.
Select the 'Respondwith' responder action type to send the configured target string to the client.
Target    This parameter contains the HTTP string to be sent as a response to the client.

The following procedure describes steps to create a Respondwith action that sends an HTTP/1.1 200OK response to the client, along with an error message indicating that the client IP is not authorized to access the requested URL.

To create a respondwith action

  1. In the left pane, expand Protection Features, then expand Responder and click Actions. The Responder Actions page appears in the right pane.
  2. Click Add. The Create Responder Action dialog box appears.
  3.  
  4. In the Name text box, type the name of the responder action, for example Action-Responder-1.
  5. Under Type, select Respond with.
  6. In the Target text area, type "HTTP/1.1 200 OK\r\n\r\n" + "Client: " + CLIENT.IP.SRC + " is not authorized to access URL:" + HTTP.REQ.URL.HTTP_URL_SAFE
  7. Click Create, then click Close. The responder action you created appears in the Responder Actions page.