For Symantec Endpoint Protection (SEP) 14.1.x and newer, you have two main options for distributing LiveUpdate (LU) content to Mac and Linux clients. (Note: Linux client support requires SEP 12.1.5 or later). This article will cover how to set up and configure the Apache Web Server as a reverse proxy (Option 2).
Important Limitations of the Reverse Proxy Method:
.dax files.#AsyncSendFile anydirectoryAsyncSendFile givendirectory
ForceAsyncSendFile "SEPM_Install/Inetpub/content"LogFormat "%h %l %u %t \"%r\" %>s %b" commonAnd replace it with:LogFormat "%h %l %u %t %{cache-status}e \"%r\" %>s %b" common# SEPM_APACHE_AS_PROXY_START Preserve this line to maintain configuration across SEPM upgrades LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule cache_module modules/mod_cache.so LoadModule cache_disk_module modules/mod_cache_disk.so LoadModule setenvif_module modules/mod_setenvif.so <IfModule mod_proxy.c> <IfModule mod_cache.c> <IfModule mod_cache_disk.c> <IfModule mod_setenvif.c> SetEnvIf Request_URI "/luproxy/" dolog SetEnvIf Request_URI "/luproxy/.*_livetri.zip" no-cache CustomLog "|| bin/rotatelogs.exe logs/access-%Z.log 25M" common env=dolog </IfModule> ProxyPass /luproxy/ http://liveupdate.symantecliveupdate.com/ retry=0 smax=0 ttl=60 CacheRoot "cache-root" # CacheRoot is a path defined relative to [SEPM_Install]/apache/ CacheEnable disk /luproxy/ CacheDirLevels 1 CacheDirLength 5 # directives to override any caching prohibitions in LiveUpdate content headers # see TECH230862 CacheStoreNoStore On CacheIgnoreCacheControl On CacheStoreExpired On CacheIgnoreHeaders Cache-Control Pragma #allow downloads up to 1 GB CacheMaxFileSize 1000000000 </IfModule> </IfModule> </IfModule> # SEPM_APACHE_AS_PROXY_END Preserve this line to maintain configuration across SEPM upgrades
Make the following adjustments if you are using an internal LUA as the source instead.
ProxyPass /luproxy/ http://<LUA IP>:7070/clu-prod/ retry=0 smax=0 ttl=60By default, the reverse proxy requires a direct outbound connection to Symantec's servers. It will fail to download content if your environment restricts outbound traffic and forces it through a standard (forward) proxy. Note that the Apache reverse proxy entirely ignores any proxy settings configured in the SEPM server properties or Windows Internet Options.
To work around this, you can use the ProxyRemote directive in your Apache configuration to route this traffic through another proxy.
Important Limitation: This workaround will only function if the forward proxy does not require authentication.
Important Testing Note: Although you are requesting the file via a local URL, the request is actually passed through to Symantec's public LiveUpdate servers. Ensure your SEPM server has the appropriate network access to successfully reach the LiveUpdate web domains (refer to article 151267.)
Take the following steps to update your LiveUpdate policy for Mac and Linux clients for your desired groups. Once the policy is updated, these clients will point to the newly configured Apache web server for downloading LU content.
Additionally, on SEP 12.1.x clients for Linux, edit the liveupdate.conf file and set serverlogging=false. SEP For Linux 14.0 does not require this setting. See article 162031.
To manage the size of your cache file, take the following steps.
This will run the htcacheclean tool in daemon mode. The cache cleaning will be done on a daily interval. The maximum cache size allowed on disk is 1 GB.
To automatically start the htcacheclean daemon every time Windows starts, take the following steps.
Since the task does not run until you restart the system, you can run it now. In the Task Scheduler, right-click the task you created, and then click Run.
Note: Ensure that the user account running the task has full control on the folder SEPM_Install\apache\cache-root.
This configuration is designed for small numbers of Mac and/or Linux clients. You should only use this setup if there are only a few Mac and/or Linux clients and the network connecting clients and Symantec Endpoint Protection Manager has good bandwidth throughput. Assuming that each client downloads roughly 500KB of LU content on daily basis, 2000 Mac or Linux clients will result in a download of approximately 1 GB of LU content daily from the Apache web server. For configurations having large numbers of clients, you should consider an alternative like Symantec LiveUpdate Administrator.
The LU download requests to the Apache web server are logged in a separate log file, located in SEPM_Install\apache\logs\access-%Z.log.
Symantec suggests the use of only Symantec-signed binaries for Apache modules that are mentioned in this article. These signed binaries are available on the Symantec Endpoint Protection downloaded installation file. Note that the required binaries also get installed along with Symantec Endpoint Protection Manager for versions 12.1.4 and later.
For Symantec Endpoint Protection 14:
Because new vulnerabilities may be published after the publication of this article, please check the vulnerabilities published by the Apache project for the appropriate version of Apache web server: http://httpd.apache.org/security/