moneromooo-monero
e35bbb1e88
ban lists may now include subnets
2020-12-22 02:12:58 +00:00
moneromooo-monero
a569483c19
p2p: ignore incoming peer list entries when we have them blocked
2020-12-13 23:14:22 +00:00
luigi1111
f7aa91f70d
Merge pull request #7076
...
37bb594
Do not use peer_id tracking method over i2p/tor (Lee Clagett)
2020-12-07 10:26:15 -06:00
luigi1111
f9a70e4260
Merge pull request #7073
...
446b3c8
p2p: drop peers that spam peer lists (moneromooo-monero)
2020-12-07 10:25:38 -06:00
luigi1111
f105a0ef38
Merge pull request #7071
...
21b3ff2
p2p: fix race condition accessing a deleted context (moneromooo-monero)
2020-12-07 10:23:57 -06:00
moneromooo-monero
21b3ff2c90
p2p: fix race condition accessing a deleted context
2020-12-06 12:42:11 +00:00
moneromooo-monero
446b3c865b
p2p: drop peers that spam peer lists
...
There's always some people who just want to abuse things
2020-12-05 13:41:48 +00:00
moneromooo
9427b5a6d5
keep only the last seen node on a given host in the white list
2020-12-04 01:55:05 +00:00
Howard Chu
398e64ccbe
Better log message for unusable anon networks
2020-11-16 12:37:40 +00:00
Lee Clagett
6f48a146f8
Fix i2p/tor seed nodes
2020-11-07 00:37:49 -05:00
luigi1111
1a3bef15b9
Merge pull request #6993
...
44c93bb
p2p: fix accessing non existent element of map (moneromooo-monero)
2020-11-06 18:53:22 -06:00
moneromooo-monero
44c93bb47a
p2p: fix accessing non existent element of map
2020-11-07 00:17:47 +00:00
moneromooo-monero
4985afddb3
p2p: add a tor seed
2020-11-06 23:21:10 +00:00
luigi1111
4191dc8981
Merge pull request #6990
...
263579b
Add support for i2p and tor seed nodes (vtnerd)
2020-11-06 17:15:11 -06:00
luigi1111
32581fb223
Merge pull request #6985
...
91f1be9
net_node: add tor / i2p seed nodes (selsta)
2020-11-06 17:12:42 -06:00
selsta
91f1be9ea2
net_node: add tor / i2p seed nodes
2020-11-05 21:41:11 +01:00
moneromooo-monero
35186b1b84
p2p: fix endianness when checking IPv6 addresses mapping to IPv4
2020-11-05 16:05:54 +00:00
moneromooo-monero
b36c4f354b
p2p: make this work with boost <= 1.65 (pffff)
2020-11-04 23:01:47 +00:00
moneromooo
92d19c48da
p2p: rewrite boost's make_address_v4 to cater for < 1.66
2020-11-04 20:26:50 +00:00
luigi1111
4603ec9765
Merge pull request #6962
...
1a627e1
p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
2020-11-04 10:36:23 -06:00
luigi1111
0be71bcea9
Merge pull request #6961
...
f55f3fe
net_node: add --ban-list option (selsta)
2020-11-04 10:35:07 -06:00
moneromooo-monero
1a627e1f89
p2p: use /16 filtering on IPv4-within-IPv6 addresses
...
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.
2020-11-03 17:36:25 +00:00
luigi1111
9f68111b69
Merge pull request #6964
...
5090cdc
p2p: remove banned peers from the white list (moneromooo-monero)
2020-11-03 11:22:27 -06:00
moneromooo
5090cdc9f5
p2p: remove banned peers from the white list
2020-11-02 19:03:12 +00:00
moneromooo
df1061c87d
p2p: give all hosts the same chance of being picked for connecting
...
even if some run more than one node
2020-11-02 19:01:43 +00:00
selsta
f55f3fe81c
net_node: add --ban-list option
2020-11-02 17:26:02 +01:00
xiphon
6352090e6d
Dandelion++: skip desynced peers in stem phase
2020-10-12 16:39:40 +00:00
Lee Clagett
37bb59485f
Do not use peer_id tracking method over i2p/tor
2020-10-11 13:19:25 +00:00
Lee Clagett
263579b217
Add support for i2p and tor seed nodes
2020-10-09 14:07:40 +00:00
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
...
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.
2020-08-17 16:23:58 +00:00
Alexander Blair
9414194b1e
Merge pull request #6571
...
1d31e6c00
net_node: remove dead seed nodes (selsta)
2020-08-05 07:57:54 -07:00
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
2020-07-19 03:32:59 -07:00
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
2020-05-31 21:18:11 -04:00
selsta
1d31e6c000
net_node: remove dead seed nodes
2020-05-20 01:06:03 +02:00
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
2020-05-06 22:36:54 -04:00
luigi1111
8d0f1696df
Merge pull request #6471
...
c6a1294
add another seed node (Gingeropolous/selsta)
9faf3d1
Add erciccione's seed node (erciccione/selsta)
2020-05-06 00:23:59 -05:00
luigi1111
6e7b883212
Merge pull request #6443
...
145be6d
p2p: startup speedup, init seed nodes on first 'connect_to_seed()' (xiphon)
2020-05-01 15:23:05 -05:00
Gingeropolous
c6a1294b5e
add another seed node
...
node is funded by random people and managed by me. currently functioning as public node at uwillrunanodesoon.moneroworld.com
2020-04-22 15:43:22 +02:00
erciccione
9faf3d1a72
Add erciccione's seed node
2020-04-22 10:24:40 +02:00
xiphon
145be6dbdb
p2p: startup speedup, init seed nodes on first 'connect_to_seed()'
2020-04-21 23:40:04 +00:00
guy
79a1653a07
p2p: add seed node.
2020-04-21 15:35:30 +02:00
luigi1111
97af9649c9
Merge pull request #6372
...
7b9017f
p2p: plug tor to clearnet association vector (Aaron Hook)
2020-04-04 13:09:55 -05:00
moneromooo-monero
21fe6a289b
p2p: fix frequent weak_ptr exception on connection
...
When a handshake fails, it can fail due to timeout or destroyed
connection, in which case the connection will be, or already is,
closed, and we don't want to do it twice.
Additionally, when closing a connection directly from the top
level code, ensure the connection is gone from the m_connects
list so it won't be used again.
AFAICT this is now clean in netstat, /proc/PID/fd and print_cn.
This fixes a noisy (but harmless) exception.
2020-03-31 20:29:41 +00:00
Alexander Blair
3ed5e7ce9f
Merge pull request #6295
...
bcae95a2
p2p: do not add recently failed addresses to the peerlist (moneromooo-monero)
2020-03-27 12:30:06 -07:00
Alexander Blair
e160e0b517
Merge pull request #6283
...
a84131ce
p2p: fix off by one adding fallback peers (moneromooo-monero)
2020-03-27 12:19:55 -07:00
Alexander Blair
c038cc8b79
Merge pull request #6280
...
b818522d
p2p: fix spurious warning when we're connected to at last one seed (moneromooo-monero)
2020-03-27 12:17:54 -07:00
Alexander Blair
3baa68bbab
Merge pull request #6279
...
36bdf402
p2p: fix adding wrong indices to the filtered peer list (moneromooo-monero)
2020-03-27 12:17:07 -07:00
Lee Clagett
02d887c2e5
Adding Dandelion++ support to public networks:
...
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode
- Stem loops detected in tx_pool.cpp
- Embargo timeout for a blackhole attack during stem phase
2020-03-26 15:01:30 +00:00
luigi1111
7c74e1919e
Merge pull request #6405
...
8d23047
p2p: add another seed node (moneromooo-monero)
2020-04-10 16:13:04 -05:00
moneromooo-monero
8d230473ef
p2p: add another seed node
...
Node from syksy, administered by mooo
2020-03-27 22:51:44 +00:00