aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
Commit message (Collapse)AuthorAgeFilesLines
...
| * daemon: allow proxy configurationanon2021-08-201-1/+18
| | | | | | | | | | Co-authored-by: selsta <selsta@sent.at> Co-authored-by: tobtoht <thotbot@protonmail.com>
* | p2p: remove blocked addresses/hosts from peerlistmoneromooo-monero2021-08-051-3/+18
| |
* | add singapore.node.xmr.pm to seed nodeslza_menace2021-06-181-0/+4
|/
* Merge pull request #7664luigi11112021-05-111-0/+3
|\ | | | | | | 5871e7a net_node: add seed node (selsta)
| * net_node: add seed nodeselsta2021-04-161-0/+3
| |
* | Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-191-15/+5
| |
* | Revert "Merge pull request #7136"luigi11112021-04-161-5/+15
| | | | | | | | | | This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f.
* | Merge pull request #7258luigi11112021-04-161-2/+2
|\ \ | | | | | | | | | 1d1c430 p2p: fix cubic selection in filtered peer list (moneromooo)
| * | p2p: fix cubic selection in filtered peer listmoneromooo2021-01-011-2/+2
| | | | | | | | | | | | | | | Integer quantization biased the picks a lot (leading some indices to never be selected)
* | | Merge pull request #7136luigi11112021-04-161-15/+5
|\ \ \ | |_|/ |/| | | | | 23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
| * | Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-161-15/+5
| | |
* | | p2p: allow CIDR notation in DNS blocklistmoneromooo-monero2021-03-301-5/+12
| | |
* | | Merge pull request #7310luigi11112021-03-291-9/+6
|\ \ \ | |/ / |/| | | | | 76fe73b Revert 'fix accessing an network address in a deleted context' (selsta)
| * | Revert "fix accessing an network address in a deleted context"selsta2021-01-121-9/+6
| | | | | | | | | | | | This reverts commit 4e74385a1ae9eae4ae9e8d155dfd96978eb10e7a.
* | | Merge pull request #7294luigi11112021-02-151-30/+0
|\ \ \ | | | | | | | | | | | | f10c9a1 remove obsolete pruning debug code (moneromooo-monero)
| * | | remove obsolete pruning debug codemoneromooo-monero2021-01-081-30/+0
| | | |
* | | | Merge pull request #7275luigi11112021-02-151-8/+13
|\ \ \ \ | | | | | | | | | | | | | | | f815740 p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data (moneromooo-monero)
| * | | | p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node datamoneromooo-monero2021-01-041-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | removes a back and forth on connect, and the RPC can be removed once all peers have updated
* | | | | Merge pull request #7252luigi11112021-02-151-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | f208d98 p2p: ignore empty IP from DNS block list (moneromooo-monero)
| * | | | | p2p: ignore empty IP from DNS block listmoneromooo-monero2021-01-011-0/+2
| | |_|_|/ | |/| | | | | | | | | | | | | ie, if the list ends in ;
* | | | | p2p: add --max-connections-per-ip daemon optionmoneromooo-monero2021-02-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Helps daemons behind a proxy get more than one connection. Defaults to 1 (no change)
* | | | | Merge pull request #7260luigi11112021-01-151-1/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | c5c278c p2p: only log to global when a blocked IP is not already blocked (moneromooo-monero)
| * | | | p2p: only log to global when a blocked IP is not already blockedmoneromooo-monero2021-01-011-1/+8
| |/ / /
* | | / Command max_bytes moved from dynamic map to static switchLee Clagett2020-12-221-1/+0
| |_|/ |/| |
* | | Merge pull request #7271Alexander Blair2021-01-031-6/+9
|\ \ \ | | | | | | | | | | | | 4e74385a1 fix accessing an network address in a deleted context (moneromooo-monero)
| * | | fix accessing an network address in a deleted contextmoneromooo-monero2021-01-031-6/+9
| | |/ | |/| | | | | | | | | | | | | | | | | | | Both drop_connection and add_host_fail can drop the connection, which invalidates the context, and thus the address it contains. Thanks to wfaressuissia[m] for lots of help and prodding when debugging this
* / | add a max levin packet size by command typemoneromooo-monero2021-01-031-0/+1
|/ /
* / p2p: fix deadlock banning while updating peer listsmoneromooo2020-12-311-0/+1
|/
* Merge pull request #7180Alexander Blair2020-12-261-3/+9
|\ | | | | | | 56748e1d7 ban lists may now include subnets (moneromooo-monero)
| * ban lists may now include subnetsmoneromooo-monero2020-12-221-3/+9
| |
* | 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-261-2/+56
|\ \ \ | | | | | | | | | | | | e9abfea16 Optional DNS based blocklist (moneromooo-monero)
| * | | Optional DNS based blocklistmoneromooo-monero2020-12-201-2/+56
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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-071-7/+9
|\ \ | | | | | | | | | 281b42a p2p: fix race condition accessing a deleted context (moneromooo-monero)
| * | p2p: fix race condition accessing a deleted contextmoneromooo-monero2020-12-061-7/+9
| |/
* | 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-041-39/+50
|\ \ | |/ |/| | | 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-151-39/+50
| |
* | 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
| | |