summaryrefslogtreecommitdiff
path: root/src/common/download.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* epee: add SSL supportmoneromooo-monero2019-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
* Removed a lot of unnecessary includesMartijn Otto2018-11-151-3/+0
|
* Readd copyright starting datexmr-eric2018-01-261-1/+1
|
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* Merge pull request #2929Riccardo Spagni2017-12-251-7/+49
|\ | | | | | | | | ae55bacd resumption support for updates using range requests (moneromooo-monero) fe0fae50 epee: add a get_file_size function (moneromooo-monero)
| * resumption support for updates using range requestsmoneromooo-monero2017-12-151-7/+49
| |
* | download: SSL suportmoneromooo-monero2017-12-141-2/+3
|/
* download: check available disk space before downloadingmoneromooo-monero2017-03-051-0/+8
| | | | | We don't check *while* the download happens, so it might still be that we don't have enough space later
* download: give download threads distinct namesmoneromooo-monero2017-03-051-0/+5
|
* download: async APImoneromooo-monero2017-03-051-25/+144
|
* core: updates can now be downloaded (and SHA256 hash checked)moneromooo-monero2017-02-201-0/+138