aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #5259Riccardo Spagni2019-03-211-1/+0
|\ \ | | | | | | | | | 9141a0a1 connection_basic: remove debug exception ^_^ (moneromooo-monero)
| * | connection_basic: remove debug exception ^_^moneromooo-monero2019-03-081-1/+0
| | |
* | | epee: fix build with boost 1.70.0moneromooo-monero2019-03-211-2/+8
| |/ |/| | | | | get_io_service was deprecated, and got removed
* | Merge pull request #5061Riccardo Spagni2019-03-178-8/+8
|\ \ | | | | | | | | | 1f2930ce Update 2019 copyright (binaryFate)
| * | Update 2019 copyrightbinaryFate2019-03-058-8/+8
| |/
* | epee: certificate generation fix, pkey deletedDusan Klinec2019-03-101-3/+5
| | | | | | | | - pkey gets deleted by the pkey_deleter but the caller tries to serialize it which causes errors as the memory is freed
* | Fix startup errors with SSL cert generationHoward Chu2019-03-081-37/+6
|/ | | | Use SSL API directly, skip boost layer
* epee: add SSL supportMartijn Otto2019-03-052-24/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #5096Riccardo Spagni2019-03-041-3/+3
|\ | | | | | | 7c3ade44 network_throttle: use circular_buffer where appropriate (moneromooo-monero)
| * network_throttle: use circular_buffer where appropriatemoneromooo-monero2019-02-011-3/+3
| |
* | epee: add SSL supportmoneromooo-monero2019-02-023-10/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Adding initial support for broadcasting transactions over TorLee Clagett2019-01-282-28/+42
| | | | | | | | | | | | | | | | | | - Support for ".onion" in --add-exclusive-node and --add-peer - Add --anonymizing-proxy for outbound Tor connections - Add --anonymous-inbounds for inbound Tor connections - Support for sharing ".onion" addresses over Tor connections - Support for broadcasting transactions received over RPC exclusively over Tor (else broadcast over public IP when Tor not enabled).
* | readline: don't dereference possible NULL pointerJethro Grassie2019-01-211-2/+2
|/
* Merge pull request #5001Riccardo Spagni2019-01-161-2/+4
|\ | | | | | | a5ffc2d5 Remove boost::lexical_cast for uuid and unused uuid function (Lee Clagett)
| * Remove boost::lexical_cast for uuid and unused uuid functionLee Clagett2018-12-231-2/+4
| |
* | Merge pull request #4976Riccardo Spagni2019-01-162-1/+98
|\ \ | | | | | | | | | 85665003 epee: better network buffer data structure (moneromooo-monero)
| * | epee: better network buffer data structuremoneromooo-monero2018-12-232-1/+98
| |/ | | | | | | avoids pointless allocs and memcpy
* | Merge pull request #4951Riccardo Spagni2019-01-061-0/+3
|\ \ | | | | | | | | | b21a60ef mlocker: set default log category (moneromooo-monero)
| * | mlocker: set default log categorymoneromooo-monero2018-12-071-0/+3
| | |
* | | Merge pull request #4957luigi11112018-12-311-1/+1
|\ \ \ | |_|/ |/| | | | | 0e2f5cb perf_timer: make all logs Info level (moneromooo-monero)
| * | perf_timer: make all logs Info levelmoneromooo-monero2018-12-081-1/+1
| | | | | | | | | | | | and make them not default at log level 1
* | | Merge pull request #4925Riccardo Spagni2018-12-121-1/+0
|\ \ \ | |/ / |/| | | | | | | | | | | ab783b17 easylogging++: ensure logger is initialized before main (moneromooo-monero) 9b69a0ae daemon: print monero version at startup when calling a detached daemon (moneromooo-monero) 4d71d463 mlocker: remove early page size log (moneromooo-monero)
| * | mlocker: remove early page size logmoneromooo-monero2018-11-301-1/+0
| | | | | | | | | | | | | | | | | | It comes before the logger is initialized, so gets displayed even though it should not be by default, and apparenly comes too early for (some versions of) Android, where it crashes.
* | | Merge pull request #4883Riccardo Spagni2018-12-041-2/+2
|\ \ \ | | | | | | | | | | | | 40485a73 mlocker: fix access to global lock map after dtor on exit (moneromooo-monero)
| * | | mlocker: fix access to global lock map after dtor on exitmoneromooo-monero2018-11-221-2/+2
| |/ / | | | | | | | | | as the lock, it now leaks
* | | Merge pull request #4880Riccardo Spagni2018-12-041-6/+2
|\ \ \ | |_|/ |/| | | | | 96e6b439 blockchain_stats: don't use gmtime_r on Windows (moneromooo-monero)
| * | blockchain_stats: don't use gmtime_r on Windowsmoneromooo-monero2018-11-211-6/+2
| |/ | | | | | | | | | | In some cases, it doesn't like it (I don't know the details). Factor into a new epee function
* | Merge pull request #4876Riccardo Spagni2018-12-041-3/+12
|\ \ | | | | | | | | | 1132436f Only show a single mlock() error, to avoid flooding the log (Martijn Otto)
| * | Only show a single mlock() error, to avoid flooding the logMartijn Otto2018-11-261-3/+12
| |/
* | Merge pull request #4875Riccardo Spagni2018-12-041-0/+8
|\ \ | | | | | | | | | 23829ebb mlocker: don't throw from lock/unlock (moneromooo-monero)
| * | mlocker: don't throw from lock/unlockmoneromooo-monero2018-11-201-0/+8
| |/ | | | | | | | | | | | | This prevents exceptions from showing up in various awkward places such as dtors, since the only exception that can be thrown is a lock failure, and nothing handles a lock failure anyway.
* | Merge pull request #4854Riccardo Spagni2018-12-044-53/+2
|\ \ | | | | | | | | | bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
| * | Removed a lot of unnecessary includesMartijn Otto2018-11-154-53/+2
| | |
* | | Merge pull request #4853Riccardo Spagni2018-12-041-1/+2
|\ \ \ | |_|/ |/| | | | | 2b3595d0 various: do not propagate exception through dtor (moneromooo-monero)
| * | various: do not propagate exception through dtormoneromooo-monero2018-11-151-1/+2
| | | | | | | | | | | | Coverity 189689, 189690, 189692, 189695
* | | Merge pull request #4785Riccardo Spagni2018-11-161-2/+2
|\ \ \ | |/ / |/| | | | | 0cfd2ae5 mlocker: fix dtor ordering problem (moneromooo-monero)
| * | mlocker: fix dtor ordering problemmoneromooo-monero2018-11-021-2/+2
| |/ | | | | | | leak the mutex instead, it's a one off
* / network_throttle: initialize m_last_sample_time in ctormoneromooo-monero2018-10-291-0/+1
|/ | | | Coverity 136593
* Merge pull request #4573Riccardo Spagni2018-10-261-1/+4
|\ | | | | | | 8f3c7937 readline_buffer: fix "cursor in prompt" bug (moneromooo-monero)
| * readline_buffer: fix "cursor in prompt" bugmoneromooo-monero2018-10-121-1/+4
| | | | | | | | | | It happens when readline displays a prompt just before switching to a shorter one
* | Merge pull request #4520Riccardo Spagni2018-10-201-0/+35
|\ \ | | | | | | | | | 2e2daebc ANSI colors in Windows 10 (iDunk5400)
| * | ANSI colors in Windows 10iDunk54002018-10-081-0/+35
| |/
* | epee: initialize a few data members where it seems to be appropriatemoneromooo-monero2018-10-021-0/+1
| |
* | connection_basic: remove unused floating time start timemoneromooo-monero2018-10-021-7/+0
|/
* Merge pull request #4459Riccardo Spagni2018-09-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | | bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
* Merge pull request #4443Riccardo Spagni2018-09-291-0/+2
| | | | b2972927 osx compilation fix: missing boost libs added (Dusan Klinec)
* Merge pull request #4377Riccardo Spagni2018-09-211-1/+1
|\ | | | | | | 4d52ec0c mlog: do not display http errors by default (moneromooo-monero)
| * mlog: do not display http errors by defaultmoneromooo-monero2018-09-141-1/+1
| | | | | | | | They're controllable by potential attackers and would just spam
* | wipeable_string: add hex_to_pod functionmoneromooo-monero2018-09-121-1/+2
|/
* Merge pull request #4179luigi11112018-08-221-1/+3
|\ | | | | | | 262e391 mlog: handle filenames without parent directories (moneromooo-monero)