| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\
| |
| |
| | |
9f3be3b epee: use SO_REUSEADDR on non-Windows targets (xiphon)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
23ba69e epee: fix SSL server handshake, run_one() can block, use poll_one() (xiphon)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
1080136 abstract_tcp_server2: move 'Trying to connect' from error to debug (moneromooo-monero)
|
| | |
| |
| |
| | |
and fix the message grammar
|
| |\ \
| | |
| | |
| | | |
e48dcb7 levin: armour against some 'should not happen' case (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
If adding a response handler after the protocol is released,
they could never be cancelled again, and would end up keeping
a ref that never goes away
|
| |\ \ \
| | | |
| | | |
| | | | |
c9cfbf7 epee: tcp server - set SO_LINGER instead of SO_REUSEADDR option (xiphon)
|
| | | | | |
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | | |
4b654f6 abstract_tcp_server2: log pointer, not contents, where appropriate (moneromooo-monero)
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
4371791 epee: implement handshake timeout for SSL connections (xiphon)
|
| | | |_|/
| |/| | |
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | | |
7d81850 epee: fix network timeouts in blocked_mode_client (xiphon)
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | | |
1b91beb abstract_tcp_server2: fix lingering connections (moneromooo-monero)
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Resetting the timer after shutdown was initiated would keep
a reference to the object inside ASIO, which would keep the
connection alive until the timer timed out
|
| |\ \ \
| |_|/
|/| |
| | | |
Coverity fixes [3a81639, 1bd962d, 2825f07, d099658, d46f701, cd57a10] (anonimal)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The problem actually exists in two parts:
1. When sending chunks over a connection, if the queue size is
greater than N, the seed is predictable across every monero node.
>"If rand() is used before any calls to srand(), rand() behaves as if
it was seeded with srand(1). Each time rand() is seeded with the same seed, it
must produce the same sequence of values."
2. The CID speaks for itself: "'rand' should not be used for security-related
applications, because linear congruential algorithms are too easy to break."
*But* this is an area of contention.
One could argue that a CSPRNG is warranted in order to fully mitigate any
potential timing attacks based on crafting chunk responses. Others could argue
that the existing LCG, or even an MTG, would suffice (if properly seeded). As a
compromise, I've used an MTG with a full bit space. This should give a healthy
balance of security and speed without relying on the existing crypto library
(which I'm told might break on some systems since epee is not (shouldn't be)
dependent upon the existing crypto library).
|
| |\ \ \
| |_|/
|/| |
| | | |
73f22c4 depends: fix MacOS build with Clang 3.7.1 (vtnerd)
|
| | |/ |
|
| | |
| |
| |
| |
| | |
IP addresses are stored in network byte order even on little
endian hosts
|
| |/
|
|
| |
IPv4 addresses are kept in network byte order in memory
|
| |\
| |
| |
| | |
2a41dc0 epee: fix connections not being properly closed in some instances (moneromooo-monero)
|
| | |
| |
| |
| | |
Fixed by Fixed by crCr62U0
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| |
| |
| | |
fcbf7b3 p2p: propagate out peers limit to payload handler (moneromooo-monero)
098aadf p2p: close the right number of connections on setting max in/out peers (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
a182df2 Bans for RPC connections (hyc)
|
| | |/
| |
| |
| |
| | |
Make bans control RPC sessions too. And auto-ban some bad requests.
Drops HTTP connections whenever response code is 500.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
new cli options (RPC ones also apply to wallet):
--p2p-bind-ipv6-address (default = "::")
--p2p-bind-port-ipv6 (default same as ipv4 port for given nettype)
--rpc-bind-ipv6-address (default = "::1")
--p2p-use-ipv6 (default false)
--rpc-use-ipv6 (default false)
--p2p-require-ipv4 (default true, if ipv4 bind fails and this is
true, will not continue even if ipv6 bind
successful)
--rpc-require-ipv4 (default true, description as above)
ipv6 addresses are to be specified as "[xx:xx:xx::xx:xx]:port" except
in the cases of the cli args for bind address. For those the square
braces can be omitted.
|
| |\ \
| | |
| | |
| | | |
9a6006b abstract_tcp_server2: move some things out of a lock (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | | |
The lock is meant for the network throttle object only,
and this should help coverity get unconfused
|
| |\ \ \
| | | |
| | | |
| | | | |
6abaaaa remove obsolete save_graph skeleton code (moneromooo-monero)
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | | |
f61a315 net_utils: fix m_ssl type from time_t to bool (moneromooo-monero)
|
| | |/ / |
|
| | |/
|/| |
|
| | | |
|
| |\ \
| | |
| | |
| | | |
b0a04f7 epee: fix SSL autodetect on reconnection (xiphon)
|
| | |/ |
|
| | |
| |
| |
| | |
GCC wants operator= aand copy ctor to be both defined, or neither
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
| |
add two RSA based ciphers for Windows/depends compatibility
also enforce server cipher ordering
also set ECDH to auto because vtnerd says it is good :)
When built with the depends system, openssl does not include any
cipher on the current whitelist, so add this one, which fixes the
problem, and does seem sensible.
|
| |
|
|
| |
SHA1 is too close to bruteforceable
|
| |\
| |
| |
| | |
9956500d net_helper: clear recv buffer on eof (moneromooo-monero)
|
| | | |
|