| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | |
| | | |
cae488d p2p: reject incoming connections to self (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
e353e3d p2p: sanitize peer lists (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
Also remove the delta time fixup, since we now ignore those
as they're attacker controlled
|
| |\ \
| | |
| | |
| | | |
2e26536 p2p: move log away from global (moneromooo-monero)
|
| | |/
| |
| |
| | |
It was here while debugging, and I forgot to move it away
|
| | |
| |
| |
| |
| | |
IP addresses are stored in network byte order even on little
endian hosts
|
| |/ |
|
| |\
| |
| |
| | |
fd60d05 daemon: fix print_pl only printing public zone peers (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
7b9a420 Replace std::random_shuffle with std::shuffle (tomsmeding)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
According to [1], std::random_shuffle is deprecated in C++14 and removed
in C++17. Since std::shuffle is available since C++11 as a replacement
and monero already requires C++11, this is a good replacement.
A cryptographically secure random number generator is used in all cases
to prevent people from perhaps copying an insecure std::shuffle call
over to a place where a secure one would be warranted. A form of
defense-in-depth.
[1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
|
| |\ \
| | |
| | |
| | | |
3768db2 p2p: add a reference to Cao, Tong et al. for the last_seen changes (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
"Exploring the Monero Peer-to-Peer Network". https://eprint.iacr.org/2019/411
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
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)
|
| | | | | |
|
| | |/ / |
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | | |
068fa1c p2p: delay IGP probing on startup (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
We might have external access without having to do this
|
| |\ \ \
| | | |
| | | |
| | | | |
fcfcc3a rpc: in/out peers can now return the setting's value (moneromooo-monero)
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | | |
6abaaaa remove obsolete save_graph skeleton code (moneromooo-monero)
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
515ac29 p2p: store network address directly in blocked host list (moneromooo-monero)
65c4004 allow blocking whole subnets (moneromooo-monero)
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
rather than their string representation
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
a96c1a46 cryptonote_protocol: drop peers we can't download from when syncing (moneromooo-monero)
ab361df2 p2p: add a few missing connection close calls (moneromooo-monero)
|
| | | | | |
|
| |/ / / |
|
| | |/
|/|
| |
| | |
Older nodes don't pass that information around
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This can be used for fingerprinting and working out the
network topology.
Instead of sending the first N (which are sorted by last
seen time), we sent a random subset of the first N+N/5,
which ensures reasonably recent peers are used, while
preventing repeated calls from deducing new entries are
peers the target node just connected to.
The list is also randomly shuffled so the original set of
timestamps cannot be approximated.
|
| |\
| |
| |
| | |
58585986 p2p: fix integer overflow in host bans (moneromooo-monero)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
19f8089f p2p: don't lookup seed nodes when offline (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
This will cause DNS requests, which will block and timeout
if there is really no network connectivity
|
| |/ |
|
| |\
| |
| |
| | |
a54e81e5 daemon: add '--no-sync' arg to optionally disable blockchain sync (xiphon)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
|
| | |/ |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | | |
123fc2a2 i2p: initial support (Jethro Grassie)
|
| | |/ |
|