ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Security

Description

The guards over the proxy's data plane, gathered as one import for the fetch and serve layers that compose them at the boundary.

Each child owns its own contract: where the proxy may fetch in Ecluse.Core.Security.Host, the authority those gates compare in Ecluse.Core.Security.Authority, and what an upstream response may cost in Ecluse.Core.Security.Limits.

Synopsis

Documentation

parseIpLiteral :: Text -> Maybe IpAddr Source #

Parse a host as an IP literal, or Nothing for a DNS name the host allowlist still constrains: a short inet_aton form (2130706433, 127.1), a bad octet, or a zone id.