This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
filter-action
The following operations can be performed on “filter-action”:
unset filter action
Use this command to remove filter action settings.Refer to the set filter action command for meanings of the arguments.
Synopsis
unset filter action
add filter action
Creates a content filtering action. This action can be associated with a content filtering policy that is created with the add filter policy command. Note: The following content filtering actions are available by default:
- RESET - Sends a TCP reset for the HTTP requests.
- DROP - Drops the HTTP requests silently, without sending a TCP FIN for closing the connection.
Synopsis
add filter action
Arguments
name Name for the filtering action. Must begin with a letter, number, or the underscore character (_). Other characters allowed, after the first character, are the hyphen (-), period (.) hash (#), space ( ), at sign (@), equals (=), and colon (:) characters. Choose a name that helps identify the type of action. The name of a filter action cannot be changed after it is created.
CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my action” or ‘my action’).
qual Qualifier, which is the action to be performed. The qualifier cannot be changed after it is set. The available options function as follows: ADD - Adds the specified HTTP header. RESET - Terminates the connection, sending the appropriate termination notice to the user’s browser. FORWARD - Redirects the request to the designated service. You must specify either a service name or a page, but not both. DROP - Silently deletes the request, without sending a response to the user’s browser. CORRUPT - Modifies the designated HTTP header to prevent it from performing the function it was intended to perform, then sends the request/response to the server/browser. ERRORCODE. Returns the designated HTTP error code to the user’s browser (for example, 404, the standard HTTP code for a non-existent Web page).
Possible values: reset, add, corrupt, forward, errorcode, drop
serviceName Service to which to forward HTTP requests. Required if the qualifier is FORWARD.
value
String containing the header_name and header_value. If the qualifier is ADD, specify
respCode Response code to be returned for HTTP requests (for use with the ERRORCODE qualifier). Minimum value: 1
page HTML page to return for HTTP requests (For use with the ERRORCODE qualifier).
Example
add filter action bad_url_action errorcode 400 “<HTML>Bad URL.</HTML>” add filter action forw_action FORWARD service1 add filter action add_header_action add “HEADER:value”
rm filter action
Removes a content filtering action.
Synopsis
rm filter action
Arguments
name Name of the content filter action to be removed.
Example
rm filter action filter_action_name
show filter action
Displays information about available filtering actions.
Synopsis
show filter action [
Arguments
name Name of the content filtering action to be displayed. If a name is not provided, information about all filter actions is shown.
Output
qual Qualifier, which is the action to be performed. The qualifier cannot be changed after it is set. The available options function as follows: ADD - Adds the specified HTTP header. RESET - Terminates the connection, sending the appropriate termination notice to the user’s browser. FORWARD - Redirects the request to the designated service. You must specify either a service name or a page, but not both. DROP - Silently deletes the request, without sending a response to the user’s browser. CORRUPT - Modifies the designated HTTP header to prevent it from performing the function it was intended to perform, then sends the request/response to the server/browser. ERRORCODE. Returns the designated HTTP error code to the user’s browser (for example, 404, the standard HTTP code for a non-existent Web page).
serviceName The service to which HTTP requests are forwarded. This parameter will exist when the qualifier is FORWARD.
value The string containing the header_name and header_value. When the qualifier is ADD it will have header_name:header_value. When the qualifier is Corrupt this will have header_name.
respCode The response code to be returned for HTTP requests. This parameter will exist when the qualifier is ERRORCODE.
page The HTML page that will be returned for the HTTP requests. This parameter will exist when the qualifier is ERRORCODE.
stateflag isDefault A value of true is returned if it is a default filteraction.
flag builtin feature The feature to be checked while applying this config
devno count
Example
Example 1 The following shows an example of the output of the show filter action command when no filter actions have been defined: 1) Name: RESET Filter Type: reset 2) Name: DROP Filter Type: drop Done
Example 2 The following command creates a filter action: add filter action bad_url_action errorcode 400 “<HTML>Bad URL.</HTML>” The following shows an example of the output of the show filter action command after the previous command has been issued: Name: bad_url_action Filter Type: errorcode StatusCode: 400 Response Page: <HTML>Bad URL.</HTML> Done
set filter action
Modifies an existing content filtering action.
Synopsis
set filter action
Arguments
name Name of the content filtering action to be modified.
serviceName Service to which to forward HTTP requests. Required if the qualifier is FORWARD.
value
String containing the header_name and header_value. If the qualifier is ADD, specify
respCode Response code to be returned for HTTP requests (for use with the ERRORCODE qualifier). Minimum value: 1
page HTML page to return for HTTP requests (For use with the ERRORCODE qualifier).
Example
set filter action bad_url_action -respcode 400 -page “<HTML>Bad URL.</HTML>” set filter action forw_action -serviceName service1 set filter action add_header_action -value “HEADER:value”
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.