bsc/les
Martin Holst Swende cdfe9a3a2a eth, les: add sanity checks for unbounded block fields (#19573)
This PR adds some hardening in the lower levels of the protocol stack, to bail early on invalid data. Primarily, attacks that this PR protects against are on the "annoyance"-level, which would otherwise write a couple of megabytes of data into the log output, which is a bit resource intensive.
2019-07-08 11:42:22 +02:00
..
flowcontrol les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
api_backend.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
api_test.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
api.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
backend.go cmd, eth, les, param: drop --override.constantinople 2019-07-02 14:14:59 +03:00
benchmark.go les, light: remove support for les/1 4096 block CHT sections 2019-04-08 13:17:24 +02:00
bloombits.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
checkpointoracle.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
commons.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
costtracker.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
distributor_test.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
distributor.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
execqueue_test.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
execqueue.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
fetcher_test.go les: remove redundant type specifiers (#19091) 2019-02-25 12:49:49 +02:00
fetcher.go les: avoid fetcher deadlock on requestChn (#19571) 2019-05-17 20:39:39 +02:00
freeclient_test.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
freeclient.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
handler_test.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
handler.go eth, les: add sanity checks for unbounded block fields (#19573) 2019-07-08 11:42:22 +02:00
helper_test.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
metrics.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
odr_requests.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
odr_test.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
odr.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
peer_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
peer.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
protocol.go eth, les: add sanity checks for unbounded block fields (#19573) 2019-07-08 11:42:22 +02:00
randselect_test.go all: gofmt -w -s 2017-01-06 15:52:03 +01:00
randselect.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
request_test.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
retrieve.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
server.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
serverpool.go p2p/enode: improve IPv6 support, add ENR text representation (#19663) 2019-06-07 15:31:00 +02:00
servingqueue.go les: remove half-finished priority pool APIs (#19780) 2019-07-03 21:23:06 +03:00
sync_test.go accounts, cmd, contracts, les: integrate clef for transaction signing (#19783) 2019-07-03 22:54:59 +03:00
sync.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
txrelay.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
ulc_test.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
ulc.go p2p/enode: improve IPv6 support, add ENR text representation (#19663) 2019-06-07 15:31:00 +02:00