property
quic.EndpointOptions.blockListPolicy
blockListPolicy?: 'deny' | 'allow'
Controls how the endpointOptions.blockList is interpreted:
'deny'— Packets from addresses matching the block list are dropped. All other addresses are accepted. This is the typical blocklist mode.'allow'— Only packets from addresses matching the block list are accepted. All other addresses are dropped. This is an allowlist mode for restricting access to known clients.
If no block list is configured, this option has no effect.