moneromooo-monero
5d2dd7a328
epee: also limit number of strings in portable_storage
...
They require at least 24 bytes
2021-01-05 17:56:11 +00:00
Alexander Blair
f3de67bc21
Merge pull request #7269
...
1128146c4
blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
2021-01-03 18:29:39 -08:00
Alexander Blair
51057105b9
Merge pull request #7264
...
31b2572ec
build: prepare v0.17.1.9 (selsta)
2021-01-03 18:29:19 -08:00
Alexander Blair
54cf799f0f
Merge pull request #7262
...
0add7ec1c
portable_storage: better sanity checking (moneromooo-monero)
2021-01-03 18:28:50 -08:00
moneromooo-monero
3c7eec152c
add a max levin packet size by command type
2021-01-03 14:07:58 +00:00
moneromooo-monero
1128146c49
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
2021-01-02 22:20:24 +00:00
moneromooo-monero
c2295f55b8
protocol: handle receiving a block hash we've not added yet
2021-01-02 22:10:44 +00:00
selsta
31b2572ec7
build: prepare v0.17.1.9
2021-01-02 18:13:47 +01:00
moneromooo-monero
0add7ec1cd
portable_storage: better sanity checking
2021-01-02 12:36:42 +00:00
Alexander Blair
2107337999
Merge pull request #7251
...
f0b867b13
Restrict duplicate keys in epee binary format (Lee Clagett)
2021-01-01 22:44:24 -08:00
Alexander Blair
f4e34d50cf
Merge pull request #7249
...
cb296b39b
portable_storage: forbid unnamed sections (xiphon)
2021-01-01 22:44:02 -08:00
Alexander Blair
a4ffad75ac
Merge pull request #7247
...
57f7c2e53
protocol: more sanity checks in new chain block hashes (moneromooo-monero)
2021-01-01 22:43:46 -08:00
Alexander Blair
024783f73a
Merge pull request #7244
...
531069859
portable_storage: check object limit where appropriate (moneromooo)
2021-01-01 22:42:43 -08:00
Alexander Blair
db686707cb
Merge pull request #7239
...
e685f52e2
p2p: fix deadlock banning while updating peer lists (moneromooo)
2021-01-01 22:42:17 -08:00
Alexander Blair
5767e6db90
Merge pull request #7235
...
00253b717
protocol: don't reset last request time on an idle timer (moneromooo-monero)
2021-01-01 22:41:54 -08:00
xiphon
cb296b39bd
portable_storage: forbid unnamed sections
2021-01-01 02:06:39 +01:00
moneromooo-monero
57f7c2e53f
protocol: more sanity checks in new chain block hashes
2020-12-31 23:34:26 +00:00
moneromooo
531069859f
portable_storage: check object limit where appropriate
...
also fix pedantic off by one in check
2020-12-31 22:35:32 +00:00
binaryFate
00b3502749
Merge pull request #7228 from vtnerd/fix/p2p_memory_usage_017
...
Add aggressive restrictions to pre-handshake p2p buffer limit
2020-12-31 21:35:00 +01:00
moneromooo
e685f52e25
p2p: fix deadlock banning while updating peer lists
2020-12-31 03:15:11 +00:00
moneromooo-monero
00253b717c
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
2020-12-30 14:21:57 +00:00
Lee Clagett
7d67a2dde0
Add aggressive restrictions to pre-handshake p2p buffer limit
2020-12-29 19:58:53 -05:00
Alexander Blair
36dfd41e01
Merge pull request #7222
...
218a10967
rpc: limit the number of txes for get_blocks.bin (moneromooo-monero)
2020-12-29 10:48:05 -08:00
Alexander Blair
bcd7f63a54
Merge pull request #7219
...
b39ee13d7
portable_storage: remove array element limit (moneromooo-monero)
2020-12-29 10:45:46 -08:00
Alexander Blair
3a477a54a2
Merge pull request #7208
...
b8bc4d77b
ssl: buffered handshake detection (anon)
2020-12-29 10:45:03 -08:00
moneromooo-monero
218a109677
rpc: limit the number of txes for get_blocks.bin
2020-12-29 04:32:33 +00:00
anon
b8bc4d77b7
ssl: buffered handshake detection
2020-12-28 22:21:17 +01:00
moneromooo-monero
b39ee13d70
portable_storage: remove array element limit
...
some people don't want it
2020-12-28 21:05:12 +00:00
Alexander Blair
a99d6e56b6
Merge pull request #7193
...
31ae533d6
epee: fix some issues using connections after shutdown (moneromooo-monero)
2020-12-28 11:49:42 -08:00
Alexander Blair
5804add75b
Merge pull request #7206
...
8c8f3d73b
protocol: fix false positives dropping peers (moneromooo-monero)
2020-12-28 11:40:26 -08:00
Alexander Blair
75e9e7b39a
Merge pull request #7203
...
0fc927dfb
portable_storage: remove overly aggressive cutoff (moneromooo-monero)
2020-12-28 11:40:15 -08:00
Alexander Blair
a87eca5e7d
Merge pull request #7197
...
0443cccb5
cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
2020-12-28 11:39:58 -08:00
moneromooo-monero
8c8f3d73b5
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
2020-12-27 14:42:59 +00:00
moneromooo-monero
0fc927dfba
portable_storage: remove overly aggressive cutoff
2020-12-27 12:45:13 +00:00
Alexander Blair
d3e582e517
Merge pull request #7198
...
e42bb297b
Revert "Reject existing claimed blocks in sync mode" (luigi1111)
2020-12-26 21:25:52 -08:00
luigi1111
e42bb297b8
Revert "Reject existing claimed blocks in sync mode"
2020-12-27 00:16:56 -05:00
moneromooo-monero
0443cccb5d
cryptonote_basic: guess what got lost porting patches to branches again
2020-12-26 23:44:34 +00:00
Alexander Blair
b42d08995e
Merge pull request #7191
...
d5be31ee2
portable_storage: add some sanity checks on data size (moneromooo-monero)
2020-12-26 14:14:31 -08:00
Alexander Blair
138092ddc9
Merge pull request #7189
...
adcbcd8f8
protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
2020-12-26 14:14:16 -08:00
Alexander Blair
4ddde36c50
Merge pull request #7183
...
ba60541f3
build: prepare v0.17.1.8 (selsta)
2020-12-26 14:00:06 -08:00
Alexander Blair
0873f3193a
Merge pull request #7181
...
e35bbb1e8
ban lists may now include subnets (moneromooo-monero)
2020-12-26 13:59:51 -08:00
Alexander Blair
cbeaeb904b
Merge pull request #7174
...
5c3e84b6a
restrict public node checks a little (moneromooo-monero)
2020-12-26 13:59:09 -08:00
Alexander Blair
355be543c7
Merge pull request #7161
...
07b50c42d
rpc: get_info - add 'synchronized' field (xiphon)
2020-12-26 13:58:19 -08:00
Alexander Blair
6cea8ca895
Merge pull request #7155
...
42ee30929
protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
a436c3625
protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
2020-12-26 13:58:06 -08:00
Alexander Blair
e08d37fc7b
Merge pull request #7146
...
3bb748ad9
p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
2020-12-26 13:57:54 -08:00
Alexander Blair
1c14b7b3b2
Merge pull request #7139
...
fb9ef2426
Optional DNS based blocklist (moneromooo-monero)
2020-12-26 13:57:25 -08:00
moneromooo-monero
31ae533d6d
epee: fix some issues using connections after shutdown
2020-12-26 14:15:12 +00:00
moneromooo-monero
d5be31ee21
portable_storage: add some sanity checks on data size
...
especially when allocated size is >> serialized data size
2020-12-26 03:23:12 +00:00
moneromooo-monero
adcbcd8f8b
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
2020-12-25 20:31:23 +00:00
Lee Clagett
ba3c627c57
Command max_bytes moved from dynamic map to static switch
2020-12-23 23:53:27 +00:00