aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net
Commit message (Collapse)AuthorAgeFilesLines
...
| * Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-192-64/+77
| |
* | Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr2021-04-164-206/+12
|/
* Revert "Merge pull request #7136"luigi11112021-04-162-77/+64
| | | | | This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f.
* Merge pull request #7136luigi11112021-04-162-64/+77
|\ | | | | | | 23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
| * Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-162-64/+77
| |
* | Merge pull request #7460luigi11112021-03-291-28/+24
|\ \ | | | | | | | | | | | | 2935a0c async_protocol_handler_config: fix deadlock (anon) c877705 async_protocol_handler_config: add deadlock demo (anon)
| * | async_protocol_handler_config: fix deadlockanon2021-03-121-28/+24
| |/
* | Merge pull request #7366luigi11112021-03-202-0/+10
|\ \ | | | | | | | | | 9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
| * | Store RPC SSL key/cert for consistent authentication between runsLee Clagett2021-02-132-0/+10
| | |
* | | Merge pull request #7274luigi11112021-03-201-4/+4
|\ \ \ | |_|/ |/| | | | | daf023d epee: don't log raw packet data (moneromooo-monero)
| * | epee: don't log raw packet datamoneromooo-monero2021-01-031-4/+4
| | |
* | | Merge pull request #7399luigi11112021-03-051-2/+14
|\ \ \ | | | | | | | | | | | | 556af11 epee: return HTTP error 400 (Bad request) on deserialization error (moneromooo-monero)
| * | | epee: return HTTP error 400 (Bad request) on deserialization errormoneromooo-monero2021-02-231-2/+14
| | | | | | | | | | | | | | | | It's better than 404 (Not found)
* | | | async_protocol_handler_config: remove connection correctlyanon2021-02-191-1/+1
|/ / /
* | | Merge pull request #7343luigi11112021-02-181-32/+2
|\ \ \ | | | | | | | | | | | | 545b982 Remove unnecessary atomic operations in levin code (Lee Clagett)
| * | | Remove unnecessary atomic operations in levin codeLee Clagett2021-01-191-32/+2
| | |/ | |/|
* | | Merge pull request #7308luigi11112021-02-152-7/+19
|\ \ \ | | | | | | | | | | | | | | | | df2f00f boosted_tcp_server: fix connection lifetime (anon) 3833624 boosted_tcp_server: add segfault demo (anon)
| * | | boosted_tcp_server: fix connection lifetimeanon2021-01-192-7/+19
| |/ /
* / / Reduce compilation time of epee/portable_storage.hmj-xmr2021-02-061-0/+1
|/ /
* / add a max levin packet size by command typemoneromooo-monero2021-01-031-4/+13
|/
* Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2020-12-172-10/+25
|
* ssl: buffered handshake detectionanon2020-12-284-12/+12
|
* epee: fix some issues using connections after shutdownmoneromooo-monero2020-12-261-6/+21
|
* Change epee binary output from std::stringstream to byte_streamLee Clagett2020-10-106-10/+12
|
* epee: tighten the URL parsing regexp a littlemoneromooo-monero2020-11-091-4/+4
| | | | | | fixes massive amounts of time spent on pathological inputs Found by OSS-Fuzz
* Merge pull request #6727Alexander Blair2020-08-161-9/+31
|\ | | | | | | | | | | | | 13eee1d6a rpc: reject wrong sized txid (moneromooo-monero) 92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero) 6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero) 90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
| * epee: guard against exceptions in RPC handlersmoneromooo-monero2020-07-301-9/+31
| |
* | Merge pull request #6720Alexander Blair2020-08-161-26/+0
|\ \ | | | | | | | | | 86abf558c epee: Remove unused functions in local_ip.h (Jean Pierre Dudey)
| * | epee: Remove unused functions in local_ip.hJean Pierre Dudey2020-07-221-26/+0
| |/ | | | | | | Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
* / wallet2_api: implement runtime proxy configurationxiphon2020-07-202-8/+1
|/
* Merge pull request #6516Alexander Blair2020-07-192-7/+0
|\ | | | | | | 8656a8c9f remove double includes (sumogr)
| * remove double includessumogr2020-05-112-7/+0
| |
* | Merge pull request #6512Alexander Blair2020-07-195-5/+5
|\ \ | | | | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * | Update copyright year to 2020SomaticFanatic2020-05-065-5/+5
| | | | | | | | | | | | Update copyright year to 2020
* | | Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett2020-05-312-11/+10
|/ /
* | Merge pull request #6446luigi11112020-05-012-0/+11
|\ \ | | | | | | | | | e509ede trezor: adapt to new passphrase mechanism (ph4r05)
| * | trezor: adapt to new passphrase mechanismDusan Klinec2020-04-272-0/+11
| |/ | | | | | | | | | | | | | | | | - choice where to enter passphrase is now made on the host - use wipeable string in the comm stack - wipe passphrase memory - protocol optimizations, prepare for new firmware version - minor fixes and improvements - tests fixes, HF12 support
* / Allow wallet2.h to run in WebAssemblywoodser2020-04-152-152/+111
|/ | | | | | | - Add abstract_http_client.h which http_client.h extends. - Replace simple_http_client with abstract_http_client in wallet2, message_store, message_transporter, and node_rpc_proxy. - Import and export wallet data in wallet2. - Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
* Merge pull request #6339luigi11112020-04-042-2/+2
|\ | | | | | | c61abf8 remove empty statements (shopglobal)
| * remove empty statementsInterchained2020-02-172-2/+2
| | | | | | | | Cleaning up a little around the code base.
* | p2p: fix frequent weak_ptr exception on connectionmoneromooo-monero2020-03-311-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | When a handshake fails, it can fail due to timeout or destroyed connection, in which case the connection will be, or already is, closed, and we don't want to do it twice. Additionally, when closing a connection directly from the top level code, ensure the connection is gone from the m_connects list so it won't be used again. AFAICT this is now clean in netstat, /proc/PID/fd and print_cn. This fixes a noisy (but harmless) exception.
* | Merge pull request #6244Alexander Blair2020-03-121-5/+16
|\ \ | | | | | | | | | 352bd132 abstract_tcp_server2: guard against negative timeouts (moneromooo-monero)
| * | abstract_tcp_server2: guard against negative timeoutsmoneromooo-monero2019-12-161-5/+16
| | |
* | | Merge pull request #6243Alexander Blair2020-03-121-6/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | 4771a7ae p2p: remove obsolete local time in handshake (moneromooo-monero) 2fbbc4a2 p2p: avoid sending the same peer list over and over (moneromooo-monero) 3004835b epee: remove backward compatible endian specific address serialization (moneromooo-monero) 39a343d7 p2p: remove backward compatible peer list (moneromooo-monero) 60631802 p2p: simplify last_seen serialization now we have optional stores (moneromooo-monero) 9467b2e4 cryptonote_protocol: omit top 64 bits of difficulty when 0 (moneromooo-monero) b595583f serialization: do not write optional fields with default value (moneromooo-monero) 5f98b46d p2p: remove obsolete local time from TIMED_SYNC (moneromooo-monero)
| * | epee: remove backward compatible endian specific address serializationmoneromooo-monero2020-01-261-6/+2
| | |
* | | Merge pull request #6182Alexander Blair2020-02-061-1/+1
|\ \ \ | |/ / |/| | | | | e896cca8 epee: reorder a couple init list fields to match declaration (moneromooo-monero)
| * | epee: reorder a couple init list fields to match declarationmoneromooo-monero2019-11-251-1/+1
| | | | | | | | | | | | This is a bug waiting to happen
* | | Merge pull request #6143Alexander Blair2020-01-161-0/+2
|\ \ \ | |_|/ |/| | | | | 6efeefbc epee: set application/json MIME type on json errors (moneromooo-monero)
| * | epee: set application/json MIME type on json errorsmoneromooo-monero2019-11-151-0/+2
| |/
* / epee: close connection when the peer has done somoneromooo-monero2019-11-111-1/+7
|/ | | | | | This fixes rapid reconnections failing as the peer hasn't yet worked out the other side is gone, and will reject "duplicate" connections until a timeout.