Alexander Blair
747699541e
Merge pull request #7285
...
927141bcc
Command max_bytes moved from dynamic map to static switch (Lee Clagett)
3 years ago
luigi1111
69e4a2c62d
Merge pull request #7266
...
38a6e6e
protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
3 years ago
Alexander Blair
dbaf95ac77
Merge pull request #7271
...
4e74385a1
fix accessing an network address in a deleted context (moneromooo-monero)
3 years ago
Alexander Blair
71f7d4e71e
Merge pull request #7268
...
1e27f7101
blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
3 years ago
moneromooo-monero
b652d598d1
add a max levin packet size by command type
3 years ago
moneromooo-monero
4e74385a1a
fix accessing an network address in a deleted context
...
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
3 years ago
moneromooo-monero
1e27f7101e
blockchain: lock access to m_blocks_hash_of_hashes
...
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
3 years ago
moneromooo-monero
38a6e6eb26
protocol: handle receiving a block hash we've not added yet
3 years ago
Alexander Blair
16c780d568
Merge pull request #7250
...
61b6e4cc6
Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
3 years ago
Alexander Blair
3bf0721ae6
Merge pull request #7246
...
0aa541b36
protocol: more sanity checks in new chain block hashes (moneromooo-monero)
3 years ago
Alexander Blair
2d60232355
Merge pull request #7237
...
656b2f7ce
p2p: fix deadlock banning while updating peer lists (moneromooo)
3 years ago
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
3 years ago
moneromooo
656b2f7ce1
p2p: fix deadlock banning while updating peer lists
3 years ago
moneromooo-monero
31c69923ba
protocol: don't reset last request time on an idle timer
...
this prevents losing time of "idle time" for a peer, which could
otherwise be reset by another timed sync command from the peer
3 years ago
moneromooo-monero
1eb14af1a3
rpc: limit the number of txes for get_blocks.bin
3 years ago
Alexander Blair
2bccbeecb3
Merge pull request #7205
...
bcdc6c62b
protocol: fix false positives dropping peers (moneromooo-monero)
3 years ago
Alexander Blair
faaec08fa4
Merge pull request #7196
...
4310780c0
cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
3 years ago
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
3 years ago
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode"
3 years ago
moneromooo-monero
4310780c08
cryptonote_basic: guess what got lost porting patches to branches again
3 years ago
Alexander Blair
d61fdebaac
Merge pull request #7188
...
efe83982d
protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
3 years ago
Alexander Blair
5402121323
Merge pull request #7180
...
56748e1d7
ban lists may now include subnets (moneromooo-monero)
3 years ago
Alexander Blair
d06bae56b3
Merge pull request #7173
...
d2fda6c25
restrict public node checks a little (moneromooo-monero)
3 years ago
Alexander Blair
609dbe6b92
Merge pull request #7154
...
cf7e1571d
protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
af0a25544
protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
3 years ago
Alexander Blair
cb712bf4f8
Merge pull request #7145
...
68637bca3
p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
3 years ago
Alexander Blair
69ed0e0001
Merge pull request #7138
...
e9abfea16
Optional DNS based blocklist (moneromooo-monero)
3 years ago
Alexander Blair
b9e444da5e
Merge pull request #7098
...
c0c75ac19
Fixed issues found by static analysis (SChernykh)
3 years ago
Alexander Blair
133056f625
Merge pull request #7086
...
14bc5c095
db_lmdb: move spammy "not found in db" message to TRACE (moneromooo-monero)
3 years ago
Alexander Blair
d365f2409a
Merge pull request #6931
...
fbb03ef2a
simplewallet: add "address mnew" command (codesoap)
3 years ago
codesoap
fbb03ef2a0
simplewallet: add "address mnew" command
3 years ago
moneromooo-monero
efe83982d3
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
3 years ago
moneromooo-monero
d2fda6c25f
restrict public node checks a little
...
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
3 years ago
Lee Clagett
927141bcc4
Command max_bytes moved from dynamic map to static switch
3 years ago
moneromooo-monero
56748e1d74
ban lists may now include subnets
3 years ago
moneromooo-monero
e9abfea165
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
4 years ago
luigi1111
0dac64afb3
Merge pull request #7143
...
58651d1
p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
4 years ago
luigi1111
e0d8af253e
Merge pull request #7141
...
9de3787
daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
4 years ago
luigi1111
7ee37e4b38
Merge pull request #7075
...
f3c0d4f
protocol: remove unused (and cunningly uninitialized) field (moneromooo-monero)
8e62362
p2p: ifx getting seed nodes for uncommon cases (moneromooo-monero)
4 years ago
moneromooo-monero
5a1ac9c0ef
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
4 years ago
moneromooo-monero
cf7e1571d3
protocol: reject claimed block hashes that already are in the chain
4 years ago
Lee Clagett
61b6e4cc67
Add aggressive restrictions to pre-handshake p2p buffer limit
4 years ago
moneromooo-monero
af0a25544e
protocol: drop peers we can't download anything from in sync mode
...
instead of the (incorrect) check for whether we think we might have
a user for it at some point in the near future. We can reconnect.
4 years ago
moneromooo-monero
f3c0d4f9df
protocol: remove unused (and cunningly uninitialized) field
4 years ago
moneromooo-monero
8e62362cd3
p2p: ifx getting seed nodes for uncommon cases
...
The code is technically correct, but liable to easily become incorrect with changes
4 years ago
moneromooo-monero
9de3787c47
daemon: the ban command can now load IPs from a file (ban @filename)
4 years ago
moneromooo-monero
68637bca3f
p2p: remove peers from grey and anchors lists when blocked
4 years ago
moneromooo-monero
58651d16c0
p2p: ignore incoming peer list entries when we have them blocked
4 years ago
luigi1111
e5decd0cde
Merge pull request #7130
...
543733d
protocol: include first new block in chain entry response (moneromooo-monero)
4 years ago
luigi1111
a57c95b2f1
Merge pull request #7127
...
5d1849a
protocol: stricter checks on received chain hash list (moneromooo)
4 years ago
moneromooo-monero
543733d42c
protocol: include first new block in chain entry response
4 years ago