How to set proxy settings in Java LiveUpdate

Article:TECH100706  |  Created: 2004-01-02  |  Updated: 2013-09-19  |  Article URL http://www.symantec.com/docs/TECH100706
Article Type
Technical Solution


Environment

Issue



This describes how to set proxy settings for Java LiveUpdate (JLU).

 


Solution



Open one of the following LiveUpdate.conf files for editing:

  • Solaris: /etc/liveupdate.conf
  • AIX: /etc/liveupdate.conf
  • Windows: \Documents and Settings\All Users\Application Data\Symantec\Java LiveUpdate
  • Macintosh: /etc/liveupdate.conf
  1. Add the following line to the LiveUpdate.conf file:


    Note: This line and the ones shown in step 2 may be case-sensitive.


    proxy=<IP Address>:<Port>

  2. If a user name and password is needed, enter the following lines:

    proxyusername=<UserName>
    proxypassword=<Password>

    NOTE: JLU on Macintosh systems can use only an anonymous web proxy. See Proxies and compatibility with Java LiveUpdate and Symantec Endpoint Protection/Symantec AntiVirus for Macintosh


Example:
proxy=127.0.0.1:8080
proxyusername=administrator
proxypassword=P455W0rd!


References
Java LiveUpdate is a component used in products like Symantec Antivirus for Linux and Symantec Antivirus for Macintosh, as well as in certain other products that run on the Windows platform. For more information, see Configuring Java LiveUpdate. 

 
Technical Information

To edit this file on non-Windows operating systems, superuser or root privileges may be required.   If working in the GUI (on a Mac, for instance) you will either need to be logged in as root or copy the file out of the /etc/ directory, then copy it back in, authenticating to overwrite.  If working in a terminal window, invoke su and authenticate with the root user's password, or preface the editor command with sudo and authenticate with the administrator password.

On a Macintosh, if you prefer to work in the GUI, you will need to show all hidden and System files. To accomplish this, follow these steps:

Note: This information is provided for your convenience only and is not supported by Symantec.

Showing hidden and System files can be accomplished via the Terminal using the following command:

defaults write com.apple.Finder AppleShowAllFiles YES

After relaunching the Finder (hold down the Option key, click and hold down the mouse button on the Finder icon in the Dock, then choose "Relaunch" from the contextual menu that appears), those files and folders previously hidden will show. All icons may appear to be dimmed.

To hide hidden and system files again, repeat the same command, substituting YES with NO, then relaunch the Finder again.

Note: on a Symantec Endpoint Protection for Macintosh ("SEP for Mac") client, do not edit  /Library/Application Support/Symantec/LiveUpdate/liveupdate.conf as this file is overwritten every time LiveUpdate runs.  Edit only the /private/etc/liveupdate.conf file.

 

Additional Information

If Java LiveUpdate version 3.6 or newer is being used the host information will have to be included in the liveupdate.conf configuration file while adding the proxy information above.   

hosts/0/url=http://liveupdate.symantecliveupdate.com:80
hosts/1/url=http://liveupdate.symantec.com:80

Please also see How to change settings in Java LiveUpdate 3.6 or higher 
 




Legacy ID



2004060211175848


Article URL http://www.symantec.com/docs/TECH100706


Terms of use for this information are found in Legal Notices