C Library Functions libproxy(3)
NAME
libproxy - a library that provides automatic proxy confi-
guration managementDESCRIPTION
libproxy provides interfaces to get the proxy that will be
used to access network resources. It uses various plugins to get proxy configuration via different mechanisms (e.g. environment variables, GConf, PAC). The envvar plugin gets the proxy configuration from thehttp_proxy and no_proxy environment variables. The file plu-
gin gets proxy configuration from /etc/proxy.conf and$HOME/.proxy.conf. The gnome plugin gets the proxy confi-
guration via GConf, and if the configuration uses PAC, then the mozjs plugin is used. The order in which each proxy mechanism will be checked isspecified by the environment PX_CONFIG_ORDER. The default
order is "USER,SESSION,SYSTEM,envvar". USER, SESSION and SYSTEM are all categories of proxy configuration. envvar means the plugin who get proxy setting from the environmentvariable "http_proxy".
The GConf plugin belongs to the SESSION category, so theGConf setting will be checked before the environment vari-
able.libproxy also supports the feature of WPAD. But for the con-
sideration of WPAD security risks, the wpad-fallback plugin
is disabled by default. Users who want to enable thisfeature can set the PX_CONFIG_ORDER environment variable to
"USER,SESSION,SYSTEM,envvar,wpad-fallback", so the WPAD will
be used if all the other plugins fail to find a proxy. ENVIRONMENT VARIABLES See environ(5) for descriptions of environment variables.http_proxy URL of HTTP proxy to use.
no_proxy A comma delimited list of hosts (or domains)
for which proxying is not to be used. FILES The following files are used by this application:/usr/lib/libproxy.so
SunOS 5.11 Last change: 9 Feb 2009 1
C Library Functions libproxy(3)
libproxy shared library
/usr/lib/libproxy/*
libproxy plugins
/etc/proxy.conf$HOME/.proxy.conf
configuration file used by file plugin to look for proxy configurationATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | library/libproxy |
|_____________________________|_____________________________|
| Interface stability | Volatile ||_____________________________|_____________________________|
SEE ALSO
attributes(5), gnome-interfaces(5), environ(5)
libproxy home page:
http://code.google.com/p/libproxy/
NOTES Written by Ke Wang, Sun Microsystems Inc., 2004, 2009.SunOS 5.11 Last change: 9 Feb 2009 2