dcrd/internal
Dave Collins 611e50a698
rpcserver: Impose additional read limits.
This imposes additional per-connection read limits on the RPC server to
help further harden it against potential abuse in non-standard
configurations on poorly-configured networks.

In practice, these changes will not have any noticeable effect for the
vast majority of nodes since the RPC server is not publicly accessible
by default and requires authentication.

Nevertheless, it can still be useful to apply additional read limits for
scenarios such as authenticated fuzz testing and poorly-configured
networks that have disabled all other security measures.

The following are the updated per-connection limits:

- 0 B / 8 MiB for pre and post auth HTTP connections
- 4 KiB / 16 MiB for pre and post auth websocket connections
2021-06-30 12:38:36 -05:00
..
fees fees: Remove deprecated DisableLog. 2020-12-28 13:13:47 -06:00
limits multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
mempool txscript: Split signing code to sign subpackage. 2021-05-07 13:19:00 -05:00
mining txscript: Split signing code to sign subpackage. 2021-05-07 13:19:00 -05:00
netsync netsync: Use an APBF for recently rejected txns. 2021-02-13 01:41:27 -06:00
progresslog multi: Add chain verify progress percentage. 2021-01-21 23:30:35 -06:00
rpcserver rpcserver: Impose additional read limits. 2021-06-30 12:38:36 -05:00
staging/stdscript stdscript: Add README.md. 2021-06-08 12:20:55 -05:00
version version: Rework to support single version override. 2021-05-14 04:15:56 -05:00