Skip to main content

classify_host

Function classify_host 

Source
pub async fn classify_host(
    host: &str,
    session: &WebFetchSessionConfig,
) -> SsrfDecision
Expand description

Resolve the host and run the IP classifier against each result. Returns Blocked if any resolved IP lands in a range not opted into.