aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fixed i2p/tor tx flooding bug (white noise disabled)Lee Clagett2019-07-291-2/+2
| | |
* | | p2p: fix bans taking port into accountmoneromooo-monero2019-09-163-10/+10
|/ /
* | Merge pull request #5841luigi11112019-09-081-1/+10
|\ \ | | | | | | | | | cae488d p2p: reject incoming connections to self (moneromooo-monero)
| * | p2p: reject incoming connections to selfmoneromooo-monero2019-08-221-1/+10
| |/
* | Merge pull request #5839luigi11112019-09-082-17/+26
|\ \ | | | | | | | | | e353e3d p2p: sanitize peer lists (moneromooo-monero)
| * | p2p: sanitize peer listsmoneromooo-monero2019-08-212-17/+26
| |/ | | | | | | | | Also remove the delta time fixup, since we now ignore those as they're attacker controlled
* | Merge pull request #5838luigi11112019-09-081-1/+1
|\ \ | | | | | | | | | 2e26536 p2p: move log away from global (moneromooo-monero)
| * | p2p: move log away from globalmoneromooo-monero2019-08-211-1/+1
| |/ | | | | | | It was here while debugging, and I forgot to move it away
* | Fix IP address serialization on big endianmoneromooo-monero2019-09-041-0/+2
| | | | | | | | | | IP addresses are stored in network byte order even on little endian hosts
* | Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett2019-07-174-16/+115
|/
* Merge pull request #5696luigi11112019-08-202-0/+10
|\ | | | | | | fd60d05 daemon: fix print_pl only printing public zone peers (moneromooo-monero)
| * daemon: fix print_pl only printing public zone peersmoneromooo-monero2019-08-192-0/+10
| |
* | Merge pull request #5727luigi11112019-08-191-1/+1
|\ \ | |/ |/| | | 7b9a420 Replace std::random_shuffle with std::shuffle (tomsmeding)
| * Replace std::random_shuffle with std::shuffleTom Smeding2019-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #5682luigi11112019-08-151-0/+3
|\ \ | | | | | | | | | 3768db2 p2p: add a reference to Cao, Tong et al. for the last_seen changes (moneromooo-monero)
| * | p2p: add a reference to Cao, Tong et al. for the last_seen changesmoneromooo-monero2019-06-211-0/+3
| | | | | | | | | | | | "Exploring the Monero Peer-to-Peer Network". https://eprint.iacr.org/2019/411
* | | Merge pull request #5674luigi11112019-08-151-2/+3
|\ \ \ | | | | | | | | | | | | | | | | 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)
| * | | p2p: close the right number of connections on setting max in/out peersmoneromooo-monero2019-06-191-2/+2
| | | |
| * | | p2p: propagate out peers limit to payload handlermoneromooo-monero2019-06-191-0/+1
| |/ /
* | / Add IPv6 supportThomas Winget2019-07-314-34/+231
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #5610luigi11112019-07-243-7/+54
|\ \ | | | | | | | | | 068fa1c p2p: delay IGP probing on startup (moneromooo-monero)
| * | p2p: delay IGP probing on startupmoneromooo-monero2019-06-063-7/+54
| | | | | | | | | | | | We might have external access without having to do this
* | | Merge pull request #5582luigi11112019-07-242-0/+20
|\ \ \ | | | | | | | | | | | | fcfcc3a rpc: in/out peers can now return the setting's value (moneromooo-monero)
| * | | rpc: in/out peers can now return the setting's valuemoneromooo-monero2019-05-302-0/+20
| |/ /
* | | Merge pull request #5530luigi11112019-07-243-18/+0
|\ \ \ | | | | | | | | | | | | 6abaaaa remove obsolete save_graph skeleton code (moneromooo-monero)
| * | | remove obsolete save_graph skeleton codemoneromooo-monero2019-05-103-18/+0
| |/ /
* | | Merge pull request #5363luigi11112019-07-243-18/+116
|\ \ \ | | | | | | | | | | | | | | | | 515ac29 p2p: store network address directly in blocked host list (moneromooo-monero) 65c4004 allow blocking whole subnets (moneromooo-monero)
| * | | allow blocking whole subnetsmoneromooo-monero2019-07-163-10/+108
| | | |
| * | | p2p: store network address directly in blocked host listmoneromooo-monero2019-07-163-8/+8
| | | | | | | | | | | | | | | | rather than their string representation
* | | | Merge pull request #5732Riccardo Spagni2019-07-171-2/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | 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)
| * | | p2p: add a few missing connection close callsmoneromooo-monero2019-07-041-2/+6
| | | |
* | | | p2p: don't connect to more than one IP per class B if we canmoneromooo-monero2019-07-051-11/+45
|/ / /
* | / p2p: don't forget pruning seed or public RPC port when updating peersmoneromooo-monero2019-06-261-4/+16
| |/ |/| | | | | Older nodes don't pass that information around
* | p2p: fix GCC 9.1 crashmoneromooo-monero2019-06-081-4/+6
|/
* p2p: do not send last_seen timestamp to peersmoneromooo-monero2019-04-243-12/+30
| | | | | | | | | | | | | | 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.
* Merge pull request #5425Riccardo Spagni2019-04-161-1/+8
|\ | | | | | | 58585986 p2p: fix integer overflow in host bans (moneromooo-monero)
| * p2p: fix integer overflow in host bansmoneromooo-monero2019-04-111-1/+8
| |
* | crypto: replace rand<T>()%N idiom with unbiased rand_idx(N)stoffu2019-04-042-3/+3
|/
* Merge pull request #5334Riccardo Spagni2019-04-011-1/+1
|\ | | | | | | 19f8089f p2p: don't lookup seed nodes when offline (moneromooo-monero)
| * p2p: don't lookup seed nodes when offlinemoneromooo-monero2019-03-221-1/+1
| | | | | | | | | | This will cause DNS requests, which will block and timeout if there is really no network connectivity
* | Fix daemon startup parameter '--limit-rate' processing after parameter defaultsrbrunner72019-03-201-4/+2
|/
* Merge pull request #5195Riccardo Spagni2019-03-193-0/+6
|\ | | | | | | a54e81e5 daemon: add '--no-sync' arg to optionally disable blockchain sync (xiphon)
| * daemon: add '--no-sync' arg to optionally disable blockchain syncxiphon2019-02-253-0/+6
| |
* | Merge pull request #5190Riccardo Spagni2019-03-175-12/+39
|\ \ | | | | | | | | | 551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
| * | daemon: add --public-node mode, RPC port propagation over P2Pxiphon2019-02-255-12/+39
| |/
* | Update 2019 copyrightbinaryFate2019-03-059-9/+9
| |
* | p2p: avoid busy loop when we have nothing to connect tomoneromooo-monero2019-03-051-1/+9
| |
* | default initialize rpc structuresmoneromooo-monero2019-03-042-17/+32
| |
* | Merge pull request #5091Riccardo Spagni2019-03-043-3/+60
|\ \ | | | | | | | | | 123fc2a2 i2p: initial support (Jethro Grassie)
| * | i2p: initial supportJethro Grassie2019-01-303-3/+60
| |/