Setting default responder parameters for a responder policy
The Citrix ADC appliance generates an undefined event (UNDEF event) when a request does not match a responder policy. The appliance then performs the default action assigned to undefined events. By default, the action forwards the request to the next feature such as load balancing, content filtering and so forth. This default behavior ensures the requests do not require any specific responder action to be sent to your Web servers. Also, the clients receive access to the content that they have requested.
If one or more websites your Citrix ADC appliance protects receive a significant number of invalid or malicious requests, however, you might want to change the default action to either reset the client connection or drop the request. In this type of configuration, you would write one or more responder policies that would match any legitimate requests, and simply redirect those requests to their original destinations. Your Citrix ADC appliance would then block any other requests as specified by the default action you configured.
You can assign any one of the following actions to an undefined event:
- NOOP.The NOOP action aborts responder processing but does not alter the packet flow. So that the appliance continues to process requests that do not match any responder policy, and eventually forwards them to the requested URL unless another feature intervenes and blocks or redirects the request. This action is appropriate for normal requests to your Web servers and is the default setting.
- RESET.If the undefined action is set to RESET, the appliance resets the client connection, informing the client that it must re-establish its session with the Web server. The action is appropriate for repeat requests for webpages that do not exist, or for connections that might be attempts to hack or probe your protected websites.
- DROP.如果未定义的行动将下降,达成iance silently drops the request without responding to the client in any way. This action is appropriate for requests that appear to be part of a DDoS attack or other sustained attack on your servers.
Note:UNDEF events are triggered only for client requests. No UNDEF events are triggered for responses.
To set the undefined action by using the Citrix ADC command line:
At the command prompt, type the following command to set the undefined action and verify the configuration:
set responder param -undefAction (RESET|DROP|NOOP)
show responder param
Example:
>set responder param -undefAction RESET Done > show responder param Action Name: RESET Done >
Set the undefined action by using the GUI
- Navigate toAppExpert>Responder, and then underSettings, click theChange Responder Settingslink.
In theSet Responder Paramspage, set the following parameters:
- Global Undefined-Result Action. Undefined-result action is preferred in an unhandled processing exception in the responder policies and actions. SelectNOOP,RESET, orDROP.
- ClickOK.