Commit Graph

734 Commits (master)

Author SHA1 Message Date
Riccardo Spagni c8ce4217cf
Merge pull request #5445
5 years ago
Riccardo Spagni e9527f5eed
Merge pull request #5436
5 years ago
moneromooo-monero b18f0b1051
wallet: new --offline option
5 years ago
moneromooo-monero 61d63900b9
net_helper: avoid unnecessary memcpy
5 years ago
moneromooo-monero c3cf930f75
abstract_tcp_server2: fix timeout on exit
5 years ago
moneromooo-monero 4b3bb829c2
epee: init a new ssl related variable in ctor
5 years ago
moneromooo-monero 9f8dc4ce51
simplewallet: new net_stats command
5 years ago
Lee Clagett 2e578b8214 Enabling daemon-rpc SSL now requires non-system CA verification
5 years ago
Lee Clagett d58f368289 Require manual override for user chain certificates.
5 years ago
Lee Clagett 97cd1fa98d Only check top-level certificate against fingerprint list.
5 years ago
Lee Clagett 7c388fb358 Call `use_certificate_chain_file` instead of `use_certificate_file`
5 years ago
Lee Clagett eca0fea45a Perform RFC 2818 hostname verification in client SSL handshakes
5 years ago
Lee Clagett 0416764cae Require server verification when SSL is enabled.
5 years ago
Lee Clagett 96d602ac84 Add `verify_fail_if_no_cert` option for proper client authentication
5 years ago
Lee Clagett 21eb1b0725 Pass SSL arguments via one class and use shared_ptr instead of reference
5 years ago
Lee Clagett f18a069fcc Do not require client certificate unless server has some whitelisted.
5 years ago
Lee Clagett a3b0284837 Change SSL certificate file list to OpenSSL builtin load_verify_location
5 years ago
Riccardo Spagni 0baf26c8d6
Merge pull request #5375
5 years ago
Riccardo Spagni 17fefb8786
Merge pull request #5358
5 years ago
Riccardo Spagni 38317f384c
Merge pull request #5348
5 years ago
Riccardo Spagni 1ed6441925
Merge pull request #5327
5 years ago
Riccardo Spagni 87840192dd
Merge pull request #5309
5 years ago
Leon Klingele 1569776a52
Add missing include
5 years ago
Martijn Otto dffdccdc9e
No longer use deprecated RSA_generate_key in favor of
5 years ago
moneromooo-monero 59776a64ff
epee: some more minor JSON parsing speedup
5 years ago
Lee Clagett 7acfa9f3cc Added socks proxy (tor/i2pd/kovri) support to wallet
5 years ago
Riccardo Spagni 676b17d36d
Merge pull request #5285
5 years ago
rbrunner7 c23ea7962d New interactive daemon command 'print_net_stats': Global traffic stats
5 years ago
Riccardo Spagni f5d7652f73
Merge pull request #5283
5 years ago
Riccardo Spagni 5259dd7a14
Merge pull request #5259
5 years ago
moneromooo-monero 17769db946
epee: fix build with boost 1.70.0
5 years ago
moneromooo-monero 1659029469
abstract_tcp_server2: fix crashy race on socket shutdown
5 years ago
Guido Vranken 43042a28ec Implement array_entry_t copy constructor
5 years ago
Riccardo Spagni 4c91eb23a0
Merge pull request #5061
5 years ago
moneromooo-monero 6ef816de2b
console_handler: print newline on EOF
5 years ago
Dusan Klinec bb8eab24da
epee: certificate generation fix, pkey deleted
5 years ago
moneromooo-monero 9141a0a1ef
connection_basic: remove debug exception ^_^
5 years ago
Howard Chu b8c2e21cba
Fix startup errors with SSL cert generation
5 years ago
binaryFate 1f2930ce0b Update 2019 copyright
5 years ago
Martijn Otto 057c279cb4
epee: add SSL support
5 years ago
moneromooo-monero e396146aee
default initialize rpc structures
5 years ago
Riccardo Spagni c83e80c263
Merge pull request #5162
5 years ago
Riccardo Spagni f18a7e39b8
Merge pull request #5160
5 years ago
Riccardo Spagni 4a390d43f8
Merge pull request #5113
5 years ago
Riccardo Spagni a28237c9ca
Merge pull request #5102
5 years ago
Riccardo Spagni 722a856d7e
Merge pull request #5096
5 years ago
Riccardo Spagni 4466f4504e
Merge pull request #5091
5 years ago
Tom Smeding 7af4fbd4d1 epee: Add space after ':' in additional http response headers
5 years ago
Lee Clagett 4d3b61a31b Use io_service::work in epee tcp server
5 years ago
Markus Behm c0e9e80581 Fixed missing return value in once_a_time class on windows
5 years ago
moneromooo-monero 2456945408
epee: add SSL support
5 years ago
moneromooo-monero 7c3ade4410
network_throttle: use circular_buffer where appropriate
5 years ago
Jethro Grassie 123fc2a25a
i2p: initial support
5 years ago
Lee Clagett 973403bc9f Adding initial support for broadcasting transactions over Tor
5 years ago
moneromooo-monero acfff8d0ce
rpc: fix internal daemon calls in restricted rpc getting partial data
5 years ago
Riccardo Spagni fbecfc3c8f
Merge pull request #5065
5 years ago
moneromooo-monero 1eef056588
performance_tests: better stats, and keep track of timing history
5 years ago
moneromooo-monero b750fb27b0
Pruning
5 years ago
Jethro Grassie ca86ef1beb
readline: don't dereference possible NULL pointer
5 years ago
moneromooo-monero 21777daf6e
epee: speedup word/number matching
5 years ago
Riccardo Spagni a093a7569e
Merge pull request #5021
5 years ago
Riccardo Spagni 3e9bb9626a
Merge pull request #5001
5 years ago
Riccardo Spagni 846362842c
Merge pull request #4976
5 years ago
Riccardo Spagni e723eb960d
Merge pull request #4951
5 years ago
Riccardo Spagni 3ce7977389
Merge pull request #4950
5 years ago
Riccardo Spagni 13b006137c
Merge pull request #4949
5 years ago
Riccardo Spagni ad1eb3338c
Merge pull request #4938
5 years ago
luigi1111 53760ee044
Merge pull request #4957
5 years ago
luigi1111 d8c03191ca
Merge pull request #4933
5 years ago
luigi1111 c93c638199
Merge pull request #4864
5 years ago
moneromooo-monero b82efa32e7
epee: speed up json parsing
6 years ago
moneromooo-monero 85665003a7
epee: better network buffer data structure
6 years ago
Lee Clagett a5ffc2d5ad Remove boost::lexical_cast for uuid and unused uuid function
6 years ago
Riccardo Spagni 5e9225e637
Merge pull request #4925
6 years ago
moneromooo-monero 0e2f5cb5fc
perf_timer: make all logs Info level
6 years ago
moneromooo-monero a13eb0a1a4
epee: speed up string matching a bit
6 years ago
moneromooo-monero 3a3858dc90
epee: avoid string allocation when parsing a pod from string
6 years ago
moneromooo-monero 68f045de8c
easylogging++: check allowed categories before logging
6 years ago
moneromooo-monero b21a60efd9
mlocker: set default log category
6 years ago
moneromooo-monero 85807dfb25
add a once_a_time_milliseconds class
6 years ago
Riccardo Spagni 16dc6900fb
Merge pull request #4883
6 years ago
Riccardo Spagni e799fc87ae
Merge pull request #4866
6 years ago
Riccardo Spagni d4a0fb2b89
Merge pull request #4880
6 years ago
Riccardo Spagni 3d745573d7
Merge pull request #4876
6 years ago
Riccardo Spagni f6e8ab0dc6
Merge pull request #4875
6 years ago
moneromooo-monero 9c923bad9b
epee: fix network packet header field endianness
6 years ago
moneromooo-monero ec1a62b50d
move int-util.h to epee
6 years ago
Riccardo Spagni c00ac446fd
Merge pull request #4854
6 years ago
Riccardo Spagni 398f7076bb
Merge pull request #4853
6 years ago
Riccardo Spagni 40650b43b8
Merge pull request #4850
6 years ago
Norman Moeschter 3cf85f0e83
Changed RECIEVED to RECEIVED in log messages.
6 years ago
moneromooo-monero 4d71d46373
mlocker: remove early page size log
6 years ago
moneromooo-monero fc98f7a0a1
rpc: speedup get_outs.bin
6 years ago
Riccardo Spagni 299accd81f
Merge pull request #4819
6 years ago
Martijn Otto 1132436f97
Only show a single mlock() error, to avoid flooding the log
6 years ago
moneromooo-monero 40485a73b6
mlocker: fix access to global lock map after dtor on exit
6 years ago
moneromooo-monero 96e6b43970
blockchain_stats: don't use gmtime_r on Windows
6 years ago
moneromooo-monero 23829ebb09
mlocker: don't throw from lock/unlock
6 years ago
moneromooo-monero 707c2f836b
Remove -Werror
6 years ago
Riccardo Spagni a3d0c7c55c
Merge pull request #4807
6 years ago
Riccardo Spagni 42dbb3aa1b
Merge pull request #4785
6 years ago
Riccardo Spagni 3880cae134
Merge pull request #4775
6 years ago
Howard Chu f6187cd811
epee: speed up parse_hexstr_to_binbuff a little
6 years ago
Martijn Otto bd98e99c80
Removed a lot of unnecessary includes
6 years ago
moneromooo-monero 2b3595d0fe
various: do not propagate exception through dtor
6 years ago
Riccardo Spagni 59e8a4c306
Merge pull request #4753
6 years ago
Martijn Otto 7c298f5d14
No longer use a list for registering self references in the abstract tcp
6 years ago
Riccardo Spagni fa56a09335
Merge pull request #4740
6 years ago
Riccardo Spagni 7ceeaec2e5
Merge pull request #4709
6 years ago
Riccardo Spagni dd973179ad
Merge pull request #3970
6 years ago
moneromooo-monero b620443b08
epee: log HTTP/RPC calls at info level
6 years ago
moneromooo-monero 0cfd2ae5e7
mlocker: fix dtor ordering problem
6 years ago
moneromooo-monero 741e4a1172
epee: speed up json number parsing
6 years ago
moneromooo-monero 2362baf735
network_throttle: initialize m_last_sample_time in ctor
6 years ago
xiphon f067bb0c8b tests: fix MSYS2 warning 'MONERO_DEFAULT_LOG_CATEGORY redefined'
6 years ago
Riccardo Spagni 442c58e994
Merge pull request #4573
6 years ago
moneromooo-monero 07c6280909
epee: some minor speedup in parsing
6 years ago
Riccardo Spagni 2c08fd472d
Merge pull request #4669
6 years ago
Riccardo Spagni 6ef07b10b9
Merge pull request #4520
6 years ago
moneromooo-monero d3cda5ad39
console_handler: add a global log when exiting via EOF
6 years ago
Riccardo Spagni 5ccd3d32b4
Merge pull request #4489
6 years ago
moneromooo-monero 8f3c793749
readline_buffer: fix "cursor in prompt" bug
6 years ago
moneromooo-monero e736964a0c
Remove epee header dependency on cryptonote_core
6 years ago
iDunk5400 2e2daebcc9
ANSI colors in Windows 10
6 years ago
moneromooo-monero 00901e9c93
epee: initialize a few data members where it seems to be appropriate
6 years ago
moneromooo-monero 144a6c32c9
abstract_tcp_server2: move m_period to subclass
6 years ago
moneromooo-monero 758d768486
connection_basic: remove unused floating time start time
6 years ago
moneromooo-monero e5108a294a
Catch more exceptions in dtors
6 years ago
Riccardo Spagni effcbf2060
Merge pull request #4459
6 years ago
Riccardo Spagni b4ec67b2f7
Merge pull request #4443
6 years ago
moneromooo-monero bf9a0f4c65
epee: fix stack overflow on crafted input
6 years ago
moneromooo-monero 45683ee02c
epee: fix invalid memory write reading an array entry
6 years ago
Riccardo Spagni b88bbf59c3
Merge pull request #4377
6 years ago
Riccardo Spagni bb3ff2bb36
Merge pull request #4209
6 years ago
Riccardo Spagni 580497d5f9
Merge pull request #4306
6 years ago
Riccardo Spagni 9c40bc62fc
Merge pull request #3430
6 years ago
Riccardo Spagni 20087b3a9d
Merge pull request #4307
6 years ago
moneromooo-monero 4d52ec0ca4
mlog: do not display http errors by default
6 years ago
moneromooo-monero 07ec748c82
wipeable_string: add hex_to_pod function
6 years ago
TheCharlatan 8db3d5731b Modify depends for monero's dependencies
6 years ago
moneromooo-monero 4469b0c41e
abstract_tcp_server2: fix binding to the wrong IP
6 years ago
luigi1111 77ed11e627
Merge pull request #4270
6 years ago
moneromooo-monero 8eab6147f4
epee: use the socket::bind variant which does not throw
6 years ago
luigi1111 140eb78231
Merge pull request #4179
6 years ago
moneromooo-monero 76affd941b
epee: some speedup in parsing
6 years ago
moneromooo-monero 29dea03091
epee: resize vectors where possible in serialization
6 years ago
moneromooo-monero 70271fa788
common: add a class to safely wrap mlock/munlock
6 years ago
moneromooo-monero e9ffa91257
store secret keys encrypted where possible
6 years ago
moneromooo-monero ea37614efe
wallet: wipe seed from memory where appropriate
6 years ago
luigi1111 0415863747
Merge pull request #4177
6 years ago
luigi1111 3b409a3b8a
Merge pull request #4130
6 years ago
luigi1111 dd966c8a3a
Merge pull request #4090
6 years ago
Lee Clagett 26a42fe54a Added features to epee::span<T> :
6 years ago
moneromooo-monero 262e391fb1
mlog: handle filenames without parent directories
6 years ago
moneromooo-monero e7c0fcd8f3
epee: set jsonrpc to "2.0" in parse error return data
6 years ago
moneromooo-monero 979105b298
abstract_tcp_server2: fix race on shutdown
6 years ago
moneromooo-monero 8d578f1f2d
memwipe: don't call the workhorse for 0 bytes
6 years ago
moneromooo-monero 0a4a7da35c
http_protocol_handler: fix HTTP/x.y parsing
6 years ago
moneromooo-monero 42f3b7cbca
http_protocol_handler: catch invalid numbers when parsing
6 years ago
Riccardo Spagni c58758a016
Merge pull request #4080
6 years ago
Riccardo Spagni 318fb23d7a
Merge pull request #3997
6 years ago
moneromooo-monero dead780f8a
abstract_tcp_server2: fix use after free
6 years ago
stoffu 1d176473e9
epee.string_tools: add conversion between UTF-8 and UTF-16
6 years ago
luigi1111 c0c6102260
Merge pull request #3972
6 years ago
luigi1111 a2b08db9c9
Merge pull request #3971
6 years ago
luigi1111 8fad35f8e2
Merge pull request #3962
6 years ago
luigi1111 c678413a89
Merge pull request #3902
6 years ago
luigi1111 51cdd76bbd
Merge pull request #3897
6 years ago
luigi1111 896512b2b6
Merge pull request #3878
6 years ago
luigi1111 f62399b88d
Merge pull request #3821
6 years ago
moneromooo-monero 1a526ed571
abstract_tcp_server2: restart async accept on error
6 years ago
jcktm b43b9a1304 wallet-rpc: added IPs to error logging in simple_http_connection_handler
6 years ago
stoffu 63d0ab09b5
mlog: --max-log-files to set the max number of rotated log files
6 years ago
moneromooo-monero 55c7fb87a9
epee: adaptive connection timeout system
6 years ago
moneromooo-monero 87665281ea
epee: fallback to a counter if gmtime fails when rotating logs
6 years ago
moneromooo-monero 4ecf71405f
epee: fix include for ofstream
6 years ago
moneromooo-monero 3381b6517e
abstract_tcp_server2: fix busy calling of idle IO service
6 years ago
moneromooo-monero f8dd433110
epee: fix detection of 172.16.0.0/172.31.255.255 local IP range
6 years ago
moneromooo-monero 5a412b7a3f
disable file size sanity check when loading the wallet cache
6 years ago
moneromooo-monero dfd36bbebb
http_protocol_handler: limit the number of starting newlines
6 years ago
moneromooo-monero 4d15864728
abstract_tcp_server2: timeout on RPC connections
6 years ago
moneromooo-monero 885a117ddb
http_protocol_handler: speedup newline discarding
6 years ago
moneromooo-monero 6a58c88e2d
console_handler: fix start_default_console use of prompt parameter
6 years ago
moneromooo-monero 558d05b47e
epee: log type name when a container size check fails
6 years ago
Riccardo Spagni 5bca8c6998
Merge pull request #3667
6 years ago
moneromooo-monero 18c2f6e21d
mlog: fix setting no logs
6 years ago
Jan Beich 53a1962da1 epee: Drop deprecated Boost.Thread header
6 years ago
Dimitris Apostolou 57c0b1ed9f Fix typos in various files
6 years ago
rbrunner7 430268224d Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windows
6 years ago
Riccardo Spagni 854a87d633
Merge pull request #3289
6 years ago
Riccardo Spagni e3ad0c9ca6
Merge pull request #3243
6 years ago
moneromooo-monero 4789f8598f
wipeable_string: don't try to wipe an empty buffer
6 years ago
stoffu dfabc005d1
memwipe: add missing #include <stdio.h>
6 years ago
Riccardo Spagni f4a6bc79d9
Merge pull request #3226
6 years ago
Riccardo Spagni 64fabf2eb7
Merge pull request #3252
6 years ago
Riccardo Spagni 0c71197892
Merge pull request #3217
6 years ago
Riccardo Spagni 666a76652b
Merge pull request #3187
6 years ago
Howard Chu f689a77e56
Fix #602 Turn on socket keepalive
6 years ago
stoffu 2bc8c3db5c
epee get_ns_count: cast to uint64_t before multiplying 10^9 to avoid overflow
6 years ago
moneromooo-monero 2e3e90acbe
pass large parameters by const ref, not value
6 years ago
moneromooo-monero 851bd057ec
call _exit instead of abort in release mode
6 years ago
moneromooo-monero fde4489e1d
wipeable_string: call memwipe directly
6 years ago
Erik de Castro Lopo 8f30350d03 Fix method name in invoke_http_json_rpc
6 years ago
Erik de Castro Lopo 32c0f908cd Allow the number of incoming connections to be limited
6 years ago
Riccardo Spagni 76a6a794f9
Merge pull request #2969
6 years ago
Riccardo Spagni baaeefdecc
Merge pull request #3098
6 years ago
xmr-eric 84a7f6a482 Readd copyright starting date
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
stoffu 935e39c7f3
levin_protocol_handler_async: erase from back of vector instead of front
6 years ago
Riccardo Spagni fdb0a92f1b
Merge pull request #3155
6 years ago
Riccardo Spagni 9fff66f004
Merge pull request #3012
6 years ago
Jethro Grassie 21bd21576d
remove unnecessary include
6 years ago
Riccardo Spagni d2ff91cb17
Merge pull request #3107
6 years ago
Lee Clagett 951716146f Remove is_pod trait, and replace with is_standard_layout requirement
6 years ago
moneromooo-monero b7e5a70bb1
epee: detect strptime, use std::get_time as fallback
6 years ago
Jethro Grassie be1826c0fb
Keep readline optional
6 years ago
Riccardo Spagni 1c11ec71b5
Merge pull request #2995
6 years ago
Riccardo Spagni f9c66ba67c
Merge pull request #2990
6 years ago
Riccardo Spagni 2d60c9b738
Merge pull request #2986
6 years ago
moneromooo-monero fdd4c5e577
move memwipe to epee to avoid common<->crypto circular dependencies
6 years ago
moneromooo-monero 40ab12a773
epee: remove dependency on common
6 years ago
moneromooo-monero e4bbeff2f5
epee: check some error return values
7 years ago
Riccardo Spagni 6ca30ae666
Merge pull request #2936
7 years ago
Riccardo Spagni effdc82b58
Merge pull request #2930
7 years ago
Riccardo Spagni b38f6dcf0b
Merge pull request #2929
7 years ago
Riccardo Spagni 2b00899bb2
Merge pull request #2920
7 years ago
Riccardo Spagni 13b846971c
Merge pull request #2909
7 years ago
Riccardo Spagni 9d1c4408ad
Merge pull request #2905
7 years ago
moneromooo-monero 6ccc51f645
wipeable_string: fix buffer overread
7 years ago
dEBRUYNE-1 2018cf74a6
Fix Windows build
7 years ago
moneromooo-monero bd1f6029a3
http_client: rewrite header parsing manually for speed
7 years ago
moneromooo-monero f1bdc9a42a
tests: add http client fuzz test
7 years ago
moneromooo-monero 2d17feb060
factor STL container serialization
7 years ago
moneromooo-monero 373d1d504b
epee: use strptime instead of std::get_time, for compatibility
7 years ago
moneromooo-monero 6c94516fb4
wipeable_string: move a wipe from reserve to grow
7 years ago
moneromooo-monero 5f801b6adf
wipeable_string: ignore reserve size less than actual size
7 years ago
moneromooo-monero 9ec44a2b06
wipeable_string: fix clear and push_back
7 years ago
moneromooo-monero bd5cce07b3
network_throttle: fix ineffective locking
7 years ago
moneromooo-monero e0a61299fb
network_throttle: remove unused xxx static member
7 years ago
moneromooo-monero 213e326cc9
abstract_tcp_server2: log init_server errors as fatal
7 years ago
moneromooo-monero f0568ca6ac
net_parse_helpers: fix regex error checking
7 years ago
moneromooo-monero a4240d9ffc
catch const exceptions
7 years ago
moneromooo-monero 45a1c4c088
add empty container sanity checks when using front() and back()
7 years ago
moneromooo-monero 187a6ab2d2
epee: trap failure to parse URI from request
7 years ago
moneromooo-monero 38c8f4e0a3
mlog: terminate a string at last char, just in case
7 years ago
Riccardo Spagni a3a8343051
Merge pull request #2857
7 years ago
Riccardo Spagni 066fd7aced
Merge pull request #2877
7 years ago
moneromooo-monero bb89ae8b20
move connection_basic and network_throttle from src/p2p to epee
7 years ago
moneromooo-monero 09ce03d612
move includes around to lessen overall load
7 years ago
moneromooo-monero 7193b89fe5 Scrub keys from memory just before scope end.
7 years ago