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!
Using uberAgent® With a Proxy
uberAgent uses libcurl to send data when using HTTP or HTTPS as protocol. libcurl ignores common per-system or per-user proxy settings. Customers who want to use uberAgent with a proxy, can choose between two options:
- Configuring a proxy through uberAgent’s configuration file (recommended).
- Configuring a proxy through the system variables.
Configuring a Proxy via the Configuration
Starting with uberAgent 8.0, proxy usage can be configured within the uberAgent.conf file. You can define explicit destination-to-proxy mappings and store proxy authentication details, allowing uberAgent to authenticate with a proxy when required.
Adding Destination-To-Proxy Mappings
Under the [Proxy_List] stanza, customers can define network targets for which uberAgent should use a proxy. Targets are defined using URL_REGEX syntax that is matched against the destination hosts. To specify a proxy server, add an equals sign (=) followed by the proxy’s fully qualified domain name or IP address. Working with multiple proxy servers is supported. Explicit mappings in [Proxy_List] always override system variable-based proxy resolution. Please review the following example:
[Proxy_List]
api\.cloud\.com = proxy1.customer.com
api-us\.cloud\.com = proxy2.customer.com
backend\.customer\.com = proxy3.customer.com
<!--NeedCopy-->
Note:
If you want to route all of uberAgent’s outgoing HTTP communication through a proxy, use a
URL_REGEXwildcard in the[Proxy_List]stanza, for example.* = proxy1.customer.com. uberAgent processes the entries in this list in order; the first matching definition is used for the configured destination. Therefore, place the wildcard definition at the end of the stanza so that specific definitions are matched first.
Proxy Authentication
If a proxy requires authentication, configure the credentials (e.g., user and password) under the [Proxy_Auth] stanza. uberAgent supports reading the credentials as plain text, obfuscated via uAEncrypt, and from the operating system’s credential store:
[Proxy_Auth]
proxy1.customer.com = user:password
proxy2.customer.com = %FwAlABAAJQBPABwABwBFABsADgAEACYANAA=
proxy3.customer.com = ###UA_CREDENTIAL_uAProxyAuthentication###
<!--NeedCopy-->
Note:
When a connection uses a proxy defined in
[Proxy_List], uberAgent searches for credentials under[Proxy_Auth]for this host and uses them if present. When no credentials are configured, the proxy is used without authentication.
Configuring a Proxy via System Variables
To enable uberAgent to process proxy information that is stored in system variables, add the following to your uberAgent.conf. Please note that this value is set to disabled by default.
[Proxy]
HonorEnvironmentProxy = true
<!--NeedCopy-->
uberAgent can read the values of the following environment variables to retrieve the proxy configuration.
http_proxyhttps_proxy
Customers who have a proxy configured but don’t want to route the traffic from uberAgent to e.g., Splunk through it, must set the environment variable no_proxy to the Splunk server name.
More information is available in the libcurl documentation. Note that this approach does not support proxy authentication.
Setting Proxy Variables Specifically for uberAgent
Windows
On Windows, you can configure the above mentioned environment variables specifically for the uberAgent service. This means that the variables are only used by uberAgent. To do so, proceed as follows.
- Open
regedit.exeand browse toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uberAgentSvc. - Create a new multi-string-value (
REG_MULTI_SZ) named Environment. - Enter the proxy variables with their corresponding values in the following format
http_proxy=http://proxy.citrix.com:port. Use a line break, if you’re configuring multiple variables. - After adding the variables, restart the uberAgent service in order to apply the new settings.
macOS
On macOS, you can configure the environment variables specifically for uberAgent using the launch daemon. To do so, proceed as follows.
- Edit the uberAgent launch daemon plist file at
/Library/LaunchDaemons/com.vastlimits.uberagent.plist. - Add an
EnvironmentVariablesdictionary within the maindictelement with the proxy variables as key-value pairs:
<key>EnvironmentVariables</key>
<dict>
<key>http_proxy</key>
<string>http://proxy.citrix.com:port</string>
<key>https_proxy</key>
<string>http://proxy.citrix.com:port</string>
</dict>
<!--NeedCopy-->
- Save the file and reload the launch daemon by running
sudo launchctl unload /Library/LaunchDaemons/com.vastlimits.uberagent.plistfollowed bysudo launchctl load /Library/LaunchDaemons/com.vastlimits.uberagent.plist.
Linux
On Linux, configure the proxy environment variables for uberAgent via a systemd service override. This ensures the variables are only used by the uberAgent service.
- Create a systemd drop-in for the service by running
sudo systemctl edit uberAgent. - Add the following to the editor and save:
[Service]
Environment="http_proxy=http://proxy.citrix.com:port"
Environment="https_proxy=http://proxy.citrix.com:port"
<!--NeedCopy-->
- Save and exit the editor. This automatically applies the configuration. Then restart the service:
sudo systemctl restart uberAgent
<!--NeedCopy-->
Limitations
uberAgent can apply the proxy settings to all outbound HTTP traffic except when collecting the following metrics:
- Citrix Site metrics (typically collected from a local Citrix Delivery Controller).
- NetScaler metrics (typically collected from a local Citrix NetScaler).
- Citrix License Server metrics (typically collected from a local Citrix License Server).
Share
Share
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.