Files
coredns/plugin
Ville Vesilehto 0d8cbb1a6b Merge commit from fork
Add configurable resource limits to prevent potential DoS vectors
via connection/stream exhaustion on gRPC, HTTPS, and HTTPS/3 servers.

New configuration plugins:
- grpc_server: configure max_streams, max_connections
- https: configure max_connections
- https3: configure max_streams

Changes:
- Use netutil.LimitListener for connection limiting
- Use gRPC MaxConcurrentStreams and message size limits
- Add QUIC MaxIncomingStreams for HTTPS/3 stream limiting
- Set secure defaults: 256 max streams, 200 max connections
- Setting any limit to 0 means unbounded/fallback to previous impl

Defaults are applied automatically when plugins are omitted from
config.

Includes tests and integration tests.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-12-17 19:08:59 -08:00
..
2025-12-09 18:17:07 -08:00
2025-12-17 19:08:59 -08:00
2025-09-10 13:08:27 -07:00
2025-09-10 13:08:27 -07:00
2025-09-10 13:08:27 -07:00
2025-09-12 14:43:56 -07:00
2025-12-17 19:08:59 -08:00
2025-09-01 18:05:15 -07:00
2025-12-17 19:08:59 -08:00
2025-12-17 19:08:59 -08:00
2020-11-05 15:02:07 +01:00
2025-09-10 13:08:27 -07:00
2025-09-21 08:17:35 -07:00
2024-03-07 14:24:38 -05:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2020-09-24 18:14:41 +02:00