wowario
952b0492d9
initial commit
3 years ago
moneromooo-monero
8eb2b79bad
p2p: remove blocked addresses/hosts from peerlist
3 years ago
SChernykh
9ca9f1214a
Fixed issues found by static analysis
...
- 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
3 years ago
moneromooo-monero
b5667c9f6c
p2p: allow CIDR notation in DNS blocklist
3 years ago
moneromooo-monero
fe6dda9453
p2p: only log to global when a blocked IP is not already blocked
3 years ago
Lee Clagett
ba3c627c57
Command max_bytes moved from dynamic map to static switch
3 years ago
luigi1111
7ecdc53e11
Merge pull request #7248
...
3c7eec1
add a max levin packet size by command type (moneromooo-monero)
3 years ago
moneromooo-monero
3c7eec152c
add a max levin packet size by command type
3 years ago
Alexander Blair
db686707cb
Merge pull request #7239
...
e685f52e2
p2p: fix deadlock banning while updating peer lists (moneromooo)
3 years ago
moneromooo
e685f52e25
p2p: fix deadlock banning while updating peer lists
3 years ago
Lee Clagett
7d67a2dde0
Add aggressive restrictions to pre-handshake p2p buffer limit
3 years ago
Alexander Blair
0873f3193a
Merge pull request #7181
...
e35bbb1e8
ban lists may now include subnets (moneromooo-monero)
3 years ago
Alexander Blair
e08d37fc7b
Merge pull request #7146
...
3bb748ad9
p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
3 years ago
Alexander Blair
1c14b7b3b2
Merge pull request #7139
...
fb9ef2426
Optional DNS based blocklist (moneromooo-monero)
3 years ago
moneromooo-monero
e35bbb1e88
ban lists may now include subnets
3 years ago
moneromooo-monero
fb9ef24267
Optional DNS based blocklist
...
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
3 years ago
moneromooo-monero
3bb748ad94
p2p: remove peers from grey and anchors lists when blocked
4 years ago
moneromooo-monero
a569483c19
p2p: ignore incoming peer list entries when we have them blocked
4 years ago
luigi1111
f7aa91f70d
Merge pull request #7076
...
37bb594
Do not use peer_id tracking method over i2p/tor (Lee Clagett)
4 years ago
luigi1111
f9a70e4260
Merge pull request #7073
...
446b3c8
p2p: drop peers that spam peer lists (moneromooo-monero)
4 years ago
luigi1111
f105a0ef38
Merge pull request #7071
...
21b3ff2
p2p: fix race condition accessing a deleted context (moneromooo-monero)
4 years ago
moneromooo-monero
21b3ff2c90
p2p: fix race condition accessing a deleted context
4 years ago
moneromooo-monero
446b3c865b
p2p: drop peers that spam peer lists
...
There's always some people who just want to abuse things
4 years ago
moneromooo
9427b5a6d5
keep only the last seen node on a given host in the white list
4 years ago
Howard Chu
398e64ccbe
Better log message for unusable anon networks
4 years ago
Lee Clagett
6f48a146f8
Fix i2p/tor seed nodes
4 years ago
luigi1111
1a3bef15b9
Merge pull request #6993
...
44c93bb
p2p: fix accessing non existent element of map (moneromooo-monero)
4 years ago
moneromooo-monero
44c93bb47a
p2p: fix accessing non existent element of map
4 years ago
moneromooo-monero
4985afddb3
p2p: add a tor seed
4 years ago
luigi1111
4191dc8981
Merge pull request #6990
...
263579b
Add support for i2p and tor seed nodes (vtnerd)
4 years ago
luigi1111
32581fb223
Merge pull request #6985
...
91f1be9
net_node: add tor / i2p seed nodes (selsta)
4 years ago
selsta
91f1be9ea2
net_node: add tor / i2p seed nodes
4 years ago
moneromooo-monero
35186b1b84
p2p: fix endianness when checking IPv6 addresses mapping to IPv4
4 years ago
moneromooo-monero
b36c4f354b
p2p: make this work with boost <= 1.65 (pffff)
4 years ago
moneromooo
92d19c48da
p2p: rewrite boost's make_address_v4 to cater for < 1.66
4 years ago
luigi1111
4603ec9765
Merge pull request #6962
...
1a627e1
p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
4 years ago
luigi1111
0be71bcea9
Merge pull request #6961
...
f55f3fe
net_node: add --ban-list option (selsta)
4 years ago
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.
4 years ago
luigi1111
9f68111b69
Merge pull request #6964
...
5090cdc
p2p: remove banned peers from the white list (moneromooo-monero)
4 years ago
moneromooo
5090cdc9f5
p2p: remove banned peers from the white list
4 years ago
moneromooo
df1061c87d
p2p: give all hosts the same chance of being picked for connecting
...
even if some run more than one node
4 years ago
selsta
f55f3fe81c
net_node: add --ban-list option
4 years ago
xiphon
6352090e6d
Dandelion++: skip desynced peers in stem phase
4 years ago
Lee Clagett
37bb59485f
Do not use peer_id tracking method over i2p/tor
4 years ago
Lee Clagett
263579b217
Add support for i2p and tor seed nodes
4 years ago
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.
4 years ago
Alexander Blair
9414194b1e
Merge pull request #6571
...
1d31e6c00
net_node: remove dead seed nodes (selsta)
4 years ago
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
4 years ago
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
4 years ago
selsta
1d31e6c000
net_node: remove dead seed nodes
4 years ago