Langue: en

Autres versions - même langue

Version: October 2008 (ubuntu - 08/07/09)

Section: 5 (Format de fichier)


approx.conf - configuration file for approx proxy server




Each non-blank line of the configuration file should contain a name/value pair, separated by white space. Comments start with a "#" character and continue to the end of the line.

Names that begin with the "$" character are reserved for use as configuration parameters. The following parameters are currently defined:

Specifies the name of the network interface on which the approx(8) server listens for HTTP requests (default: any)
Specifies the TCP port on which the approx(8) server listens for HTTP requests (default: 9999)
Specifies the maximum download rate from remote repositories, in bytes per second (default: unlimited). The value may be suffixed with "K", "M", or "G" to indicate kilobytes, megabytes, or gigabytes per second, respectively.
Specifies the maximum number of HTTP redirections that will be followed when downloading a remote file (default: 5)
$user, $group
Specifies the name of the user and group to use after the daemon drops privileges (default: approx)
Specifies the syslog(3) facility to use when logging (default: daemon)
Specifies whether to support IndexFile diffs (default: true)
Specifies whether to deliver (possibly out-of-date) cached files when they cannot be downloaded from remote repositories (default: false)
Specifies how many seconds an approx(8) process will wait for a concurrent download of a file to complete, before attempting to download the file itself (default: 10)
Specifies whether informational messages should be printed in the log (default: false)
Specifies whether debugging messages should be printed in the log (default: false)

The other name/value pairs are used to map distribution names to remote repositories. For example,



approx(8), approx-gc(8)


Eric Cooper <>