-
AppExpert Applications and Templates
-
Configure application authentication, authorization, and auditing
-
-
Advanced Policy Expressions: Working with Dates, Times, and Numbers
-
Advanced Policy Expressions: Parsing HTTP, TCP, and UDP Data
-
Expressions for Identifying the Protocol in an Incoming IP Packet
-
Expressions for HTTP Status Codes and Numeric HTTP Payload Data Other Than Dates
-
Operations for HTTP, HTML, and XML Encoding and “Safe” Characters
-
Expressions for TCP, UDP, and VLAN Data
-
Expressions for Evaluating a DNS Message and Identifying Its Carrier Protocol
-
Advanced Policy Expressions: IP and MAC Addresses, Throughput, VLAN IDs
-
-
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!
Expressions for TCP, UDP, and VLAN data
TCP and UDP data take the form of a string or a number. For expression prefixes that return string values for TCP and UDP data, you can apply any text-based operations. For more information, see Advanced policy expressions: Evaluating text.
For expression prefixes that return numeric value, such as a source port, you can apply an arithmetic operation. For more information, see Basic operations on expression prefixes and Compound operations for numbers.
The following table describes prefixes that extract TCP and UDP data.
GET Operation | Description |
---|---|
CLIENT.TCP.PAYLOAD( |
Returns TCP payload data as a string, starting with the first character in the payload and continuing for the number of characters in the |
CLIENT.TCP.SRCPORT | Returns the ID of the current packet’s source port as a number. |
CLIENT.TCP.DSTPORT | Returns the ID of the current packet’s destination port as a number. |
CLIENT.TCP.OPTIONS | Returns the TCP options set by the client. Examples of TCP options are Maximum Segment Size (MSS), Window Scale, Selective Acknowledgements (SACK), and Time Stamp Option. The COUNT, TYPE( |
CLIENT.TCP.OPTIONS.COUNT | Returns the number of TCP options that the client has set. |
CLIENT.TCP.OPTIONS.TYPE( |
Returns the value of the TCP option whose type (or option kind) is specified as the argument. The value is returned as a string of bytes in big endian format (or network byte order). Parameters: type - Type value |
CLIENT.TCP.OPTIONS.TYPE_NAME( |
Returns the value of the TCP option whose enumeration constant is specified as the argument. The enumeration constants that you can pass as the argument are REPEATER, TIMESTAMP, SACK_PERMITTED, WINDOW, and MAXSEG. To specify the TCP option kind instead of these enumeration constants, use CLIENT.TCP.OPTIONS.TYPE( |
CLIENT.TCP.REPEATER_OPTION.EXISTS | Returns a Boolean TRUE if Repeater TCP options exist. |
CLIENT.TCP.REPEATER_OPTION.IP | Returns the branch repeater’s IPv4 address from the Repeater TCP options. |
CLIENT.TCP.REPEATER_OPTION.MAC | Returns the branch repeater’s MAC address from the Repeater TCP options. |
CLIENT.UDP.DNS.DOMAIN | Returns the DNS domain name. |
CLIENT.UDP.DNS.DOMAIN.EQ(“ |
Returns a Boolean TRUE if the domain name matches the |
CLIENT.UDP.DNS.IS_AAAAREC | Returns a Boolean TRUE if the record type is AAAA. These types of records indicate an IPv6 address in forward lookups. |
CLIENT.UDP.DNS.IS_ANYREC | Returns a Boolean TRUE if it is of any record type. |
CLIENT.UDP.DNS.IS_AREC | Returns a Boolean TRUE if the record is type A. Type A records provide the host address. |
CLIENT.UDP.DNS.IS_CNAMEREC | Returns a Boolean TRUE if the record is of type CNAME. In systems that use multiple names to identify a resource, there is one canonical name and a number of aliases. The CNAME provides the canonical name. |
CLIENT.UDP.DNS.IS_MXREC | Returns a Boolean TRUE if the record is of type MX (mail exchanger). This DNS record describes a priority and a host name. The MX records for the same domain name specify the email servers in the domain and the priority for each server. |
CLIENT.UDP.DNS.IS_NSREC | Returns a Boolean TRUE if the record is of type NS. This is a name server record that includes a host name with an associated A record. This enables locating the domain name that is associated with the NS record. |
CLIENT.UDP.DNS.IS_PTRREC | Returns a Boolean TRUE if the record is of type PTR. This is a domain name pointer and is often used to associate a domain name with an IPv4 address. |
CLIENT.UDP.DNS.IS_SOAREC | Returns a Boolean TRUE if the record is of type SOA. This is a start of authority record. |
CLIENT.UDP.DNS.IS_SRVREC | Returns a Boolean TRUE if the record is of type SRV. This is a more general version of the MX record. |
CLIENT.UDP.DSTPORT | Returns the numeric ID of the current packet’s UDP destination port. |
CLIENT.UDP.SRCPORT | Returns the numeric ID of the current packet’s UDP source port. |
CLIENT.UDP.RADIUS | Returns RADIUS data for the current packet. |
CLIENT.UDP.RADIUS.ATTR_TYPE( |
Returns the value for the attribute type specified as the argument. |
CLIENT.UDP.RADIUS.USERNAME | Returns the RADIUS user name. |
CLIENT.TCP.MSS | Returns the maximum segment size (MSS) for the current connection as a number. |
CLIENT.VLAN.ID | Returns the numeric ID of the VLAN through which the current packet entered the Citrix ADC. |
SERVER.TCP.DSTPORT | Returns the numeric ID of the current packet’s destination port. |
SERVER.TCP.SRCPORT | Returns the numeric ID of the current packet’s source port. |
SERVER.TCP.OPTIONS | Returns the TCP options set by the server. Examples of TCP options are Maximum Segment Size (MSS), Window Scale, Selective Acknowledgements (SACK), and Time Stamp Option. The COUNT, TYPE( |
SERVER.TCP.OPTIONS.COUNT | Returns the number of TCP options that the server has set. |
SERVER.TCP.OPTIONS.TYPE( |
Returns the value of the TCP option whose type (or option kind) is specified as the argument. The value is returned as a string of bytes in big endian format (or network byte order). Parameters: type - Type value |
SERVER.TCP.OPTIONS.TYPE_NAME( |
Returns the value of the TCP option whose enumeration constant is specified as the argument. The enumeration constants that you can pass as the argument are REPEATER, TIMESTAMP, SACK_PERMITTED, WINDOW, and MAXSEG. To specify the TCP option kind instead of these enumeration constants, use CLIENT.TCP.OPTIONS.TYPE( |
SERVER.VLAN | Operates on the VLAN through which the current packet entered the Citrix ADC. |
SERVER.VLAN.ID | Returns the numeric ID of the VLAN through which the current packet entered the Citrix ADC. |
Share
Share
In this article
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group 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 Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.