aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #7145Alexander Blair2020-12-261-0/+2
|\ \ | | | | | | | | | 68637bca3 p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
| * | p2p: remove peers from grey and anchors lists when blockedmoneromooo-monero2020-12-131-0/+2
| | |
* | | Merge pull request #7138Alexander Blair2020-12-264-5/+65
|\ \ \ | | | | | | | | | | | | e9abfea16 Optional DNS based blocklist (moneromooo-monero)
| * | | Optional DNS based blocklistmoneromooo-monero2020-12-204-5/+65
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | If enabled, pulls IPs to block on blocklist.moneropulse.*, and blocks then for 8 days (so IPs dropping from the list will eventually get unblocked, and DNS failures don't result in instant clearing of the blocklist). Enable with --enable-dns-blocklist
* | | Merge pull request #7098Alexander Blair2020-12-261-4/+4
|\ \ \ | |_|/ |/| | | | | c0c75ac19 Fixed issues found by static analysis (SChernykh)
| * | Fixed issues found by static analysisSChernykh2020-12-081-4/+4
| |/ | | | | | | | | | | - rolling_median: tried to free uninitialized pointer in a constructor - net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv - bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
* | Merge pull request #7143luigi11112020-12-191-1/+3
|\ \ | | | | | | | | | 58651d1 p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
| * | p2p: ignore incoming peer list entries when we have them blockedmoneromooo-monero2020-12-131-1/+3
| |/
* | Merge pull request #7075luigi11112020-12-191-1/+3
|\ \ | |/ |/| | | | | f3c0d4f protocol: remove unused (and cunningly uninitialized) field (moneromooo-monero) 8e62362 p2p: ifx getting seed nodes for uncommon cases (moneromooo-monero)
| * p2p: ifx getting seed nodes for uncommon casesmoneromooo-monero2020-12-151-1/+3
| | | | | | | | The code is technically correct, but liable to easily become incorrect with changes
* | Merge pull request #7072luigi11112020-12-071-0/+5
|\ \ | | | | | | | | | bc7cd78 p2p: drop peers that spam peer lists (moneromooo-monero)
| * | p2p: drop peers that spam peer listsmoneromooo-monero2020-12-051-0/+5
| |/ | | | | | | There's always some people who just want to abuse things
* | Merge pull request #7070luigi11112020-12-073-10/+12
|\ \ | | | | | | | | | 281b42a p2p: fix race condition accessing a deleted context (moneromooo-monero)
| * | p2p: fix race condition accessing a deleted contextmoneromooo-monero2020-12-063-10/+12
| |/
* | Merge pull request #7055luigi11112020-12-072-0/+15
|\ \ | | | | | | | | | | | | | | | | | | ff7fdf6 protocol: drop peers that don't reply to queries (moneromooo-monero) 89e984d keep only the last seen node on a given host in the white list (moneromooo-monero) c74d8ff protocol: drop peers that decrease claimed height (moneromooo-monero) 61f5001 protocol: add scoring system to drop peers that don't behave (moneromooo-monero)
| * | keep only the last seen node on a given host in the white listmoneromooo2020-12-042-0/+15
| | |
* | | Merge pull request #7068Alexander Blair2020-12-041-1/+2
|\ \ \ | | | | | | | | | | | | 2395e0e67 p2p: add a tor seed node (moneromooo-monero)
| * | | p2p: add a tor seed nodemoneromooo-monero2020-12-031-1/+2
| | |/ | |/|
* | | Merge pull request #7017Alexander Blair2020-12-042-40/+51
|\ \ \ | |/ / |/| | | | | 13350f79d Do not use peer_id tracking method over i2p/tor (Lee Clagett)
| * | Do not use peer_id tracking method over i2p/torLee Clagett2020-10-152-40/+51
| | |
* | | Merge pull request #7056Alexander Blair2020-12-031-10/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | c64b94bd1 p2p: fix endianness when checking IPv6 addresses mapping to IPv4 (moneromooo-monero) 67f2bec2d p2p: make this work with boost <= 1.65 (pffff) (moneromooo-monero) ffdf1fb1d p2p: rewrite boost's make_address_v4 to cater for < 1.66 (moneromooo)
| * | | p2p: fix endianness when checking IPv6 addresses mapping to IPv4moneromooo-monero2020-12-031-5/+3
| | | |
| * | | p2p: make this work with boost <= 1.65 (pffff)moneromooo-monero2020-12-031-0/+4
| | | |
| * | | p2p: rewrite boost's make_address_v4 to cater for < 1.66moneromooo2020-12-031-9/+14
| | |/ | |/|
* | | Merge pull request #6984Alexander Blair2020-12-031-2/+14
|\ \ \ | |/ / |/| | | | | 7a5e11645 net_node: add tor / i2p seed nodes (selsta)
| * | net_node: add tor / i2p seed nodesselsta2020-11-291-2/+14
| | | | | | | | | | | | Co-authored-by: Lee Clagett <code@leeclagett.com>
* | | p2p: give all hosts the same chance of being picked for connectingmoneromooo2020-11-291-1/+26
|/ / | | | | | | even if some run more than one node
* | Merge pull request #7008luigi11112020-11-291-1/+1
|\ \ | | | | | | | | | 3247f11 Silence stupid warnings (Howard Chu)
| * | Silence stupid warningsHoward Chu2020-11-111-1/+1
| |/
* | Merge pull request #6943luigi11112020-11-291-0/+4
|\ \ | | | | | | | | | cb069d0 p2p: remove banned peers from the white list (moneromooo-monero)
| * | p2p: remove banned peers from the white listmoneromooo2020-10-271-0/+4
| |/
* | Merge pull request #6933luigi11112020-11-291-2/+30
|\ \ | | | | | | | | | 1f04a31 p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
| * | p2p: use /16 filtering on IPv4-within-IPv6 addressesmoneromooo-monero2020-11-031-2/+30
| | | | | | | | | | | | | | | | | | | | | IPv6 addresses include a range that can map IPv4 addresses, which allowed those mapped addresses to bypass filtering. This filter should be replaced by AS filtering at some point.
* | | Merge pull request #6920luigi11112020-11-293-0/+33
|\ \ \ | | | | | | | | | | | | aad2f87 net_node: add --ban-list option (selsta)
| * | | net_node: add --ban-list optionselsta2020-10-203-0/+33
| | |/ | |/|
* | | Merge pull request #6897luigi11112020-11-292-54/+83
|\ \ \ | | | | | | | | | | | | 2abdbf6 Add support for i2p and tor seed nodes (vtnerd)
| * | | Add support for i2p and tor seed nodesLee Clagett2020-10-192-54/+83
| | |/ | |/|
* | | Better log message for unusable anon networksHoward Chu2020-11-161-2/+2
| |/ |/|
* | Dandelion++: skip desynced peers in stem phasexiphon2020-10-123-8/+8
|/
* replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-171-0/+22
| | | | | | | | | | | | | | | | | | | | | | This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
* Merge pull request #6571Alexander Blair2020-08-051-10/+0
|\ | | | | | | 1d31e6c00 net_node: remove dead seed nodes (selsta)
| * net_node: remove dead seed nodesselsta2020-05-201-10/+0
| |
* | Merge pull request #6512Alexander Blair2020-07-199-9/+9
|\ \ | | | | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * | Update copyright year to 2020SomaticFanatic2020-05-069-9/+9
| |/ | | | | | | Update copyright year to 2020
* / Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett2020-05-311-1/+1
|/
* Merge pull request #6471luigi11112020-05-061-0/+3
|\ | | | | | | | | c6a1294 add another seed node (Gingeropolous/selsta) 9faf3d1 Add erciccione's seed node (erciccione/selsta)
| * add another seed nodeGingeropolous2020-04-221-0/+2
| | | | | | | | node is funded by random people and managed by me. currently functioning as public node at uwillrunanodesoon.moneroworld.com
| * Add erciccione's seed nodeerciccione2020-04-221-0/+1
| |
* | Merge pull request #6443luigi11112020-05-012-111/+139
|\ \ | |/ |/| | | 145be6d p2p: startup speedup, init seed nodes on first 'connect_to_seed()' (xiphon)
| * p2p: startup speedup, init seed nodes on first 'connect_to_seed()'xiphon2020-04-212-111/+139
| |