From afd7cd688b70bd50d8fa90199a2ac39d98edf19f Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 8 Jul 2017 11:42:02 +0200 Subject: update URI scheme descriptions in sources.list(5) --- doc/sources.list.5.xml | 61 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 43 insertions(+), 18 deletions(-) (limited to 'doc/sources.list.5.xml') diff --git a/doc/sources.list.5.xml b/doc/sources.list.5.xml index dd057eb32..c4df9aa58 100644 --- a/doc/sources.list.5.xml +++ b/doc/sources.list.5.xml @@ -350,6 +350,40 @@ deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [. The currently recognized URI types are: + http + + The http scheme specifies an HTTP server for an archive and is the most + commonly used method, with many options in the + Acquire::http scope detailed in &apt-conf;. The URI can + directly include login information if the archive requires it, but the use + of &apt-authconf; should be preferred. The method also supports SOCKS5 and + HTTP(S) proxies either configured via apt-specific configuration or + specified by the environment variable http_proxy in the + format (assuming an HTTP proxy requiring authentication) + http://user:pass@server:port/. + The authentication details for proxies can also be supplied via + &apt-authconf;. + Note that these forms of authentication are insecure as the whole + communication with the remote server (or proxy) is not encrypted so a + sufficiently capable attacker can observe and record login as well as all + other interactions. The attacker can not modify the + communication through as APTs data security model is independent of the + chosen transport method. See &apt-secure; for details. + + + https + + The https scheme specifies an HTTPS server for an archive and is very + similar in use and available options to the http scheme. The main + difference is that the communication between apt and server (or proxy) is + encrypted. Note that the encryption does not prevent an attacker from + knowing which server (or proxy) apt is communicating with and deeper + analyses can potentially still reveal which data was downloaded. If this is + a concern the Tor-based schemes mentioned further below might be a suitable + alternative. + + + file The file scheme allows an arbitrary directory in the file system to be @@ -359,27 +393,19 @@ deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [. cdrom - The cdrom scheme allows APT to use a local CD-ROM drive with media + The cdrom scheme allows APT to use a local CD-ROM, DVD or USB drive with media swapping. Use the &apt-cdrom; program to create cdrom entries in the source list. - http - - The http scheme specifies an HTTP server for the archive. If an environment - variable http_proxy is set with the format - http://server:port/, the proxy server specified in - http_proxy will be used. Users of authenticated - HTTP/1.1 proxies may use a string of the format - http://user:pass@server:port/. - Note that this is an insecure method of authentication. - - ftp - The ftp scheme specifies an FTP server for the archive. APT's FTP behavior - is highly configurable; for more information see the - &apt-conf; manual page. Please note that an FTP proxy can be specified + The ftp scheme specifies an FTP server for an archive. Use of FTP is on the + decline in favour of http and https + and many archives either never offered or are retiring FTP access. If you + still need this method many configuration options for it are available in + the Acquire::ftp scope and detailed in &apt-conf;. + Please note that an FTP proxy can be specified by using the ftp_proxy environment variable. It is possible to specify an HTTP proxy (HTTP proxy servers often understand FTP URLs) using this environment variable and only this @@ -407,9 +433,8 @@ deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [. APT can be extended with more methods shipped in other optional packages, which should follow the naming scheme apt-transport-method. - For instance, the APT team also maintains the package apt-transport-https, - which provides access methods for HTTPS URIs with features similar to the http method. - Methods for using e.g. debtorrent are also available - see &apt-transport-debtorrent;. + For instance, the APT team also maintains the package apt-transport-tor, + which provides access methods for HTTP and HTTPS URIs routed via the Tor network. -- cgit v1.2.3