Commit Graph

844 Commits (master)

Author SHA1 Message Date
Alexander Blair 7db379cc82
Merge pull request #6720
4 years ago
Alexander Blair 10ad0d7eb2
Merge pull request #6718
4 years ago
Alexander Blair 01b512f3a9
Merge pull request #6716
4 years ago
moneromooo-monero 05ad4fa397
epee: further defending against exceptions in command handlers
4 years ago
moneromooo-monero 6dd95d5308
epee: guard against exceptions in RPC handlers
4 years ago
rbrunner7 fb31167b12 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command
4 years ago
koe 85efc88c1e Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test
4 years ago
Jean Pierre Dudey 86abf558cb epee: Remove unused functions in local_ip.h
4 years ago
xiphon 76c16822d0 wallet2_api: implement runtime proxy configuration
4 years ago
Alexander Blair 9871fefbf9
Merge pull request #6565
4 years ago
Alexander Blair 3ba6c7fd30
Merge pull request #6516
4 years ago
Alexander Blair a0d179e528
Merge pull request #6512
4 years ago
luigi1111 803f58553b
Merge pull request #6675
4 years ago
luigi1111 be170c485c
Merge pull request #6584
4 years ago
luigi1111 35e2520115
Merge pull request #6559
4 years ago
moneromooo-monero 3721d5688f epee: fix array underflow in unicode parsing
4 years ago
luigi1111 e27604ff10
Merge pull request #6539
4 years ago
luigi1111 967285a9fa
Merge pull request #6522
4 years ago
Lee Clagett 7aeb503547 Fix boost <1.60 compilation and fix boost 1.73+ warnings
4 years ago
moneromooo-monero 78d435a5fa
rpc: don't display invalid json errors on default log level
4 years ago
Doyle 15538f7e3f ByteSlice: Fix persisting ptr to std::moved SSO buffer
4 years ago
moneromooo-monero 72cdfa4a20
fix a few typos in error messages
4 years ago
moneromooo-monero 85164a8daf
epee: use memwipe rather than memset for md5 secrets
4 years ago
selsta f35ced6d7f
build: fix boost 1.73 compatibility
4 years ago
Lee Clagett 29e563bb1e Fixed bugs for take_slice and byte_stream->byte_slice
4 years ago
sumogr 8656a8c9ff remove double includes
4 years ago
SomaticFanatic 5ef0607da6 Update copyright year to 2020
4 years ago
Lee Clagett c26c93019a Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.
4 years ago
luigi1111 c9b800a787
Merge pull request #6446
4 years ago
Dusan Klinec e509ede2aa
trezor: adapt to new passphrase mechanism
4 years ago
luigi1111 00ede0038d
Merge pull request #6387
4 years ago
luigi1111 d86d1a4d29
Merge pull request #6370
4 years ago
luigi1111 cfc0f4a7fa
Merge pull request #6351
4 years ago
luigi1111 c4f75fe898
Merge pull request #6339
4 years ago
luigi1111 292e2d8f28
Merge pull request #6335
4 years ago
Lee Clagett da99157462 Use byte_slice for sending zmq messages - removes data copy within zmq
4 years ago
luigi1111 06c81b6527
Merge pull request #6359
4 years ago
woodser 87d75584e8 Allow wallet2.h to run in WebAssembly
4 years ago
moneromooo-monero 21fe6a289b
p2p: fix frequent weak_ptr exception on connection
4 years ago
luigi1111 6c7d928f19
Merge pull request #6336
4 years ago
luigi1111 48b244dcd4
Merge pull request #6311
4 years ago
Lee Clagett f9441c5759 Fixed string_ref usage bug in epee::from_hex::vector
4 years ago
xiphon 0dbdba876e epee: avoid spamming 'Generating SSL certificate' in the logs
4 years ago
Alexander Blair 820ab9fdea
Merge pull request #6273
4 years ago
Alexander Blair 857abc368c
Merge pull request #6244
4 years ago
Alexander Blair 092a57df99
Merge pull request #6243
4 years ago
Martijn Otto 6079042cce
Use boost::asio::ssl::context::sslv23 for backwards compatibility
4 years ago
Lee Clagett 5fcc23ae0a Move hex->bin conversion to monero copyright files and with less includes
4 years ago
Lee Clagett 81c5943453 Remove temporary std::string creation in some hex->bin calls
4 years ago
Lee Clagett 0f78b06e8c Various improvements to the ZMQ JSON-RPC handling:
4 years ago
Alexander Blair 944e8a4542
Merge pull request #6220
4 years ago
Alexander Blair 8d5e043981
Merge pull request #6205
4 years ago
Interchained c61abf87c0 remove empty statements
4 years ago
xiphon 0078ce7fac wipeable_string: split - treat CR, LF and Tabs as separators
4 years ago
moneromooo-monero 760ecf2ac8
console_handler: do not let exception past the dor
4 years ago
Alexander Blair 5e384f21b5
Merge pull request #6184
4 years ago
Alexander Blair a62f7dc573
Merge pull request #6182
4 years ago
Martijn Otto 5002a0343f
Explicitly define copy assignment operator
4 years ago
moneromooo-monero 3004835b51
epee: remove backward compatible endian specific address serialization
4 years ago
moneromooo-monero b595583f3d
serialization: do not write optional fields with default value
4 years ago
moneromooo-monero 56a4469ef3
network: log traffic and add a simple traffic analysis script
4 years ago
Alexander Blair 8039fd4cab
Merge pull request #6143
4 years ago
Alexander Blair f1ca98a7ef
Merge pull request #6133
4 years ago
Alexander Blair fbc15de2cd
Merge pull request #6125
4 years ago
Alexander Blair fe736070d2
Merge pull request #6120
4 years ago
moneromooo-monero 352bd13254
abstract_tcp_server2: guard against negative timeouts
4 years ago
Bertrand Jacquin 021cf733c6
ssl: server-side: allow multiple version of TLS
5 years ago
moneromooo-monero 2d1afceb0d
net_ssl: load default certificates in CA mode on Windows
5 years ago
moneromooo-monero e896cca86e
epee: reorder a couple init list fields to match declaration
5 years ago
moneromooo-monero 6efeefbca2
epee: set application/json MIME type on json errors
5 years ago
moneromooo-monero feef1c6aac
epee: fix peer ids being truncated on display
5 years ago
Bert Peters b2ad757f48 Replace memset with memwipe.
5 years ago
xiphon 584d057f74 epee: fix console_handlers_binder race, wait for thread to finish
5 years ago
moneromooo-monero 3d649d528a
epee: close connection when the peer has done so
5 years ago
Lee Clagett a9bdc6e4c4 Improved performance for epee serialization:
5 years ago
Lee Clagett 5d7ae2d279 Adding support for hidden (anonymity) txpool
5 years ago
moneromooo-monero dcff02e4c3
epee: allow a random component in once_a_time timeouts
5 years ago
luigi1111 960c215801
Merge pull request #5357
5 years ago
moneromooo-monero 2899379791
daemon, wallet: new pay for RPC use system
5 years ago
luigi1111 42d84ad35e
Merge pull request #6006
5 years ago
xiphon 9f3be3baed epee: use SO_REUSEADDR on non-Windows targets
5 years ago
luigi1111 6b58d6248a
Merge pull request #5996
5 years ago
luigi1111 18f62f89d8
Merge pull request #5986
5 years ago
luigi1111 84ce43a239
Merge pull request #5966
5 years ago
moneromooo-monero be82c40703
Support median block size > 4 GB
5 years ago
xiphon 23ba69ec88 epee: fix SSL server handshake, run_one() can block, use poll_one()
5 years ago
luigi1111 7ec8d9640e
Merge pull request #5911
5 years ago
moneromooo-monero e48dcb7a01
levin: armour against some "should not happen" case
5 years ago
luigi1111 8fcdf77d7b
Merge pull request #5947
5 years ago
luigi1111 4118e4b1e9
Merge pull request #5937
5 years ago
moneromooo-monero 10801362f4
abstract_tcp_server2: move "Trying to connect" from error to debug
5 years ago
luigi1111 da7a3dd17b
Merge pull request #5936
5 years ago
luigi1111 18da0fa240
Merge pull request #5918
5 years ago
luigi1111 ca975bcb79
Merge pull request #5917
5 years ago
xiphon c9cfbf7fb3 epee: tcp server - set SO_LINGER instead of SO_REUSEADDR option
5 years ago
luigi1111 15b9b4e047
Merge pull request #5910
5 years ago
luigi1111 c6430f9dd0
Merge pull request #5893
5 years ago
moneromooo-monero 4b654f65a3
abstract_tcp_server2: log pointer, not contents, where appropriate
5 years ago
xiphon 24473d7584 build: fix MinGW GUI dependencies build
5 years ago
moneromooo-monero 89339551a2
epee: misc_log_ex.h can now be used in C code
5 years ago
luigi1111 cbec75ec31
Merge pull request #5892
5 years ago
xiphon 4371791977 epee: implement handshake timeout for SSL connections
5 years ago
xiphon 7d81850a46 epee: fix network timeouts in blocked_mode_client
5 years ago
moneromooo-monero 32f725d32f
Properly format multiline logs
5 years ago
luigi1111 b4ac8969a8
Merge pull request #5898
5 years ago
moneromooo-monero 1b91bebd2e
abstract_tcp_server2: fix lingering connections
5 years ago
Lee Clagett 73f22c48e1
depends: fix MacOS build with Clang 3.7.1
5 years ago
anonimal cd57a10c90
epee: abstract_tcp_server2: resolve CID 203919 (DC.WEAK_CRYPTO)
5 years ago
iDunk5400 ab2819a365
depends: attempt to fix readline
5 years ago
anonimal 2825f07d95
epee: connection_basic: resolve CID 203916 (UNINIT_CTOR)
5 years ago
anonimal 3a816398b3
epee: connection_basic: resolve CID 203920 (UNINIT_CTOR)
5 years ago
moneromooo-monero bc1144e98e
Fix IP address serialization on big endian
5 years ago
moneromooo-monero 516f7b9de0
storages: fix "portable" storage on big endian
5 years ago
moneromooo-monero 32c3834948
storages: fix writing varints on big endian
5 years ago
moneromooo-monero bdda084651
epee: fix local/loopback checks on big endian
5 years ago
luigi1111 1b93cb74bb
Merge pull request #5824
5 years ago
luigi1111 6fe281d315
Merge pull request #5814
5 years ago
luigi1111 23547e6ed6
Merge pull request #5536
5 years ago
moneromooo-monero 1a367d6a22
simplewallet: lock console on inactivity
5 years ago
Tom Smeding a84aa04d57 syncobj.h no longer defines shared_guard, so remove those define's
5 years ago
Jethro Grassie 30779de39d
fix feature not introduced until boost 1.66
5 years ago
moneromooo-monero 2a41dc0453
epee: fix connections not being properly closed in some instances
5 years ago
moneromooo-monero eeca5ca0c8
epee: support unicode in parsed strings
5 years ago
luigi1111 8a0711f2f2
Merge pull request #5674
5 years ago
luigi1111 df064eaa36
Merge pull request #5649
5 years ago
Tom Smeding bdcdb0e813 Remove unused code under WINDWOS_PLATFORM guard
5 years ago
Thomas Winget 155475d971
Add IPv6 support
5 years ago
luigi1111 38e0e58a95
Merge pull request #5531
5 years ago
luigi1111 e579fe4ae0
Merge pull request #5530
5 years ago
luigi1111 8774384ace
Merge pull request #5528
5 years ago
Lee Clagett 3b24b1d082 Added support for "noise" over I1P/Tor to mask Tx transmission.
5 years ago
Lee Clagett bdfc63ae4d Add ref-counted buffer byte_slice. Currently used for sending TCP data.
5 years ago
moneromooo-monero 65c4004963
allow blocking whole subnets
5 years ago
moneromooo-monero 098aadf084
p2p: close the right number of connections on setting max in/out peers
5 years ago
Howard Chu a182df21d0
Bans for RPC connections
5 years ago
moneromooo-monero 0564da5fdc
ensure no NULL is passed to memcpy
5 years ago
moneromooo-monero bc09766bf9
abstract_tcp_server2: improve DoS resistance
5 years ago
moneromooo-monero 39169ace09
epee: basic sanity check on allocation size from untrusted source
5 years ago
luigi1111 9c0e9c40ec
Merge pull request #5618
5 years ago
xiphon b0a04f7d45 epee: fix SSL autodetect on reconnection
5 years ago
moneromooo-monero 35c20c4332
Fix GCC 9.1 build warnings
5 years ago
Lee Clagett 3544596f9f Add ssl_options support to monerod's rpc mode.
5 years ago
luigi1111 14723fc6e7
Merge pull request #5527
5 years ago
luigi1111 1fc1c7318c
Merge pull request #5519
5 years ago
moneromooo-monero 9a6006bad8
abstract_tcp_server2: move some things out of a lock
5 years ago
moneromooo-monero 6abaaaa994
remove obsolete save_graph skeleton code
5 years ago
moneromooo-monero f61a315e8b
net_utils: fix m_ssl type from time_t to bool
5 years ago
moneromooo-monero 9a7a453f25
net_ssl: free certs after setting them up
5 years ago
Riccardo Spagni c0bc6d96cd
Merge pull request #5509
5 years ago
Riccardo Spagni 2d04b0e500
Merge pull request #5499
5 years ago
moneromooo-monero a62e072571
net_ssl: SSL config tweaks for compatibility and security
5 years ago
moneromooo-monero 367bb80ae7
mlog: default to not showing SSL errors
5 years ago
moneromooo-monero a4c4a2d8aa
blockchain: keep a rolling long term block weight median
5 years ago
moneromooo-monero 5e0da6fb68
change SSL certificate fingerprint whitelisting from SHA1 to SHA-256
5 years ago
Riccardo Spagni 5d09e39174
Merge pull request #5482
5 years ago
Riccardo Spagni d86dd5fa7c
Merge pull request #5479
5 years ago
moneromooo-monero 9956500d14
net_helper: clear recv buffer on eof
5 years ago
moneromooo-monero edbae2d05b
levin_protocol_handler_async: tune down preallocation a fair bit
5 years ago
moneromooo-monero 7a9316ebef
serialization: set default log category
5 years ago
moneromooo-monero b672d4d6e5
epee: use boost/timer/timer.hpp, boost/timer.hpp is deprecated
5 years ago
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