Fri Aug 13 16:08:53 CEST 2010 marc.doudiet@nimag.net * docs/frontends/FTP-and-SFTP.txt : ftpd and sftpd doesn't listen on loopback interface only New patches: [docs/frontends/FTP-and-SFTP.txt : ftpd and sftpd doesn't listen on loopback interface only marc.doudiet@nimag.net**20100813140853 Ignore-this: 5b5dfd0e5991a2669fe41ba13ea21bd4 ] { hunk ./docs/frontends/FTP-and-SFTP.txt 80 [ftpd] enabled = true - port = 8021 + port = tcp:8021:interface=127.0.0.1 accounts.file = private/ftp.accounts hunk ./docs/frontends/FTP-and-SFTP.txt 83 -The FTP server will listen on the given port number. The "accounts.file" -pathname will be interpreted relative to the node's BASEDIR. +The FTP server will listen on the given port number and on the loopback +interface only. The "accounts.file" pathname will be interpreted +relative to the node's BASEDIR. To enable the FTP server with an account server instead, provide the URL of that server in an "accounts.url" directive: hunk ./docs/frontends/FTP-and-SFTP.txt 92 [ftpd] enabled = true - port = 8021 + port = tcp:8021:interface=127.0.0.1 accounts.url = https://example.com/login You can provide both accounts.file and accounts.url, although it probably hunk ./docs/frontends/FTP-and-SFTP.txt 122 [sftpd] enabled = true - port = 8022 + port = tcp:8022:interface=127.0.0.1 host_pubkey_file = private/ssh_host_rsa_key.pub host_privkey_file = private/ssh_host_rsa_key accounts.file = private/ftp.accounts hunk ./docs/frontends/FTP-and-SFTP.txt 127 -The SFTP server will listen on the given port number. The "accounts.file" -pathname will be interpreted relative to the node's BASEDIR. +The SFTP server will listen on the given port number and on the loopback +interface only. The "accounts.file" pathname will be interpreted +relative to the node's BASEDIR. Or, to use an account server instead, do this: hunk ./docs/frontends/FTP-and-SFTP.txt 135 [sftpd] enabled = true - port = 8022 + port = tcp:8022:interface=127.0.0.1 host_pubkey_file = private/ssh_host_rsa_key.pub host_privkey_file = private/ssh_host_rsa_key accounts.url = https://example.com/login } Context: [docs: NEWS: edit English usage, remove ticket numbers for regressions vs. 1.7.1 that were fixed again before 1.8.0c2 zooko@zooko.com**20100811071758 Ignore-this: 993f5a1e6a9535f5b7a0bd77b93b66d0 ] [docs: NEWS: more detail about new-downloader zooko@zooko.com**20100811071303 Ignore-this: 9f07da4dce9d794ce165aae287f29a1e ] [TAG allmydata-tahoe-1.8.0c2 david-sarah@jacaranda.org**20100810073847 Ignore-this: c37f732b0e45f9ebfdc2f29c0899aeec ] Patch bundle hash: 627beda882f6b834850095239a8341bde80453b0