mirror of
https://github.com/coredns/coredns.git
synced 2025-12-19 16:45:11 -05:00
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>
66 lines
2.7 KiB
Go
66 lines
2.7 KiB
Go
// generated by directives_generate.go; DO NOT EDIT
|
|
|
|
package plugin
|
|
|
|
import (
|
|
// Include all plugins.
|
|
_ "github.com/coredns/caddy/onevent"
|
|
_ "github.com/coredns/coredns/plugin/acl"
|
|
_ "github.com/coredns/coredns/plugin/any"
|
|
_ "github.com/coredns/coredns/plugin/auto"
|
|
_ "github.com/coredns/coredns/plugin/autopath"
|
|
_ "github.com/coredns/coredns/plugin/azure"
|
|
_ "github.com/coredns/coredns/plugin/bind"
|
|
_ "github.com/coredns/coredns/plugin/bufsize"
|
|
_ "github.com/coredns/coredns/plugin/cache"
|
|
_ "github.com/coredns/coredns/plugin/cancel"
|
|
_ "github.com/coredns/coredns/plugin/chaos"
|
|
_ "github.com/coredns/coredns/plugin/clouddns"
|
|
_ "github.com/coredns/coredns/plugin/debug"
|
|
_ "github.com/coredns/coredns/plugin/dns64"
|
|
_ "github.com/coredns/coredns/plugin/dnssec"
|
|
_ "github.com/coredns/coredns/plugin/dnstap"
|
|
_ "github.com/coredns/coredns/plugin/erratic"
|
|
_ "github.com/coredns/coredns/plugin/errors"
|
|
_ "github.com/coredns/coredns/plugin/etcd"
|
|
_ "github.com/coredns/coredns/plugin/file"
|
|
_ "github.com/coredns/coredns/plugin/forward"
|
|
_ "github.com/coredns/coredns/plugin/geoip"
|
|
_ "github.com/coredns/coredns/plugin/grpc"
|
|
_ "github.com/coredns/coredns/plugin/grpc_server"
|
|
_ "github.com/coredns/coredns/plugin/header"
|
|
_ "github.com/coredns/coredns/plugin/health"
|
|
_ "github.com/coredns/coredns/plugin/hosts"
|
|
_ "github.com/coredns/coredns/plugin/https"
|
|
_ "github.com/coredns/coredns/plugin/https3"
|
|
_ "github.com/coredns/coredns/plugin/k8s_external"
|
|
_ "github.com/coredns/coredns/plugin/kubernetes"
|
|
_ "github.com/coredns/coredns/plugin/loadbalance"
|
|
_ "github.com/coredns/coredns/plugin/local"
|
|
_ "github.com/coredns/coredns/plugin/log"
|
|
_ "github.com/coredns/coredns/plugin/loop"
|
|
_ "github.com/coredns/coredns/plugin/metadata"
|
|
_ "github.com/coredns/coredns/plugin/metrics"
|
|
_ "github.com/coredns/coredns/plugin/minimal"
|
|
_ "github.com/coredns/coredns/plugin/multisocket"
|
|
_ "github.com/coredns/coredns/plugin/nomad"
|
|
_ "github.com/coredns/coredns/plugin/nsid"
|
|
_ "github.com/coredns/coredns/plugin/pprof"
|
|
_ "github.com/coredns/coredns/plugin/quic"
|
|
_ "github.com/coredns/coredns/plugin/ready"
|
|
_ "github.com/coredns/coredns/plugin/reload"
|
|
_ "github.com/coredns/coredns/plugin/rewrite"
|
|
_ "github.com/coredns/coredns/plugin/root"
|
|
_ "github.com/coredns/coredns/plugin/route53"
|
|
_ "github.com/coredns/coredns/plugin/secondary"
|
|
_ "github.com/coredns/coredns/plugin/sign"
|
|
_ "github.com/coredns/coredns/plugin/template"
|
|
_ "github.com/coredns/coredns/plugin/timeouts"
|
|
_ "github.com/coredns/coredns/plugin/tls"
|
|
_ "github.com/coredns/coredns/plugin/trace"
|
|
_ "github.com/coredns/coredns/plugin/transfer"
|
|
_ "github.com/coredns/coredns/plugin/tsig"
|
|
_ "github.com/coredns/coredns/plugin/view"
|
|
_ "github.com/coredns/coredns/plugin/whoami"
|
|
)
|